ChangeSet@1.1529, 2003-12-07 19:17:51-05:00, khc@pm.waw.pl [wan] add new pc200syn driver ChangeSet@1.1528, 2003-12-07 19:00:04-05:00, romieu@fr.zoreil.com [netdrvr r8169] Stats fix (Fernando Alencar MarĂ³tica ). ChangeSet@1.1527, 2003-12-07 18:59:29-05:00, romieu@fr.zoreil.com [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@1.1526, 2003-12-07 14:01:09-05:00, jgarzik@redhat.com Merge redhat.com:/spare/repo/net-drivers-2.5 into redhat.com:/spare/repo/net-drivers-2.5-exp ChangeSet@1.1474.1.26, 2003-12-07 13:58:53-05:00, jgarzik@redhat.com Merge redhat.com:/spare/repo/linux-2.5 into redhat.com:/spare/repo/net-drivers-2.5 ChangeSet@1.1525, 2003-12-07 13:50:47-05:00, shemminger@osdl.org [PATCH] pc300 - get rid of MOD_INC/MOD_DEC Remove old style mod inc/dec from this WAN driver. ChangeSet@1.1524, 2003-12-07 13:49:20-05:00, shemminger@osdl.org [PATCH] get rid of MOD INC/DEC for farsync Get rid of leftover MOD INC/DEC in this driver. Ref counting now done by network core. Jeff, please apply to net-drivers-2.5-exp ChangeSet@1.1523, 2003-12-07 13:45:51-05:00, viro@parcelfarce.linux.theplanet.co.uk [atm clip] convert to using alloc_netdev(), const-offset priv ChangeSet@1.1522, 2003-12-07 13:42:37-05:00, viro@parcelfarce.linux.theplanet.co.uk [pcmcia] synclink_cs] convert net_device to dynamic allocation ChangeSet@1.1521, 2003-12-07 13:42:04-05:00, viro@parcelfarce.linux.theplanet.co.uk [char synclinkmp] convert net_device to dynamic allocation ChangeSet@1.1520, 2003-12-07 13:40:52-05:00, viro@parcelfarce.linux.theplanet.co.uk [hamradio dmascc] convert embedded net_device to dynamic allocation ChangeSet@1.1519, 2003-12-07 13:39:29-05:00, viro@parcelfarce.linux.theplanet.co.uk net_device and netdev private struct allocation improvements. 1) Ensure alignment of both net_device and private area. 2) Introduce netdev_priv(), an inline which allows the dynamic private area (dev->priv) to be calculated as a constant offset from the base struct net_device at compile time. ChangeSet@1.1518, 2003-12-07 13:21:55-05:00, achirica@telefonica.net [wireless airo] Delay MIC activation to prevent Oops ChangeSet@1.1517, 2003-12-07 13:21:47-05:00, achirica@telefonica.net [wireless airo] Fix PCI registration ChangeSet@1.1516, 2003-12-07 13:18:43-05:00, hirofumi@mail.parknet.co.jp [PATCH] 8139too tx queue handling fix Hi, netif_stop_queue(dev); [....] netif_start_queue(dev); netif_wake_queue(dev); and netif_stop_queue(dev); [....] netif_wake_queue(dev); is not same. After tx_timeout, this was needed for restarting tx work immediately. Are you interested in this patch? drivers/net/8139too.c | 3 +-- 1 files changed, 1 insertion(+), 2 deletions(-) ChangeSet@1.1515, 2003-12-07 13:18:34-05:00, hirofumi@mail.parknet.co.jp [PATCH] 8139too warning fix (1/2) drivers/net/8139too.c | 2 ++ 1 files changed, 2 insertions(+) ChangeSet@1.1514, 2003-12-07 13:13:24-05:00, romieu@fr.zoreil.com [netdrvr r8169] fix RX Brown paper bag time: the Rx descriptors are contiguous and EORbit only marks the last descriptor in the array. OWNbit implicitly marks the end of the Rx descriptors segment which is owned by the nic. ChangeSet@1.1513, 2003-12-07 13:12:27-05:00, romieu@fr.zoreil.com [netdrvr r8169] Suspend/resume code (Fernando Alencar MarĂ³tica). ChangeSet@1.1512, 2003-12-07 13:11:46-05:00, romieu@fr.zoreil.com [netdrvr r8169] Modification of the interrupt mask (RealTek). ChangeSet@1.1511, 2003-12-07 13:10:49-05:00, romieu@fr.zoreil.com [netdrvr r8169] Driver forgot to update the transmitted bytes counter. Originally done in rtl8169_start_xmit() by Realtek. ChangeSet@1.1510, 2003-12-07 13:10:04-05:00, romieu@fr.zoreil.com [netdrvr r8169] Merge of changes from Realtek: - register voodoo in rtl8169_hw_start(). ChangeSet@1.1509, 2003-12-07 13:08:55-05:00, romieu@fr.zoreil.com [netdrvr r8169] Merge of timer related changes from Realtek: - changed their timeout value from 100 to HZ to trigger rtl8169_phy_timer(); - s/TX_TIMEOUT/RTL8169_TX_TIMEOUT/ to have RTL8169_{TX/PHY}_TIMEOUT. ChangeSet@1.1508, 2003-12-07 13:07:25-05:00, romieu@fr.zoreil.com [netdrvr r8169] Merge of changes done by Realtek to rtl8169_init_one(): - phy capability settings allows lower or equal capability as suggested in Realtek's changes; - I/O voodoo; - no need to s/mdio_write/RTL8169_WRITE_GMII_REG/; - s/rtl8169_hw_PHY_config/rtl8169_hw_phy_config/; - rtl8169_hw_phy_config(): ad-hoc struct "phy_magic" to limit duplication of code (yep, the u16 -> int conversions should work as expected); - variable renames and whitepace changes ignored. ChangeSet@1.1507, 2003-12-07 13:05:55-05:00, romieu@fr.zoreil.com [netdrvr r8169] Add {mac/phy}_version. - change of identification logic in rtl8169_init_board(); - {chip/rtl_chip}_info are merged in rtl_chip_info; - misc style nits (lazy braces, SHOUTING MACROS from realtek converted to functions). ChangeSet@1.1506, 2003-12-07 12:58:13-05:00, manfred@colorfullife.com [netdrvr] add "forcedeth" driver for nVidia nForce NICs ChangeSet@1.1474.1.25, 2003-12-05 13:21:27-05:00, jgarzik@redhat.com [netdrvr pcnet32] fix oops on unload Driver was calling pci_unregister_driver for each _device_, and then again at the end of the module unload routine. Remove the call that's inside the loop, pci_unregister_driver should only be called once. Caught by Don Fry (and many others) ChangeSet@1.1505, 2003-12-05 01:41:18-05:00, prasanna@in.ibm.com [netdrvr tlan] netpoll support Hi Jeff, Below is the pollcontroller patch for tlan network device driver. This patch can be applied over 2.6.0-test9-bk25-netdrvr-exp1.patch ChangeSet@1.1504, 2003-12-05 01:41:10-05:00, prasanna@in.ibm.com [netdrvr smc-ultra] netpoll support Hi Jeff, Below is the pollcontroller patch for smc ultra net driver. This patch can be applied over 2.6.0-test9-bk25-netdrvr-exp1.patch ChangeSet@1.1503, 2003-12-05 00:15:51-05:00, jgarzik@redhat.com [netdrvr e100] complete rewrite of e100 driver ChangeSet@1.1474.11.9, 2003-12-03 22:45:13-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr] remove manual driver poisoning of net_device Such poisoning can cause oopses either because the refcount is not zero when the poisoning occurs, or due to kernel debugging options being enabled. ChangeSet@1.1474.8.1, 2003-11-26 00:34:56-05:00, dave@thedillows.org Bug fixes: * Avoid short timeouts when waiting for a reset * Fix issue with loading runtime image on newer versions of the sleep image * Fix link status reporting ChangeSet@1.1501, 2003-11-22 14:13:34-05:00, rmk@arm.linux.org.uk [netdrvr pcmcia] fix hot unplugging This patch fixes a deadlock which occurs when a PCMCIA card is physically removed, and the netdev interface is then downed. The problem occurs because these drivers delay the call of unregister_netdev until the netdev is downed. Since 2.6 now downs the interface on unregister_netdev(), we can call this function as soon as the card has been removed without waiting for the netdev to be downed. ChangeSet@1.1500, 2003-11-22 06:48:18-05:00, geert@linux-m68k.org [PATCH] 2.6.x experimental net driver queue fix On Wed, 19 Nov 2003, Sam Creasey wrote: > On Tue, 18 Nov 2003, Geert Uytterhoeven wrote: > > On Mon, 17 Nov 2003, Geert Uytterhoeven wrote: > > > On Sun, 16 Nov 2003, Jeff Garzik wrote: > > > > Yet more updates. Syncing with Andrew Morton, and more syncing with Al > > > > Viro. > > > > > > > > No users of init_etherdev remain in the tree. (yay!) > > > > > > Here are some (untested, except for cross-gcc) fixes for the m68k-related > > > drivers: > > > > I forget to test the Sun-3 drivers: > > - sun3_82586.c: > > o add missing casts to iounmap() calls > > o fix parameter of free_netdev() > > - sun3lance.c: add missing casts to iounmap() calls > > > > Note that sun3_82586.c no longer compiles since SUN3_82586_TOTAL_SIZE is not > > defined. Sammy, is it OK to use PAGE_SIZE for that, since that's what's passed > > to ioremap()? > > Should be... I looked back through a few versions of the code, and I'm > not even sure what SUN3_82586_TOTAL_SIZE even was (appears I commented > that line out long ago anyway). (I'm also amazed just how much of that > driver I've forgotten in the last year or two :) OK, so here's a additional patch that fixes that: ChangeSet@1.1499, 2003-11-22 06:47:29-05:00, hirofumi@mail.parknet.co.jp [PATCH] 8139too NAPI for net-drivers-2.5-exp Jeff Garzik writes: > Stephen Hemminger wrote: > > Here is the 8139too version in net-drivers-2.5-exp modified for NAPI. > > Also: > > 64k receive ring - has to handle wrap for that case; > > the NoWrap flag does nothing if using this big ring. > > assert() -> BUG_ON() > > > > To deal with the races with tx_timeout, put back in the rx_lock from earlier versions. > + local_irq_disable(); > + netif_rx_complete(dev); > + RTL_W16_F(IntrMask, rtl8139_intr_mask); > + local_irq_enable(); Probably, by my mistake in previous mail. Sorry. This still has the races condition. It can trigger the same problem by shared interrupt on SMP. Probably the following ISR style should use the below combination. in ISR if (netif_rx_schedule_prep(dev)) { RTL_W16 (IntrMask, rtl8139_norx_intr_mask); __netif_rx_schedule(dev); } in ->poll local_irq_disable(); RTL_W16_F(IntrMask, rtl8139_intr_mask); __netif_rx_complete(dev); local_irq_enable(); And another one should use the below combination. (this style can change the flags of __LINK_STATE_RX_SCHED or __LINK_STATE_START anytime) in ISR if (status & RxAckBits) { RTL_W16_F (IntrMask, rtl8139_norx_intr_mask); netif_rx_schedule (dev); } in ->poll local_irq_disable(); __netif_rx_complete(dev); RTL_W16_F(IntrMask, rtl8139_intr_mask); local_irq_enable(); If happen the shared interrupt, the this ISR style may lose a chance of netif_rx_schedule(). Anyway, the following patch should fix the problem. Please apply. Thanks. -- OGAWA Hirofumi drivers/net/8139too.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) ChangeSet@1.1498, 2003-11-22 06:47:22-05:00, shemminger@osdl.org [PATCH] (3/3) 8139too -- poll_controller For net-drivers-2.5-exp, add a poll_controller hook to allow use of netconsole with this driver. jeff, don't have netconsole setup to test this so please give it a try before including it. ChangeSet@1.1497, 2003-11-22 06:47:14-05:00, shemminger@osdl.org [PATCH] (2/3) 8139too -- configurable receive ring For net-drivers-2.5-exp: Make the receive window configurable and go back to the original 32K by default. ChangeSet@1.1496, 2003-11-22 06:47:07-05:00, shemminger@osdl.org [PATCH] (1/3) 8139too -- put back old assert For net-drivers-2.5-exp: Minimize code changes -- put back assert() macro with similar properties to the original. Added unlikely() and KERN_ERR tag. ChangeSet@1.1495, 2003-11-22 06:45:08-05:00, romieu@fr.zoreil.com [netdrvr r8169] Rx copybreak for small packets. - removal of rtl8169_unmap_rx() (unneeded as for now). ChangeSet@1.1494, 2003-11-22 06:42:51-05:00, viro@parcelfarce.linux.theplanet.co.uk [wan cosa] netdev dyamic alloc ChangeSet@1.1493, 2003-11-22 06:42:28-05:00, viro@parcelfarce.linux.theplanet.co.uk [wan synclink] netdev dynamic alloc ChangeSet@1.1492, 2003-11-22 06:40:27-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr ppp] netdev dynamic alloc; convert ppp_net_init to alloc_netdev setup function ChangeSet@1.1491, 2003-11-22 06:38:10-05:00, viro@parcelfarce.linux.theplanet.co.uk [arcnet] create and use alloc_arcdev helper ChangeSet@1.1490, 2003-11-22 06:37:24-05:00, viro@parcelfarce.linux.theplanet.co.uk [arcnet com90xx] netdev dynamic alloc; module params; fix bugs ChangeSet@1.1489, 2003-11-22 06:36:19-05:00, viro@parcelfarce.linux.theplanet.co.uk [arcnet com20020] netdev dynamic alloc; module params; fix bugs ChangeSet@1.1488, 2003-11-22 06:34:18-05:00, viro@parcelfarce.linux.theplanet.co.uk [arcnet arc-rimi] use alloc_netdev; module params; fix bugs on error/cleanup ChangeSet@1.1487, 2003-11-22 06:32:13-05:00, viro@parcelfarce.linux.theplanet.co.uk [arcnet com90io] use alloc_netdev ChangeSet@1.1486, 2003-11-22 06:31:05-05:00, viro@parcelfarce.linux.theplanet.co.uk [appletalk ipddp] dynamically allocate struct net_device Converts from static to dynamic allocation, in preparation for further refcount changes. ChangeSet@1.1485, 2003-11-22 06:29:34-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr ne3210] remove #if 0'd code ChangeSet@1.1484, 2003-11-22 06:29:03-05:00, viro@parcelfarce.linux.theplanet.co.uk [wireless ray_cs] use alloc_etherdev ChangeSet@1.1483, 2003-11-22 06:28:13-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr meth] use alloc_etherdev; fix leaks on error/cleanup ChangeSet@1.1482, 2003-11-22 06:27:34-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr qeth] use alloc_etherdev instead of hand-allocating struct net_device ChangeSet@1.1480, 2003-11-20 20:18:07-05:00, jgarzik@redhat.com Merge redhat.com:/spare/repo/linux-2.5 into redhat.com:/spare/repo/net-drivers-2.5-exp ChangeSet@1.1479, 2003-11-20 20:03:58-05:00, romieu@fr.zoreil.com [netdrvr r8169] Conversion of Tx data buffers to PCI DMA: - endianness is kept in a fscked state as it is in the original code (will be adressed in a later patch); - buf_addr of an unmapped descriptor is always set to the same value (cf rtl8169_unmap_tx_skb); - nothing fancy, really. ChangeSet@1.1478, 2003-11-20 20:03:06-05:00, romieu@fr.zoreil.com [netdrvr r8169] rtl8169_start_xmit fixes: - it forgot to update stats if the skb couldn't be expanded; - it didn't free it either if the descriptor was not available; - move the spin_unlock nearer of the exit point instead of duplicating it in the new branch. ChangeSet@1.1477, 2003-11-20 20:02:06-05:00, romieu@fr.zoreil.com [netdrvr r8169] Conversion of Rx data buffers to PCI DMA - endianness is kept in a fscked state as it is in the original code (will be adressed in a later patch); - rtl8169_rx_clear() walks the buffer ring and releases the allocated data buffers. It needs to be used in two places: - rtl8169_init_ring() failure path; - normal device release (i.e. rtl8169_close); - rtl8169_free_rx_skb() releases a Rx data buffer. Mostly an helper for rtl8169_rx_clear(). As such it must: - unmap the memory area; - release the skb; - prevent the ring descriptor from being used again; - rtl8169_alloc_rx_skb() prepares a Rx data buffer for use. As such it must: - allocate an skb; - map the memory area; - reflect the changes in the ring descriptor. This function is balanced by rtl8169_free_rx_skb(). - rtl8169_unmap_rx() simply helps with the 80-columns limit. - rtl8169_rx_fill() walks a given range of the buffer ring and try to turn any descriptor into a ready to use one. It returns the count of modified descriptors and exits if an allocation fails. It can be seen as balanced by rtl8169_rx_clear(). Motivation: - partially abstract the (usually big) piece of code for the refill logic at the end of the Rx interrupt; - factorize the refill logic and the initial ring setup. - simple conversion of rtl8169_rx_interrupt() without rx_copybreak (will be adressed in a later patch). ChangeSet@1.1476, 2003-11-20 20:01:26-05:00, romieu@fr.zoreil.com [netdrvr r8169] Conversion of Rx/Tx descriptors to consistent DMA: - use pci_alloc_consistent() for Rx/Tx descriptors in rtl8169_open() (balanced by pci_free_consistent() on error path as well as in rtl8169_close()); - removal of the fields {Rx/Tx}DescArrays in struct rtl8169_private as there is no need to store a non-256 bytes aligned address any more; - fix for rtl8169_open() leak when RxBufferRings allocation fails. Said allocation is pushed to rtl8169_init_ring() as part of an evil cunning plan. ChangeSet@1.1475, 2003-11-19 12:12:00-05:00, jgarzik@redhat.com Merge redhat.com:/spare/repo/linux-2.5 into redhat.com:/spare/repo/net-drivers-2.5-exp ChangeSet@1.1435.2.96, 2003-11-19 12:03:57-05:00, shemminger@osdl.org [PATCH] 8139too NAPI for net-drivers-2.5-exp Here is the 8139too version in net-drivers-2.5-exp modified for NAPI. Also: 64k receive ring - has to handle wrap for that case; the NoWrap flag does nothing if using this big ring. assert() -> BUG_ON() To deal with the races with tx_timeout, put back in the rx_lock from earlier versions. ChangeSet@1.1435.2.95, 2003-11-19 12:03:49-05:00, xose@wanadoo.es [PATCH] more ne2k-pci clone boards ChangeSet@1.1435.2.94, 2003-11-19 12:03:42-05:00, xose@wanadoo.es [PATCH] more RTL-8139 clone boards ChangeSet@1.1435.2.93, 2003-11-18 16:16:31-05:00, geert@linux-m68k.org [PATCH] sun3-related net driver fixes On Mon, 17 Nov 2003, Geert Uytterhoeven wrote: > On Sun, 16 Nov 2003, Jeff Garzik wrote: > > Yet more updates. Syncing with Andrew Morton, and more syncing with Al > > Viro. > > > > No users of init_etherdev remain in the tree. (yay!) > > Here are some (untested, except for cross-gcc) fixes for the m68k-related > drivers: I forget to test the Sun-3 drivers: - sun3_82586.c: o add missing casts to iounmap() calls o fix parameter of free_netdev() - sun3lance.c: add missing casts to iounmap() calls Note that sun3_82586.c no longer compiles since SUN3_82586_TOTAL_SIZE is not defined. Sammy, is it OK to use PAGE_SIZE for that, since that's what's passed to ioremap()? ChangeSet@1.1435.2.92, 2003-11-18 16:16:11-05:00, geert@linux-m68k.org [PATCH] m68k-related net driver fixes On Sun, 16 Nov 2003, Jeff Garzik wrote: > Yet more updates. Syncing with Andrew Morton, and more syncing with Al > Viro. > > No users of init_etherdev remain in the tree. (yay!) Here are some (untested, except for cross-gcc) fixes for the m68k-related drivers: - Space.c: fix incorrect prototypes for atarilance_probe() and mace_probe() - a2065.c: kill superfluous argument of alloc_etherdev() - apne.c: o fix incorrect prototype for apne_probe() o kill unused variable err - mac8390.c: o kill unused variable probed o fix typos ENDOEV -> ENODEV and ERR_PTE -> ERR_PTR o add missing variable slots - macmace.c: use ERR_PTR() where needed - macsonic.c: kill unused variable lp - mvme147.c: o kill conversion warning and kill a cast by making ram unsigned long o add missing variable err Note: The use of `slots' in mac8390.c is not in my tree. Do you know where that change comes from? ChangeSet@1.1435.2.91, 2003-11-18 16:15:56-05:00, mpm@selenic.com [PATCH] netpoll: push zap_completion_queue for lkcd Move zap_completion_queue call inside netpoll so we don't need to export it separately. ChangeSet@1.1435.2.90, 2003-11-18 16:15:45-05:00, mpm@selenic.com [PATCH] netpoll: fix compilation with CONFIG_NETPOLL_RX Fix compilation without CONFIG_NETPOLL_RX ChangeSet@1.1435.2.89, 2003-11-16 19:42:09-05:00, jgarzik@redhat.com [netdrvr] remove init_etherdev mentions in Doc/SubmittingPatches, atari_pamsnet.c ChangeSet@1.1435.2.88, 2003-11-16 19:39:25-05:00, jgarzik@redhat.com [netdrvr] remove Documentation/networking/8139too.txt All sections of the document are woefully outdated. ChangeSet@1.1435.2.87, 2003-11-16 18:26:22-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr lasi_82596] remove ether_setup() call, fix leak in probe ChangeSet@1.1435.2.86, 2003-11-16 18:24:07-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr] alloc_etherdev-related cleanups Mostly removing unneeded calls to ether_setup(), which alloc_etherdev() already does for us. ChangeSet@1.1435.2.85, 2003-11-16 18:18:13-05:00, jgarzik@redhat.com [netdrvr 3c527] applied missing pieces of Richard Proctor's 3c527 SMP update Minor stuff... remove unused constants, and mark non-experimental and non-broken in Kconfig. ChangeSet@1.1435.2.84, 2003-11-16 17:50:21-05:00, jgarzik@redhat.com [netdrvr tulip] clean up tulip NAPI poll disable Looks like the same patch was applied multiple times. No negative effects except ugliness and a redundant test. ChangeSet@1.1435.2.83, 2003-11-16 12:13:58-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr xircom_tulip_cb] remove bogus unregister_netdev call; use free_netdev ChangeSet@1.1435.2.82, 2003-11-16 12:13:19-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr stnic] fix typo from last stnic cset ChangeSet@1.1435.2.81, 2003-11-16 12:12:54-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr iph5526] use SET_MODULE_OWNER; small typedef cleanup ChangeSet@1.1435.2.80, 2003-11-16 12:12:03-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr pcmcia] s/kfree/free_netdev/ ChangeSet@1.1435.2.79, 2003-11-16 12:10:48-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr ether00] s/kfree/free_netdev/ ; remove redundant memset() calls ChangeSet@1.1435.2.78, 2003-11-16 12:10:12-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr] s/kfree/free_netdev/ where appropriate ChangeSet@1.1435.2.77, 2003-11-16 12:08:01-05:00, viro@parcelfarce.linux.theplanet.co.uk [wireless wavelan{_cs}] use alloc_etherdev; remove useless net_device* typedef ChangeSet@1.1435.2.76, 2003-11-16 12:06:15-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr de600] use alloc_etherdev; request_region fixes ChangeSet@1.1435.2.75, 2003-11-16 12:04:50-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr atp] use alloc_etherdev, clean up probing ChangeSet@1.1435.2.74, 2003-11-16 12:04:08-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr depca] fix leaks on error ChangeSet@1.1435.2.73, 2003-11-16 12:03:24-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr saa9730] use alloc_etherdev, annotate bugs found but not fixed ChangeSet@1.1435.2.72, 2003-11-16 12:02:34-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr stnic] use alloc_etherdev ChangeSet@1.1435.2.71, 2003-11-16 12:01:49-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr sgiseeq] alloc_etherdev, SET_MODULE_OWNER, fix leaks on error ChangeSet@1.1435.2.70, 2003-11-16 11:58:39-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr sb1250-mac] alloc_etherdev, fix leaks on error ChangeSet@1.1435.2.69, 2003-11-16 11:57:55-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr au1000_eth] alloc_etherdev, SET_MODULE_OWNER, fix leaks/small bugs ChangeSet@1.1435.2.68, 2003-11-16 11:57:03-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr zorro8390] alloc_etherdev, SET_MODULE_OWNER ChangeSet@1.1435.2.67, 2003-11-16 11:56:23-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr mace] alloc_etherdev, fix leaks on error ChangeSet@1.1435.2.66, 2003-11-16 11:55:41-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr znet] alloc_etherdev, SET_MODULE_OWNER, remove #ifdef MODULE ChangeSet@1.1435.2.65, 2003-11-16 11:54:56-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr oaknet] use alloc_etherdev, fix leaks ChangeSet@1.1435.2.64, 2003-11-16 11:53:59-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr hydra] use alloc_etherdev ChangeSet@1.1435.2.63, 2003-11-16 11:52:13-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr gt96100eth] use alloc_etherdev, fix leaks ChangeSet@1.1435.2.62, 2003-11-16 11:51:28-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr declance] use alloc_etherdev ChangeSet@1.1435.2.61, 2003-11-16 11:50:34-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr ariadne] use alloc_etherdev ChangeSet@1.1435.2.60, 2003-11-16 11:49:55-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr a2065] convert to alloc_etherdev ChangeSet@1.1435.2.59, 2003-11-16 11:41:58-05:00, jgarzik@redhat.com [netdrvr tc35815] switch to using alloc_etherdev Also handle ioremap failure. ChangeSet@1.1435.2.58, 2003-11-16 11:34:01-05:00, jgarzik@redhat.com [netdrvr tc35815] many fixes, major and minor * s/int/unsigned long/ for 'flags' arg passed to spin_lock_irqsave * s/unsigned int/unsigned long/ for I/O port addresses * no need to prevent tc35815_probe from being called multiple times... PCI layer will do things properly for us. * call pci_enable_device before accessing hardware, before obtaining irq number, and before obtaining I/O port addresses. * remove bogus 'if (pdev)' check in PCI API ->probe function * call SET_M0DULE_OWNER, remove MOD_{INC,DEC}_USE_COUNT * (cleanup) don't bother casting from a void* * (cleanup) mark debugging function with #if 0, just like the caller * Fix many printk statements to indicate that tc_readl() returns a long, not an int. * (cleanup) remove unused tc35815_proc_info function ChangeSet@1.1435.2.57, 2003-11-16 10:29:28-05:00, scott.feldman@intel.com [e100] missed a kfree -> free_netdev * missed a kfree -> free_netdev ChangeSet@1.1435.2.56, 2003-11-16 10:29:21-05:00, scott.feldman@intel.com [e100] add extended device-specific ethtool stats * Add extended device-specific ethtool stats ChangeSet@1.1435.2.55, 2003-11-16 10:29:13-05:00, scott.feldman@intel.com [e100] remove __devinit from mis-marked funcs * Remove __devinit from mis-marked functions that are needed after init for things like ethtool. (anton@samba.org) ChangeSet@1.1435.2.54, 2003-11-16 10:27:07-05:00, scott.feldman@intel.com [e1000] Internal SERDES link detect; delay after SPI * Internal SERDES designs must use indirect method to sample link status based on sampling MAC sync bits. * Need 10 msec delay after SPI eeprom write, otherwise back-to- back writes can get corrupted. * Allow for setup of multiple MAC addresses (not used for Linux - shared code change). * Updated comment block. ChangeSet@1.1435.2.53, 2003-11-16 10:26:59-05:00, scott.feldman@intel.com [e1000] exit polling loop if interface is brought down * Exit polling loop if interface is brought down. ChangeSet@1.1435.2.52, 2003-11-16 10:26:52-05:00, scott.feldman@intel.com [e1000] improve Tx flush method * Flush queued in-flight Tx descriptors when link is lost. 8254x stops processing Tx descriptors when link is lost, so outstanding Tx buffers will not be returned to OS unless we flush the Tx descriptor ring. This patch move the flush from the watchdog timer callback to process context to work around some issue with holding xmit_lock in timer callback. ChangeSet@1.1435.2.51, 2003-11-16 10:26:44-05:00, scott.feldman@intel.com [e1000] print message if user overrides default ITR * Print message if user overrides default setting of ITR. ChangeSet@1.1435.2.50, 2003-11-16 10:26:36-05:00, scott.feldman@intel.com [e1000] 82547 interrupt assert/de-assert re-ordering * 82547 needs interrupt disable/enable to keep interrupt assertion state synced between 82547 and APIC. 82547 will re-order assert and de-assert messages if hub link bus is busy (heavy traffic). Disabling interrupt on device works around re- order issue. ChangeSet@1.1435.2.49, 2003-11-16 10:26:28-05:00, scott.feldman@intel.com [e1000] use unsigned long for I/O base addr * Use unsigned long for I/O base addr; can be 64-bit on some archs. ChangeSet@1.1435.2.48, 2003-11-16 10:26:20-05:00, scott.feldman@intel.com [e1000] loopback diag test failing on big-endian * ethtool diag loopback test was failing on ppc because of endianness issue. ChangeSet@1.1435.2.47, 2003-11-16 10:26:12-05:00, scott.feldman@intel.com [e1000] use pdev->irq rather than netdev->irq for * Use pdev->irq rather than netdev->irq for interrupt registration in anticipation of MSI interrupt API support. ChangeSet@1.1435.2.46, 2003-11-16 10:26:04-05:00, scott.feldman@intel.com [e1000] add ethtool ring param support * Add ethtool ring param support ChangeSet@1.1435.2.45, 2003-11-16 10:23:54-05:00, jgarzik@redhat.com [netdrvr] Remove never-referenced 68360enet.c ChangeSet@1.1435.2.44, 2003-11-12 23:21:36-05:00, jgarzik@redhat.com [netdrvr 3c515] fix non-modular build ChangeSet@1.1435.2.43, 2003-11-12 20:57:02-05:00, shemminger@osdl.org [PATCH] (42/42) atari_lance NE68-atarilance * switched to dynamic allocation * fixed resource leaks on failure exits * also kill off last usage of probe_list ChangeSet@1.1435.2.42, 2003-11-12 20:56:54-05:00, shemminger@osdl.org [PATCH] (41/42) sun3_lance NE67-sun3lance * switched to dynamic allocation * fixed resource leaks on failure exits ChangeSet@1.1435.2.41, 2003-11-12 20:56:47-05:00, shemminger@osdl.org [PATCH] (40/42) sun3_82586 NE66-sun3_82586 * switched to dynamic allocation * fixed resource leaks on failure exits ChangeSet@1.1435.2.40, 2003-11-12 20:56:39-05:00, shemminger@osdl.org [PATCH] (39/42) apne NE64-apne * switched to dynamic allocation * fixed resource leaks on failure exits ChangeSet@1.1435.2.39, 2003-11-12 20:56:31-05:00, shemminger@osdl.org [PATCH] (38/42) bionet NE63-bionet * switched to dynamic allocation * fixed resource leaks on failure exits ChangeSet@1.1435.2.38, 2003-11-12 20:56:24-05:00, shemminger@osdl.org [PATCH] (37/42) pamsnet NE62-pamsnet * switched to dynamic allocation * fixed resource leaks on failure exits ChangeSet@1.1435.2.37, 2003-11-12 20:56:16-05:00, shemminger@osdl.org [PATCH] (36/42) hplance NE61-hplance * switched to dynamic allocation * fixed resource leaks on failure exits ChangeSet@1.1435.2.36, 2003-11-12 20:56:09-05:00, shemminger@osdl.org [PATCH] (35/42) mvme147 NE60-mvme147lance * switched to dynamic allocation * fixed resource leaks on failure exits ChangeSet@1.1435.2.35, 2003-11-12 20:56:01-05:00, shemminger@osdl.org [PATCH] (34/42) mac_mace NE59-mace * switched mace to dynamic allocation * mace: fixed resource leaks on failure exits ChangeSet@1.1435.2.34, 2003-11-12 20:55:54-05:00, shemminger@osdl.org [PATCH] (33/42) macsonic NE58-macsonic * switched macsonic to dynamic allocation * macsonic: fixed resource leaks on failure exits ChangeSet@1.1435.2.33, 2003-11-12 20:55:46-05:00, shemminger@osdl.org [PATCH] (32/42) mac8390 NE57-mac8390 * switched mac8390 to dynamic allocation * mac8390: fixed resource leaks on failure exits * get rid of MOD_INC/DEC ChangeSet@1.1435.2.32, 2003-11-12 20:55:38-05:00, shemminger@osdl.org [PATCH] (31/42) mac89x0 NE56-mac8390 * switched mac8390 to dynamic allocation * mac8390: fixed resource leaks on failure exits ChangeSet@1.1435.2.31, 2003-11-12 20:55:31-05:00, shemminger@osdl.org [PATCH] (30/42) jazzsonic NE55-jazzsonic * switched jazzsonic to dynamic allocation * jazzsonic: fixed resource leaks on failure exits ChangeSet@1.1435.2.30, 2003-11-12 20:55:23-05:00, shemminger@osdl.org [PATCH] (29/42) bagetlance NE54-bagetlance * switched bagetlance to dynamic allocation * bagetlance: embedded ->priv * bagetlance: fixed resource leaks on failure exits * bagetlance: fixed resource leaks on rmmod ChangeSet@1.1435.2.29, 2003-11-12 20:55:15-05:00, shemminger@osdl.org [PATCH] (28/42) ultra32 NE52-ultra32 * switched smc-ultra32 to dynamic allocation * smc-ultra32: fixed order of freeing bugs * smc-ultra32: fixed clobbering on autoprobe * smc-ultra32: fixed resource leaks on failure exits ChangeSet@1.1435.2.28, 2003-11-12 20:55:08-05:00, shemminger@osdl.org [PATCH] (27/42) ac3200 NE51-ac3200 * switched ac3200 to dynamic allocation * ac3200: fixed order of freeing bugs * ac3200: fixed clobbering on autoprobe * ac3200: fixed resource leaks on failure exits ChangeSet@1.1435.2.27, 2003-11-12 20:55:00-05:00, shemminger@osdl.org [PATCH] (26/42) es3210 NE50-es3210 * switched es3210 to dynamic allocation * es3210: fixed order of freeing bugs * es3210: fixed clobbering on autoprobe ChangeSet@1.1435.2.26, 2003-11-12 20:54:52-05:00, shemminger@osdl.org [PATCH] (25/42) lne390 NE49-lne390 * switched lne390 to dynamic allocation * lne390: fixed order of freeing bugs * lne390: fixed clobbering on autoprobe * lne390: fixed resource leaks on failure exits ChangeSet@1.1435.2.25, 2003-11-12 20:54:45-05:00, shemminger@osdl.org [PATCH] (24/42) ne2 NE48-ne2 from viro * switched ne2 to dynamic allocation * ne2: fixed order of freeing bugs * ne2: fixed resource leaks on failure exits ChangeSet@1.1435.2.24, 2003-11-12 20:54:37-05:00, shemminger@osdl.org [PATCH] (23/42) 3c523 NE47-3c523 from viro * switched 3c523 to dynamic allocation * 3c523: switched to embedded ->priv * 3c523: fixed order of freeing bugs * 3c523: fixed resource leaks on failure exits ChangeSet@1.1435.2.23, 2003-11-12 20:54:30-05:00, shemminger@osdl.org [PATCH] (22/42) 3c527 NE46-3c527 * switched 3c527 to dynamic allocation * 3c527: switched to embedded ->priv * 3c527: fixed resource leaks on failure exits ChangeSet@1.1435.2.22, 2003-11-12 20:54:22-05:00, shemminger@osdl.org [PATCH] (21/42) sk_mca NE45-sk_mca * switched sk-mca to dynamic allocation * sk-mca: switched to embedded ->priv * sk-mca: fixed order of freeing bugs * sk-mca: fixed resource leaks on failure exits ChangeSet@1.1435.2.21, 2003-11-12 20:54:14-05:00, shemminger@osdl.org [PATCH] (20/42) hp100-T10 NE44-hp100 * convert to dynamic allocation * use device model for PCI and EISA * use pci id's to find PCI devices * fix missing id's for 10 Mbit only PCI boards ChangeSet@1.1435.2.20, 2003-11-12 20:54:07-05:00, shemminger@osdl.org [PATCH] (19/42) 3c515-T10 NE43-3c515 * convert to dynamic allocation * fixed up device list handling ChangeSet@1.1435.2.19, 2003-11-12 20:53:59-05:00, shemminger@osdl.org [PATCH] (18/42) ultra Based on viro NE42-ultra * switched smc-ultra to dynamic allocation * smc-ultra: fixed order of freeing bugs * smc-ultra: fixed resource leaks on failure exits * smc-ultra: fixed clobbering on autoprobe ChangeSet@1.1435.2.18, 2003-11-12 20:53:52-05:00, shemminger@osdl.org [PATCH] (17/42) wd Based on viro NE41-wd * switched wd to dynamic allocation * wd: fixed order of freeing bugs * wd: fixed resource leaks on failure exits * wd: fixed clobbering on autoprobe ChangeSet@1.1435.2.17, 2003-11-12 20:53:44-05:00, shemminger@osdl.org [PATCH] (16/42) 3c503 Based on viro NE40-3c503 * switched 3c503 to dynamic allocation * 3c503: fixed order of freeing bugs * 3c503: fixed IO without request_region * 3c503: fixed resource leaks on failure exits * 3c503: fixed clobbering on autoprobe ChangeSet@1.1435.2.16, 2003-11-12 20:53:36-05:00, shemminger@osdl.org [PATCH] (15/42) hp Based on viro NE39-hp * switched hp to dynamic allocation * hp: fixed order of freeing bugs * hp: fixed resource leaks on failure exits * hp: fixed clobbering on autoprobe ChangeSet@1.1435.2.15, 2003-11-12 20:53:29-05:00, shemminger@osdl.org [PATCH] (14/42) hpplus Based on NE38-hpplus * switched hp-plus to dynamic allocation * hp-plus: fixed order of freeing bugs * hp-plus: fixed resource leaks on failure exits * hp-plus: fixed clobbering on autoprobe ChangeSet@1.1435.2.14, 2003-11-12 20:53:21-05:00, shemminger@osdl.org [PATCH] (13/42) e2100 Based on viro NE37-e2100 * switched e2100 to dynamic allocation * e2100: fixed order of freeing bugs * e2100: fixed resource leaks on failure exits * e2100: fixed clobbering on autoprobe ChangeSet@1.1435.2.13, 2003-11-12 20:53:14-05:00, shemminger@osdl.org [PATCH] (12/42) ne Based on NE36-ne * switched ne/ne2k_cbus to dynamic allocation * ne/ne2k_cbus: fixed order of freeing bugs * ne/ne2k_cbus: fixed resource leaks on failure exits * ne/ne2k_cbus: fixed clobbering on autoprobe ChangeSet@1.1435.2.12, 2003-11-12 20:53:05-05:00, shemminger@osdl.org [PATCH] (11/42) lance Based on viro NE35-lance * switched lance to dynamic allocation * lance: fixed init_etherdev races * lance: fixed resource leaks on failure exits * NB: probing code is, to put it mildly, odd. It _always_ does autoprobe, modular or not. WTF is going on there? ChangeSet@1.1435.2.11, 2003-11-12 20:52:58-05:00, shemminger@osdl.org [PATCH] (10/42) smc Based on viro NE34-smc * switched smc to dynamic allocation * smc: embedded ->priv * smc: fixed resource leaks on failure exits * smc: fixed clobbering on autoprobe ChangeSet@1.1435.2.10, 2003-11-12 20:52:50-05:00, shemminger@osdl.org [PATCH] (9/42) seeq8005 Based on viro NE33-seeq8005 * switched seeq8005 to dynamic allocation * seeq8005: embedded ->priv * seeq8005: fixed resource leaks on failure exits * seeq8005: fixed clobbering on autoprobe * seeq8005: fixed jiffies truncation * seeq8005: fixed a typo in Kconfig - module is _not_ called ewrk3 ChangeSet@1.1435.2.9, 2003-11-12 20:52:43-05:00, shemminger@osdl.org [PATCH] (8/42) at1500 Based on viro NE32-at1500 ROTFL. The last remnants of CONFIG_AT1500 removed - that was a hell of an ancient bug (at1500_probe() was never defined, AFAICS - all way back to 0.99.15). ChangeSet@1.1435.2.8, 2003-11-12 20:52:35-05:00, shemminger@osdl.org [PATCH] (7/42) cs89x0 Based on viro NE31-cs89x0 * switched cs89x0 to dynamic allocation * cs89x0: embedded ->priv * cs89x0: fixed resource leaks on failure exits * cs89x0: fixed clobbering on autoprobe * NB: cs89x0 calls request_region() with very odd arguments. Somebody ought to check WTF is going on there. ChangeSet@1.1435.2.7, 2003-11-12 20:52:28-05:00, shemminger@osdl.org [PATCH] (6/42) at1700 Based on viro NE30-at1700 * switched at1700 to dynamic allocation * at1700: embedded ->priv * at1700: fixed resource leaks on failure exits * at1700: fixed clobbering on autoprobe ChangeSet@1.1435.2.6, 2003-11-12 20:52:20-05:00, shemminger@osdl.org [PATCH] (5/42) fmv18 Based on viro, NE29-fmv18 * switched fmv18x to dynamic allocation * fmv18x: embedded ->priv * fmv18x: fixed resource leaks on failure exits * fmv18x: fixed clobbering on autoprobe * fmv18x: compile fix - comment is _not_ an empty statement. The thing had been b0rken since 2.4.3-pre2, BTW... ChangeSet@1.1435.2.5, 2003-11-12 20:52:12-05:00, shemminger@osdl.org [PATCH] (4/42) eth16i NE28-eth16i * switched eth16i to dynamic allocation * eth16i: embedded ->priv * eth16i: fixed resource leaks on failure exits ChangeSet@1.1435.2.4, 2003-11-12 20:52:05-05:00, shemminger@osdl.org [PATCH] (3/42) eexpress Based on viro NE27-eexpress * switched eexpress to dynamic allocation * eexpress: embedded ->priv * eexpress: fixed clobbering on autoprobe * eexpress: fixed IO without request_region() * eexpress: fixed resource leaks on failure exits ChangeSet@1.1435.2.3, 2003-11-12 20:51:57-05:00, shemminger@osdl.org [PATCH] (2/42) eepro Patch from viro: NE26-eepro * switched eepro to dynamic allocation * eepro: embedded ->priv * eepro: fixed clobbering on autoprobe * eepro: fixed IO before request_region() * eepro: fixed resource leaks on failure exits ChangeSet@1.1435.2.2, 2003-11-12 20:51:50-05:00, shemminger@osdl.org [PATCH] (1/42) ewrk3 Convert ewrk3 to dynamic allocation * get rid of private device allocation method * fix deeply nested function ChangeSet@1.1428.2.5, 2003-11-11 19:00:48-05:00, shemminger@osdl.org [PATCH] sk_g16 missing declaration The new probe code in net-drivers-2.5-exp lost a declaration for the module case (thanks al). ChangeSet@1.1428.2.4, 2003-11-11 19:00:40-05:00, shemminger@osdl.org [PATCH] arlan new probe code needs to register Fix arlan registration in the net-drivers-2.5-exp repo. Need to call register_netdev. Found by viro. ChangeSet@1.1428.2.3, 2003-11-11 19:00:33-05:00, shemminger@osdl.org [PATCH] 3c59x netpoll typo Poll code (in net-drivers-2.5-exp) was calling undefined function. ChangeSet@1.1428.2.2, 2003-11-11 19:00:25-05:00, shemminger@osdl.org [PATCH] typo in net-drivers-2.5-exp 3c507 Fix auto-probing loop in new probing code for 3c507. This patch is against net-drivers-2.5-exp repository. Found by viro. ChangeSet@1.1428.2.1, 2003-11-11 18:56:46-05:00, jgarzik@redhat.com Merge redhat.com:/spare/repo/linux-2.5 into redhat.com:/spare/repo/net-drivers-2.5-exp ChangeSet@1.1380.2.24, 2003-10-29 18:12:29-05:00, ak@muc.de [PATCH] netpoll for eepro100 netpoll for eepro100 This was in Ingo's old original netconsole patches. ChangeSet@1.1380.2.23, 2003-10-29 18:12:21-05:00, ak@muc.de [PATCH] fix tg3 netpoll No need to use disable_irq because tg3 is properly spinlocked. Can just call the interrupt handler directly. ChangeSet@1.1380.2.22, 2003-10-29 18:12:14-05:00, ak@muc.de [PATCH] Netpoll for pcnet32 netpoll for pcnet32 ChangeSet@1.1380.2.21, 2003-10-29 18:12:06-05:00, ak@muc.de [PATCH] netpoll for amd8111e netpoll for amd8111e ChangeSet@1.1380.2.20, 2003-10-29 18:11:59-05:00, ak@muc.de [PATCH] netpoll for tulip Netpoll for tulip. Uses disable_irq() because tulip is unfortunately still lockless. ChangeSet@1.1380.2.19, 2003-10-29 18:11:50-05:00, ak@muc.de [PATCH] netpoll for 3c59x >From the old -aa tree with minor changes. Orginally done by Andrea I think. ChangeSet@1.1380.2.18, 2003-10-29 16:13:32-05:00, jgarzik@redhat.com Merge redhat.com:/spare/repo/netpoll-2.5 into redhat.com:/spare/repo/net-drivers-2.5-exp ChangeSet@1.1380.5.3, 2003-10-29 16:11:19-05:00, mpm@selenic.com [NET] use the netpoll API to transmit kernel printks over UDP ChangeSet@1.1380.5.2, 2003-10-29 16:09:54-05:00, mpm@selenic.com [NET] Add netpoll support for tg3 ChangeSet@1.1380.5.1, 2003-10-29 16:09:21-05:00, mpm@selenic.com [NET] add netpoll API ChangeSet@1.1380.2.17, 2003-10-29 14:53:39-05:00, shemminger@osdl.org [PATCH] trivial -- skfp_probe should be static skfp_probe used to be called from Space.c but isn't any more. Therefore it no longer needs to be global. All the calls to insert_device() pass skfp_probe as a second arg, so just use it directly. Jeff, this also is janitor type stuff, so just put it in net-2.5-exp ChangeSet@1.1380.2.16, 2003-10-29 14:53:30-05:00, shemminger@osdl.org [PATCH] (4/6) skisa -- probe2 Convert the SK-NET TMS380 ISA card to the new probe2 format. ChangeSet@1.1380.2.15, 2003-10-29 14:53:22-05:00, shemminger@osdl.org [PATCH] (3/6) proteon -- probe2 Convert proteon token ring driver to new probing. ChangeSet@1.1380.2.14, 2003-10-29 14:53:15-05:00, shemminger@osdl.org [PATCH] (2/6) smctr -- probe2 Convert the SMC tokenring driver to new probing. ChangeSet@1.1380.2.13, 2003-10-29 14:53:07-05:00, shemminger@osdl.org [PATCH] (1/6) tokenring probing change Ugh, two patches got crossed. This is the correct first one. ChangeSet@1.1380.2.12, 2003-10-29 14:45:12-05:00, rnp@paradise.net.nz [netdrvr 3c527] fix race ChangeSet@1.1380.2.11, 2003-10-29 14:44:26-05:00, rnp@paradise.net.nz [netdrvr 3c527] whitespace changes (sync up with maintainer) ChangeSet@1.1380.2.10, 2003-10-29 14:17:36-05:00, jgarzik@redhat.com Merge redhat.com:/spare/repo/linux-2.5 into redhat.com:/spare/repo/net-drivers-2.5-exp ChangeSet@1.1337.26.21, 2003-10-14 18:52:16-04:00, shemminger@osdl.org [PATCH] (12/12) Probe2 -- 82596 Originally by Al Viro (NE23-82596) * switched 82596 to dynamic allocation * 82596: fixed resource leaks on failure exits Updated to apply agains jgarzik/net-drivers-2.5-exp ChangeSet@1.1337.26.20, 2003-10-14 18:51:14-04:00, shemminger@osdl.org [PATCH] (11/12) Probe2 -- 3c501 >From viro NE22-3c501 * switched 3c501 to dynamic allocation * 3c501: embedded ->priv * 3c501: fixed clobbering on autoprobe * 3c501: fixed resource leaks on failure exits Additional: * probe correctly when no device present * fix loop forever bug in probing * free_netdev ChangeSet@1.1337.26.19, 2003-10-14 18:50:28-04:00, shemminger@osdl.org [PATCH] (10/12) Probe2 -- wavelan Original by Al Viro (NE21-wavelan) * switched wavelan to dynamic allocation * wavelan: embedded ->priv * wavelan: fixed clobbering on autoprobe * wavelan: fixed IO before request_region() * wavelan: fixed resource leaks on failure exits * wavelan: fixed order of freeing bugs Updated to apply agains jgarzik/net-drivers-2.5-exp ChangeSet@1.1337.26.18, 2003-10-14 18:49:45-04:00, shemminger@osdl.org [PATCH] (09/12) Probe2 -- arlan Convert arlan driver to new probing. This meant a rather large rework of the probing code for this driver since it did a lot ofnon standard things. ChangeSet@1.1337.26.17, 2003-10-14 18:48:56-04:00, shemminger@osdl.org [PATCH] (08/12) Probe2 -- 3c507 Originally by Al Viro (NE19-3c507) * switched 3c507 to dynamic allocation * 3c507: embedded ->priv * 3c507: fixed clobbering on autoprobe * NB: 3c507.c buggers port 0x100 without claiming it. Most likely it should be doing request_region() there. Updated to apply agains jgarzik/net-drivers-2.5-exp ChangeSet@1.1337.26.16, 2003-10-14 18:48:10-04:00, shemminger@osdl.org [PATCH] (07/12) Probe2 -- 3c505 from viro NE18-3c505 * switched 3c505 to dynamic allocation * 3c505: embedded ->priv * 3c505: fixed use of uninitialized variable * 3c505: fixed resource leaks on failure exits Additional: * add free_netdev ChangeSet@1.1337.26.15, 2003-10-14 18:47:34-04:00, shemminger@osdl.org [PATCH] (06/12) Probe2 -- sk16 from viro NE17-sk16 * switched sk_g16 to dynamic allocation * sk_g16: embedded ->priv * sk_g16: fixed buggy check for signature (|| instead of &&, somebody forgot to replace it when inverting the test). * sk_g16: fixed use after kfree() * sk_g16: fixed init_etherdev() race Additional: * add free_netdev ChangeSet@1.1337.26.14, 2003-10-14 18:47:07-04:00, shemminger@osdl.org [PATCH] (05/12) Probe2 -- ni5010 from viro NE16-ni5010 * switched ni5010 to dynamic allocation * ni5010: embedded ->priv * ni5010: fixed clobbering ->irq * ni5010: fixed IO before request_region() Additional: * add free_netdev ChangeSet@1.1337.26.13, 2003-10-14 18:46:42-04:00, shemminger@osdl.org [PATCH] (04/12) Probe2 -- ni52 >From viro NE15-ni52 * switched ni52 to dynamic allocation * ni52: embedded ->priv * ni52: fixed clobbering of everything on autoprobe Additional: * add free_netdev ChangeSet@1.1337.26.12, 2003-10-14 18:46:24-04:00, shemminger@osdl.org [PATCH] (03/12) Probe2 -- ni65 Convert ni65 driver to new probing; patch sequence goes bottom up on the probe list. * switched ni65 to dynamic allocation * ni65: fixed ->irq and ->dma clobbering on autoprobe ChangeSet@1.1337.26.11, 2003-10-14 18:46:11-04:00, shemminger@osdl.org [PATCH] (2/12) Probe2 -- de620 Rework de620 driver to new dynamic allocation Originally by Al Viro. * switched de620 to dynamic allocation * de620: embedded ->priv * de620: fixed IO before request_region() Updated to ~jgarzik/net-drivers-2.5-exp ChangeSet@1.1337.26.10, 2003-10-14 18:46:01-04:00, shemminger@osdl.org [PATCH] (1/12) Probe2 infrastructure for 2.6 experimental New infrastructure to allow probing older builtin drivers (like ISA) Originally by Al Viro, updated to apply agains jgarzik/net-drivers-2.5-exp ChangeSet@1.1337.26.9, 2003-10-14 15:10:42-04:00, jgarzik@redhat.com [netdrvr tulip] support NAPI Contributed by Robert Ollsson. ChangeSet@1.1337.26.8, 2003-10-14 14:44:12-04:00, shemminger@osdl.org [PATCH] smctr - get rid of MOD_INC/DEC Get rid of warning now that module refcounting now done by network code not drivers. Not tested on real hardware. ChangeSet@1.1337.26.7, 2003-10-14 14:36:07-04:00, rddunlap@osdl.org [PATCH] janitor: insert missing iounmap(), add error handling Hi, Please apply to 2.6.0-test6-current. Thanks, -- ~Randy From: Leann Ogasawara Subject: Re: [Kernel-janitors] [PATCH] insert missing iounmap() > > Patch inserts a missing iounmap(). Implements a cleanup path > > for error handling as well. Feedback is much appreciated. Thanks :) ===== drivers/net/natsemi.c 1.55 vs edited ===== linux-260-test6-kj1-rddunlap/drivers/net/natsemi.c | 39 ++++++++++----------- 1 files changed, 20 insertions(+), 19 deletions(-) ChangeSet@1.1337.26.6, 2003-10-14 14:22:45-04:00, felipewd@terra.com.br [PATCH] release region in skfddi driver This is a multi-part message in MIME format. ChangeSet@1.1337.26.5, 2003-10-14 14:17:58-04:00, felipewd@terra.com.br [netdrvr 3c527] remove cli/sti Richard Procter and I worked to remove cli/sti to add proper SMP support (I did the original stuff and Richard did the actual current code :)). Besides that, Richard did a great jog improving the perfomance of the driver quite a bit: - Improve mc32_command by 770% (438% non-inlined) over the semaphore version (at a cost of 1 sem + 2 completions per driver). - Removed mutex covering mc32_send_packet (hard_start_xmit). This lets the interrupt handler operate concurrently and removes unnecessary locking. It makes the code only slightly more brittle Original post: http://marc.theaimsgroup.com/?l=linux-netdev&m=106438449315202&w=2 Since it didn't apply cleanly against 2.6.0-test6, I forward ported it. Patch attached. Jeff, please consider applying, Thanks. ChangeSet@1.1337.26.4, 2003-10-14 13:38:22-04:00, shemminger@osdl.org [PATCH] remove dev_get from wanrouter The call to dev_get() in wanrouter_device_new_if is racy and redundant and should be removed. The later 'register_netdev()' does the same test internally and will return the appropriate error if the name already exists. This patch is against 2.6.0-test6. Resend of earlier patch because it was ignored, or missed. ChangeSet@1.1337.26.3, 2003-10-14 13:38:11-04:00, romieu@fr.zoreil.com [PATCH] 2.6.0-test6 - more free_netdev() conversion Compiles ok (with true .o generated, yeah). Please review. free_netdev() of devices allocated through use of alloc_netdev(). Though baroque, drivers/net/3c515.c now uses alloc_etherdev(). drivers/net/3c515.c | 23 ++++++++++++----------- drivers/net/defxx.c | 2 +- drivers/net/dummy.c | 2 +- drivers/net/eql.c | 2 +- drivers/net/ns83820.c | 2 +- drivers/net/plip.c | 14 ++++++++++---- drivers/net/shaper.c | 11 ++++++++--- drivers/net/tun.c | 18 +++++++++--------- 9 files changed, 43 insertions(+), 31 deletions(-) ChangeSet@1.1337.26.2, 2003-10-14 13:38:01-04:00, shemminger@osdl.org [PATCH] wan/lmc -- convert to new network device model Resend of LMC driver patch for 2.6.0-test6 * do proper probing * allocate network device with alloc_netdev * use standard pci_id's instead of local defines * use standard PCI device interface to find and remove devices. ChangeSet@1.1337.26.1, 2003-10-14 13:08:15-04:00, krishnakumar@naturesoft.net [netdrvr 8139too] support netif_msg_* interface