[bk patches] 2.5.x net driver queue

From: Jeff Garzik
Date: Tue Aug 26 2003 - 17:49:42 EST



BK users:

bk pull bk://kernel.bkbits.net/jgarzik/net-drivers-2.6

Patch users:

ftp://ftp.kernel.org/pub/linux/kernel/people/jgarzik/patchkits/2.6/2.6.0-test4-bk2-netdrvr1.patch.bz2

This will update the following files:

drivers/net/3c501.c | 91 +-------
drivers/net/3c501.h | 2
drivers/net/3c503.c | 71 ------
drivers/net/3c505.c | 96 +-------
drivers/net/3c507.c | 97 +-------
drivers/net/3c515.c | 94 +-------
drivers/net/3c523.c | 73 ------
drivers/net/3c527.c | 94 +-------
drivers/net/3c59x.c | 47 +---
drivers/net/8139cp.c | 444 +++++++++++++++-------------------------
drivers/net/Kconfig | 2
drivers/net/pcmcia/3c574_cs.c | 28 --
drivers/net/pcmcia/3c589_cs.c | 81 +------
drivers/net/pcmcia/axnet_cs.c | 28 --
drivers/net/pcmcia/fmvj18x_cs.c | 75 +-----
drivers/net/pcmcia/ibmtr_cs.c | 35 ---
drivers/net/pcmcia/nmclan_cs.c | 77 ++----
drivers/net/pcmcia/pcnet_cs.c | 41 ---
drivers/net/pcmcia/xirc2ps_cs.c | 28 --
drivers/net/sis190.c | 157 +++++++-------
drivers/net/sis900.c | 43 +--
drivers/net/tulip/dmfe.c | 62 +----
drivers/net/tulip/xircom_cb.c | 38 ---
drivers/net/wireless/ray_cs.c | 32 --
24 files changed, 559 insertions(+), 1277 deletions(-)

through these ChangeSets:

<romieu@xxxxxxxxxxxxx> (03/08/26 1.1306)
[netdrvr sis190] remove unneeded alignment code, other small fixes

Driver does not need to enforce 256 byte alignment for data returned
from pci_alloc_consistent().
- {rx/tx}_dma_aligned and {rx/td}_dma_raw are both replaced by {rx/tx}_dma;
- {rx/tx}_desc_raw is replaced by direct use of {Rx/Tx}DescArray;
- SiS190_open()
+ fixup for a lack of kmalloc() failure handling;
+ (return status) there is no need for both retval/rc: merge them;
+ anonymous printk() fixup: the name of the guilty device is printed;
- define {RX/TX}_DESC_TOTAL_SIZE because I am too lazy to read twice the
same lengthy arithmetic expression.



<jgarzik@xxxxxxxxxx> (03/08/26 1.1305)
[wireless ray_cs] ethtool_ops support

<jgarzik@xxxxxxxxxx> (03/08/26 1.1304)
[netdrvr xircom_cb] ethtool_ops support

Also, export PCI bus id via ETHTOOL_GDRVINFO.

<jgarzik@xxxxxxxxxx> (03/08/26 1.1303)
[netdrvr pcmcia] convert several drivers to ethtool_ops

Drivers updated: fmvj18x_cs, ibmtr_cs, nmclan_cs, pcnet_cs,
xirc2ps_cs.

<jgarzik@xxxxxxxxxx> (03/08/26 1.1302)
[netdrvr pcmcia] ethtool_ops for 3c574, 3c589, axnet

<jgarzik@xxxxxxxxxx> (03/08/26 1.1301)
[netdrvr] ethtool_ops support for 3c515, 3c523, 3c527, and dmfe

<jgarzik@xxxxxxxxxx> (03/08/26 1.1300)
[netdrvr] ethtool_ops support in 3c503, 3c505, 3c507

<jgarzik@xxxxxxxxxx> (03/08/26 1.1299)
[netdrvr 3c501] ethtool_ops support

<jgarzik@xxxxxxxxxx> (03/08/26 1.1298)
[netdrvr sis190] make driver depend on CONFIG_BROKEN

Until RX path is cleaned up to use PCI DMA API and
not virt_to_bus.

<jgarzik@xxxxxxxxxx> (03/08/26 1.1297)
[netdrvr sis190] convert TX path to use PCI DMA API

Also, minor changes:
* mark ->hard_start_xmit ETH_ZLEN test as unlikely()
* use cpu_to_le32() and le32_to_cpu() in TX path
* fix two leak in error path, in ->hard_start_xmit
* don't test netif_queue_stopped() in TX completion path,
netif_wake_queue() already does that.

<jgarzik@xxxxxxxxxx> (03/08/26 1.1296)
[netdrvr 8139cp] ethtool_ops support

<jgarzik@xxxxxxxxxx> (03/08/26 1.1295)
[netdrvr sis900] ethtool_ops support

<willy@xxxxxxxxxx> (03/08/26 1.1294)
[netdrvr 3c59x] ethtool_ops support

<romieu@xxxxxxxxxxxxx> (03/08/26 1.1293)
[netdrvr sis190] pass irq argument to synchronize_irq()

Looks like this driver wasn't tested on SMP :)

<bunk@xxxxxxxxx> (03/08/26 1.1292)
[netdrvr sis190] fix build with older gcc

older gcc's do not support C99/C++ style of variable declarations.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/