Commit graph android_kernel_sony_sdm845/drivers/net
Message SHA1
[PATCH] skge: handle Tx/Rx arbiter timeout
Need to handle receive and transmit packet arbiter timeouts.
Transmit arbiter timeouts happens when Gigabit sends to 100Mbit port
on same switch and pause occurs.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>

Stephen Hemminger   authored and   Jeff Garzik   commited 2005-06-27 18:05:07 -04:00
d25f5a6774
[PATCH] skge: add PHY related debug messages
Cleanup messages (for debug) about PHY interrrupts, because when
user can't get driver working that is often the problem.
Use a consistent way of enabling interrupts by port.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>

Stephen Hemminger   authored and   Jeff Garzik   commited 2005-06-27 18:05:07 -04:00
7e676d9136
[PATCH] skge: make Genesis/Broadcom code work
Rewrite the code for handling the Broadcom PHY to something that
works. Remove link polling because Broadcom and Yukon don't need it.
When I wrote initial code, didn't have a genesis chipset based
board to test, so it was a non-working guess.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>

Stephen Hemminger   authored and   Jeff Garzik   commited 2005-06-27 18:05:06 -04:00
45bada65c2
[PATCH] skge: cleanup ethtool mode support
Unify mapping of supported modes based on hardware.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>

Stephen Hemminger   authored and   Jeff Garzik   commited 2005-06-27 18:05:06 -04:00
31b619c5ab
[PATCH] skge: remove XM phy (untested code)
Remove support for the non-Broadcom genesis based boards. The code
is untested, and probably won't work as is. The newer boards are all
Yukon based, and only old Genesis board I can find uses Broadcom.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>

Stephen Hemminger   authored and   Jeff Garzik   commited 2005-06-27 18:05:06 -04:00
89bf5f231f
[PATCH] skge: remove Yukon2 related special cases
Remove the bits and pieces added relating to Yukon II chipset.
The Yukon 2 will be in a separate driver.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>

Stephen Hemminger   authored and   Jeff Garzik   commited 2005-06-27 18:05:06 -04:00
c506a50902
[PATCH] skge: remove unused declarations
Get rid of definitions for chip versions and PHY chips that
this driver does not support.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>

Stephen Hemminger   authored and   Jeff Garzik   commited 2005-06-27 18:05:06 -04:00
b18f2091bc
[PATCH] skge: eliminate Yukon2 hooks
The Yukon chips don't support TSO, and Yukon2 will be a separate driver.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>

Stephen Hemminger   authored and   Jeff Garzik   commited 2005-06-27 18:05:05 -04:00
4707953454
[PATCH] skge: replace chip_rev() accessor
Replace inline accessor functions for chip revision and number of ports
with simple structure members.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>

Stephen Hemminger   authored and   Jeff Garzik   commited 2005-06-27 18:05:05 -04:00
981d0377d9
[PATCH] skge: use pci_read_config_word
Rather than accessing PCI config space through MMIO space, use the
standard PCI functions.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>

Stephen Hemminger   authored and   Jeff Garzik   commited 2005-06-27 18:05:05 -04:00
467b3417f9
[PATCH] skge: function amd macro name change
The inlines and macro's needed some cleanup's and fixes:
 * change name of macro SKGEMAC_REG to SK_REG to better reflect usage
   and fix comments
 * ditto for SK_GEXM_REG -> SK_XMAC_REG and SKGEGMA_REG -> SK_GMA_REG

 * change skge_gm_ to just gm_ since it is just a local function and long
   names look ugly.
 * change skge_xm_ to just xm_
 * fix xm_write32 to write as two u16's with correct byte order
 * fix xm_outaddr to correctly use offset

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>

Stephen Hemminger   authored and   Jeff Garzik   commited 2005-06-27 18:05:05 -04:00
6b0c148049
[PATCH] skge: PCI_DEVICE() macro
Use PCI_DEVICE() macro.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>

Stephen Hemminger   authored and   Jeff Garzik   commited 2005-06-27 18:05:05 -04:00
275834d109
[PATCH] skge: whietspace cleanup
Cleanup whitespace around if() and switch() and end of lines

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>

Stephen Hemminger   authored and   Jeff Garzik   commited 2005-06-27 18:05:05 -04:00
955660652a
[PATCH] b44: check link state during open
Check the link state during b44_open.  This closes a 1 HZ window
that existed after b44_open ran but before the b44_timer handler ran,
during which ethtool would report "Link detected: yes" no matter what
the link state actually was.

Signed-off-by: John W. Linville <linville@tuxdriver.com>

John W. Linville   authored and   Jeff Garzik   commited 2005-06-27 00:46:40 -04:00
e254e9bff5
[PATCH] fix tulip suspend/resume #2
This patch allows the tulip driver to suspend and resume properly.  It was
originally written by Karsten Keil and then modified by Adam Belay.

Signed-off-by: Karsten Keil <kkeil@suse.de>
Signed-off-by: Adam Belay <abelay@novell.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>

Adam Belay   authored and   Jeff Garzik   commited 2005-06-27 00:46:40 -04:00
1fe2cb3276
[PATCH] uninitialized variable in prism54 isl38xx_trigger_device
drivers/net/wireless/prism54/isl_38xx.c:131: warning: 'current_time.tv_sec' is used uninitialized in this function
drivers/net/wireless/prism54/isl_38xx.c:131: warning: 'current_time.tv_usec' is used uninitialized in this function

Signed-off-by: Olaf Hering <olh@suse.de>

Olaf Hering   authored and   Jeff Garzik   commited 2005-06-27 00:44:48 -04:00
05ab195c98
[PATCH] 3c523: needs a license
Module needs a license to prevent kernel tainting.

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>

diffstat:=
 drivers/net/3c523.c |    1 +
 1 files changed, 1 insertion(+)

Randy Dunlap   authored and   Jeff Garzik   commited 2005-06-27 00:41:51 -04:00
7b24017e9b
[PATCH] gianfar: Add support enhanced TSEC features on the MPC 8548
Jeff,

Just incase this got lost in the recent netdev mailing list transition
here is a nicer version of Andy's patch for gianfar.

- kumar

* TCP/IP/UDP checksumming and verification
* VLAN tag insertion/extraction
* Larger multicast hash-table
* Padding to align IP headers

Also added:
* msg lvl support
* Some whitespace cleanup

Signed-off-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: Kumar Gala <kumar.gala@freescale.com>

Kumar Gala   authored and   Jeff Garzik   commited 2005-06-27 00:40:33 -04:00
0bbaf069f0
[PATCH] smc91x: plug race between TX tasklet and driver reset
The race causes a kernel oops when smc_hardware_send_pkt() tries to
dereference pending_tx_skb which would have been freed from one of the
driver reset paths just after the tx_task tasklet has been scheduled.
This race is possible on SMP but was uncovered by the kernel RT work.

Signed-off-by: Nicolas Pitre <nico@cam.org>

Nicolas Pitre   authored and   Jeff Garzik   commited 2005-06-27 00:40:33 -04:00
be83668a25
[PATCH] via-rhine trivial whitespace patch
--Boundary-00=_F5lsC5eH1wGW5o9
Content-Type: text/plain;
  charset="koi8-r"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi Jeff,

In some messages in via-rhine.c there is a leading space
for no apparent reason. This patch removes it.
--
vda

--Boundary-00=_F5lsC5eH1wGW5o9
Content-Type: text/x-diff;
  charset="koi8-r";
  name="via-rhine.c.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="via-rhine.c.diff"

Denis Vlasenko   authored and   Jeff Garzik   commited 2005-06-27 00:40:33 -04:00
ed4030d114
[PATCH] e1000: Driver version, white space, comments & other
Driver version, white space, comments & other

Signed-off-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Signed-off-by: Ganesh Venkatesan <ganesh.venkatesan@intel.com>
Signed-off-by: John Ronciak <john.ronciak@intel.com>

Malli Chilakala   authored and   Jeff Garzik   commited 2005-06-27 00:34:26 -04:00
2b02893ed1
[PATCH] e1000: Included proposals to false late collisions due to H/W latencies
Included proposals to false late collisions due to H/W latencies

Signed-off-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Signed-off-by: Ganesh Venkatesan <ganesh.venkatesan@intel.com>
Signed-off-by: John Ronciak <john.ronciak@intel.com>

Malli Chilakala   authored and   Jeff Garzik   commited 2005-06-27 00:34:26 -04:00
3893d54731
[PATCH] e1000: Ethtool set speed/duplex validates parameters for consistency
Ethtool set speed/duplex validates parameters for consistency

Signed-off-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Signed-off-by: Ganesh Venkatesan <ganesh.venkatesan@intel.com>
Signed-off-by: John Ronciak <john.ronciak@intel.com>

Malli Chilakala   authored and   Jeff Garzik   commited 2005-06-27 00:34:25 -04:00
6921368f64
[PATCH] e1000: Enable ethtool phys_id feature for 82573 controllers
Enable ethtool phys_id feature for 82573 controllers

Signed-off-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Signed-off-by: Ganesh Venkatesan <ganesh.venkatesan@intel.com>
Signed-off-by: John Ronciak <john.ronciak@intel.com>

Malli Chilakala   authored and   Jeff Garzik   commited 2005-06-27 00:34:25 -04:00
d439d4b7ac
[PATCH] e1000: Fixed VLAN tag processing error for big-endian architectures
Fixed VLAN tag processing error for big-endian architectures

Signed-off-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Signed-off-by: Ganesh Venkatesan <ganesh.venkatesan@intel.com>
Signed-off-by: John Ronciak <john.ronciak@intel.com>

Malli Chilakala   authored and   Jeff Garzik   commited 2005-06-27 00:34:25 -04:00
683a38f374
[PATCH] e1000: Ethtool cleanup patch from Stephen Hemminger
Ethtool cleanup patch from Stephen Hemminger
   * use ADVERTISED_xxx fields when setting advertised fields
   * don't hardcode constant for advertised field

Signed-off-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Signed-off-by: Ganesh Venkatesan <ganesh.venkatesan@intel.com>
Signed-off-by: John Ronciak <john.ronciak@intel.com>

Malli Chilakala   authored and   Jeff Garzik   commited 2005-06-27 00:34:25 -04:00
012609a877
[PATCH] e1000: Fixed the loopback test failure for 82573 based adapters
Fixed the loopback test failure for 82573 based adapters

Signed-off-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Signed-off-by: Ganesh Venkatesan <ganesh.venkatesan@intel.com>
Signed-off-by: John Ronciak <john.ronciak@intel.com>

Malli Chilakala   authored and   Jeff Garzik   commited 2005-06-27 00:34:25 -04:00
4564327b46
[PATCH] e1000: Fixed register and loopback test failures with 82573 controllers
Fixed register and loopback test failures with 82573 controllers

Signed-off-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Signed-off-by: Ganesh Venkatesan <ganesh.venkatesan@intel.com>
Signed-off-by: John Ronciak <john.ronciak@intel.com>

Malli Chilakala   authored and   Jeff Garzik   commited 2005-06-27 00:34:25 -04:00
b01f66910b
[PATCH] e1000: Cleanup debug message printed when Tx Unit hang is detected
Cleanup debug message printed when Tx Unit hang is detected

Signed-off-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Signed-off-by: Ganesh Venkatesan <ganesh.venkatesan@intel.com>
Signed-off-by: John Ronciak <john.ronciak@intel.com>

Malli Chilakala   authored and   Jeff Garzik   commited 2005-06-27 00:34:24 -04:00
c6963ef571
[PATCH] e1000: Use netdev_priv() to get to netdev->priv
Use netdev_priv() to get to netdev->priv - from shemminger@osdl.org

Signed-off-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Signed-off-by: Ganesh Venkatesan <ganesh.venkatesan@intel.com>
Signed-off-by: John Ronciak <john.ronciak@intel.com>

Malli Chilakala   authored and   Jeff Garzik   commited 2005-06-27 00:34:24 -04:00
60490fe030
[PATCH] e1000: Use correct WOL settings for 82544 adapters
Use correct WOL settings for 82544 adapters

Signed-off-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Signed-off-by: Ganesh Venkatesan <ganesh.venkatesan@intel.com>
Signed-off-by: John Ronciak <john.ronciak@intel.com>

Malli Chilakala   authored and   Jeff Garzik   commited 2005-06-27 00:34:24 -04:00
70cf362ba9
[PATCH] e1000: Synchronize phy access between stats update and MII_IOCTL
Synchronize phy access between stats update and MII_IOCTL

Signed-off-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Signed-off-by: Ganesh Venkatesan <ganesh.venkatesan@intel.com>
Signed-off-by: John Ronciak <john.ronciak@intel.com>

Malli Chilakala   authored and   Jeff Garzik   commited 2005-06-27 00:34:24 -04:00
97876fc66f
[PATCH] e100: NAPI performance enhancements
NAPI performance enhancements - Fixed issues with shared interrupts and NAPI resulting in bad performance.

Signed-off-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Signed-off-by: Ganesh Venkatesan <ganesh.venkatesan@intel.com>
Signed-off-by: John Ronciak <john.ronciak@intel.com>

Malli Chilakala   authored and   Jeff Garzik   commited 2005-06-27 00:30:23 -04:00
0685c31b58
[PATCH] e100: e100_eeprom_load was called after e100_phy_init
e100_eeprom_load was called after e100_phy_init causing phy_init
not to use values set in EEPROM - from emann@mrv.com

Signed-off-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Signed-off-by: Ganesh Venkatesan <ganesh.venkatesan@intel.com>
Signed-off-by: John Ronciak <john.ronciak@intel.com>

Malli Chilakala   authored and   Jeff Garzik   commited 2005-06-27 00:30:23 -04:00
f92d872876
[PATCH] e100: fixed e100 MDI/MDI-X issues
Added patch from Eran Mann to fix following e100 MDI/MDI-X issues
 * MDI/MDI-X autodetection should never be enabled for 82551ER/QM chips
 * enabling this feature based on eeprom settings

Signed-off-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Signed-off-by: Ganesh Venkatesan <ganesh.venkatesan@intel.com>
Signed-off-by: John Ronciak <john.ronciak@intel.com>

Malli Chilakala   authored and   Jeff Garzik   commited 2005-06-27 00:30:23 -04:00
648951451e
Merge /spare/repo/netdev-2.6/ branch 'orinoco'
Jeff Garzik   commited 2005-06-27 00:27:47 -04:00
9758d0f028
wireless/orinoco: remove changelog, bump version
Jeff Garzik   commited 2005-06-27 00:27:07 -04:00
1a9fe638eb
[PATCH] orinoco: monitor mode support
Patch from Pavel Roskin

Christoph Hellwig   authored and   Jeff Garzik   commited 2005-06-27 00:23:55 -04:00
98c4cae1da
[PATCH] orinoco: always use 802.11 header for rx processing
If the frame has ToDS flag set, mark it by setting skb->pkt_type to
PACKET_OTHERHOST, so that applications unaware of promiscous mode won't get
uplink (STA->AP) packets for STA->STA transmissions relayed by the AP.
Thanks to John Denker and David Gibson for finding the problem and the
solution.

Patch from Pavel Roskin

Christoph Hellwig   authored and   Jeff Garzik   commited 2005-06-27 00:23:55 -04:00
8f2abf4430
[PATCH] orinoco: scanning support
Patch from Pavel Roskin

Christoph Hellwig   authored and   Jeff Garzik   commited 2005-06-27 00:23:55 -04:00
95dd91fbd8
[PATCH] orinoco: manual roaming for Symbol and Intersilfirmware
Patch from Pavel Roskin

Christoph Hellwig   authored and   Jeff Garzik   commited 2005-06-27 00:23:55 -04:00
16739b065f
[PATCH] orinoco: basic ethtool support
I completely reimplemented this based on ethtool_ops, CVS has an
ioctl-based version.

Christoph Hellwig   authored and   Jeff Garzik   commited 2005-06-27 00:23:55 -04:00
1fab2e8b7a
[PATCH] orinoco: wireless API 15 support
(patch from Moustafa Youssef, updated by Jim Carter and Pavel Roskin).

Christoph Hellwig   authored and   Jeff Garzik   commited 2005-06-27 00:23:54 -04:00
620554e406
[PATCH] orinoco: include <net/ieee80211.h>
We need constants from this header in the next patches.

Christoph Hellwig   authored and   Jeff Garzik   commited 2005-06-27 00:23:54 -04:00
5d558b7f36
[PATCH] cs89x0.c: support for Philips' pnx0105 network adapter
This patch is to provide support for cs89x0-based network device on
Philips' pnx0105 board.

Signed-off-by: dmitry pervushin <dpervushin@ru.mvista.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>

dmitry pervushin   authored and   Jeff Garzik   commited 2005-06-27 00:21:03 -04:00
0dd3c78147
[PATCH] drivers/net/skfp/: cleanups
This patch contains the following cleanups:
- make needlessly global code static
- remove the completely unused smtparse.c
- remove the following unused global functions:
  - drvfbi.c: init_dma
  - drvfbi.c: dis_dma
  - drvfbi.c: get_rom_byte
  - drvfbi.c: mac_drv_vpd_read
  - drvfbi.c: mac_drv_pci_fix
  - fplustm.c: mac_set_func_addr
  - fplustm.c: mac_del_multicast
  - hwmtm.c: mac_drv_rx_frag
  - pcmplc.c: pcm_set_lct_short
  - smt.c: smt_please_reconnect
  - smt.c: smt_change_t_neg
  - smtdef.c: smt_set_defaults

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>

Adrian Bunk   authored and   Jeff Garzik   commited 2005-06-27 00:19:53 -04:00
7aa55fcec2
[netdrvr] tulip: add pci id
Hideki Yamane   authored and   Jeff Garzik   commited 2005-06-27 00:18:32 -04:00
9b25978ef8
[PATCH] forcedeth: Add support for new device id
This is a multi-part message in MIME format.

Manfred Spraul   authored and   Jeff Garzik   commited 2005-06-27 00:08:29 -04:00
f49d16ef2d
[PATCH] forcedeth: Poll for link changes
This is a multi-part message in MIME format.

Manfred Spraul   authored and   Jeff Garzik   commited 2005-06-27 00:08:29 -04:00
8f767fc83c
[PATCH] forcedeth: add two new pci ids
This is a multi-part message in MIME format.

Manfred Spraul   authored and   Jeff Garzik   commited 2005-06-27 00:08:28 -04:00
9992d4aa6b