[BK PATCHES] 2.6.x experimental net driver updates

From: Jeff Garzik
Date: Tue Dec 16 2003 - 01:35:40 EST



Another edition of net driver updates.

Summary of new changes:
* revert skfddi janitorial patches. no skfddi changes are included in this patchkit anymore. Stephen Hemminger has a much better skfddi patch which obsoleted the already-merged skfddi changes.
* atmel wireless SKB leak fix
* 3c574_cs deadlock fix
* bonding destruction fix
* more work from Al making net_device allocation dynamic and sane (including fast, const-offset private structure allocation for drivers)
* sk98lin update from vendor
* TG3 update from DaveM
* new pc200syn WAN driver from WAN maintainer Krzysztof Halasa
* r8169 fixes from Francois Romieu


Summary of patchkit:
* new e100 driver (rewritten from scratch)
* new nVidia nForce NIC driver
* new pc200syn WAN driver

* tg3 bug fixes
* r8169 major bug fixes
* e1000 minor updates / fixes
* sk98lin vendor updates / fixes
* misc bug fixes

* 8139too NAPI support
* tulip NAPI support

* netconsole / netdump support
* net_device allocation and reference counting work


Patch:
http://www.kernel.org/pub/linux/kernel/people/jgarzik/patchkits/2.6/2.6.0-test11-bk11-netdrvr-exp1.patch.bz2

Full changelog:
http://www.kernel.org/pub/linux/kernel/people/jgarzik/patchkits/2.6/2.6.0-test11-bk11-netdrvr-exp1.log

BK repo:
bk://gkernel.bkbits.net/net-drivers-2.5-exp

Changelog delta attached.

ChangeSet@xxxxxx, 2003-12-16 01:13:32-05:00, jgarzik@xxxxxxxxxx
Cset exclude: shemminger@xxxxxxxx|ChangeSet|20031029195339|20158

Revert more skfddi stuff... better patch coming.

ChangeSet@xxxxxx, 2003-12-16 00:57:23-05:00, scott.feldman@xxxxxxxxx
[PATCH] ICH6 IDs + ia64 memcpy fix + module_param

* Add ICH6 device IDs. Devices funcionally equivalent to supported ICH5
devices, but new IDs.
* Fixed unaligned access to casted skb->data (Matt Willcox
[willy@xxxxxxxxxx]).
* MODULE_PARM -> module_param
* Bug printk after register_netdev to identify nic details.
* misc cleanups.

ChangeSet@xxxxxxxxxxx, 2003-12-16 00:56:37-05:00, dtor_core@xxxxxxxxxxxxx
[PATCH] Fwd: Re: Atmel - possible SKB leak?

Jeff,

Atmel driver in 2.6.0-test11 is leaking SKBs if card gets disassociated
from an AP when it's about to transfer packet. Simon (atmel maintainer)
is OK with the patch. Given the fact that we are leaking memory I think
it may be beneficial to push it to Linus (if you like the patch).

Dmitry

===================================================================


ChangeSet@xxxxxx, 2003-12-11 01:44:56-05:00, dtor_core@xxxxxxxxxxxxx
NET: atmel - do not leak SKBs when dropping packets


atmel.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)


===================================================================

ChangeSet@xxxxxxxxxxx, 2003-12-16 00:52:31-05:00, akpm@xxxxxxxx
[PATCH] Re: Deadlock in 3c574_cs.c (fwd)

Patch looks fine to me, thanks. I've queued up the below.


From: Ville Nuorvala <vnuorval@xxxxxxxxxx>

I've experienced random lockups witch become almost certain under heavy
loads, like when doing ping6 -f. The culprit seems to be the 3c574_cs
driver, which locks lp->window_lock twice when calling update_stats() from
el3_interrupt().



drivers/net/pcmcia/3c574_cs.c | 15 +++++++++------
1 files changed, 9 insertions(+), 6 deletions(-)

ChangeSet@xxxxxx, 2003-12-16 00:47:59-05:00, jgarzik@xxxxxxxxxx
Cset exclude: felipewd@xxxxxxxxxxxx|ChangeSet|20031014182245|09592

Revert skfddi request_region patch... better patch coming.

ChangeSet@xxxxxx, 2003-12-16 00:25:32-05:00, viro@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[netdrvr axnet_cs] use embedded private struct

ChangeSet@xxxxxx, 2003-12-16 00:23:22-05:00, viro@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[NET] s/kfree/free_netdev/ in bridge driver

ChangeSet@xxxxxxxxxxx, 2003-12-16 00:16:23-05:00, viro@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[netdrvr bonding] use destructor to properly free net device

(required because of driver's use of rtnl_lock/unlock)

ChangeSet@xxxxxx, 2003-12-16 00:14:52-05:00, viro@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[netdrvr 8390] convert 8390 lib to use const-offset priv struct

ChangeSet@xxxxxx, 2003-12-16 00:14:01-05:00, viro@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[netdrvr pcnet_cs] alloc_ei_netdev-associated cleanups

Create __alloc_ei_netdev() helper, which takes a size argument for
allocation of driver-private structures.

Use __alloc_ei_netdev in pcnet_cs, for embedded priv struct.

ChangeSet@xxxxxx, 2003-12-16 00:10:35-05:00, viro@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[netdrvr smc-mca] alloc_ei_netdev(), other fixes

Move all initialization between alloc_ei_netdev() and register_netdev(),
and fix bugs on error paths. Also s/kfree/free_netdev/

ChangeSet@xxxxxx, 2003-12-16 00:08:57-05:00, viro@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[netdrvr] convert most 8390 drivers to using alloc_ei_netdev()

ChangeSet@xxxxxx, 2003-12-16 00:03:04-05:00, viro@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[wireless wl3501_cs] remove unused constructor

ChangeSet@xxxxxx, 2003-12-16 00:02:37-05:00, viro@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[netdrvr] s/kfree/free_netdev/ where appropriate

Affected drivers: ixgb, sk98lin, ibmtr, airport, orinoco, wl3501_cs

ChangeSet@xxxxxx, 2003-12-15 23:55:18-05:00, mlindner@xxxxxxxxxxxxx
[PATCH] sk98lin-2.6: pci.ids Update to Driver Version v6.21

Patch 4/4 (Update to version 6.21)
* Add: Update of the Vendors list

ChangeSet@xxxxxx, 2003-12-15 23:54:52-05:00, mlindner@xxxxxxxxxxxxx
[PATCH] sk98lin-2.6: Kconfig Update to Driver Version v6.21

Patch 3/4 (Update to version 6.21)
* Add: Update of the Vendors list

ChangeSet@xxxxxx, 2003-12-15 23:54:31-05:00, mlindner@xxxxxxxxxxxxx
[PATCH] sk98lin-2.6: Readme Update to Driver Version v6.21

Patch 2/4 (Update to version 6.21)
* Fix: Readme changes

ChangeSet@xxxxxx, 2003-12-15 23:54:21-05:00, mlindner@xxxxxxxxxxxxx
[PATCH] sk98lin-2.6: Kernel Update to Driver Version v6.21

Patch 1/4 (Update to version 6.21)
* Add: Common module update
* Add: New function for PCI initialization (SkGeInitPCI)
* Add: Yukon Plus changes (ChipID, PCI...)
* Add: Code for DIAG tool
* Fix: Problems while unloading the linux driver
* Fix: PrefPort=B not allowed on single NICs
* Fix: Fixed Linux System crash when using vlans
* Fix: Remove useless register_netdev
* Fix: Initalize Board before network configuration
* Fix: Modifications regarding try_module_get() and capable()

ChangeSet@xxxxxxxxxxx, 2003-12-08 21:54:23-08:00, xose@xxxxxxxxxx
[TG3]: Add new device IDs.

ChangeSet@xxxxxx, 2003-12-07 19:17:51-05:00, khc@xxxxxxxxx
[wan] add new pc200syn driver

ChangeSet@xxxxxx, 2003-12-07 19:00:04-05:00, romieu@xxxxxxxxxxxxx
[netdrvr r8169] Stats fix (Fernando Alencar Marótica <famarost@xxxxxxxxx>).

ChangeSet@xxxxxx, 2003-12-07 18:59:29-05:00, romieu@xxxxxxxxxxxxx
[netdrvr r8169] Endianness update (original idea from Alexandra N. Kossovsky):
- descriptors status (bitfields enumerated as _DescStatusBit);
- address of buffers stored in Rx/Tx descriptors.

ChangeSet@xxxxxxxxxxx, 2003-12-02 19:42:50-08:00, davem@xxxxxxxxxxxxxx
[TG3]: Update to latest non-5705 TSO firmware.

ChangeSet@xxxxxxxxxxx, 2003-12-02 02:35:21-08:00, davem@xxxxxxxxxxxxxx
[TG3]: Update version and release date.

ChangeSet@xxxxxxxxxxx, 2003-12-02 02:34:45-08:00, davem@xxxxxxxxxxxxxx
[TG3]: Clear on-chip stats/status block after resetting flow-through queues.

On systems where the config cycles might take a long time, we
can end up with the ASF firmware using the FTQs before we get
to resetting them.

ChangeSet@xxxxxxxxxxx, 2003-12-02 02:34:13-08:00, davem@xxxxxxxxxxxxxx
[TG3]: Do not set RX_MODE_KEEP_VLAN_TAG when ASF is enabled.

ChangeSet@xxxxxxxxxxx, 2003-12-02 02:33:45-08:00, davem@xxxxxxxxxxxxxx
[TG3]: Do not drop existing GRC_MODE_HOST_STACKUP when writing to GRC_MODE.