ChangeSet@1.1522, 2004-01-16 02:05:33-05:00, jgarzik@redhat.com Merge redhat.com:/spare/repo/linux-2.5 into redhat.com:/spare/repo/netdev-2.6/ALL ChangeSet@1.1503.3.38, 2004-01-15 13:19:35-05:00, jgarzik@redhat.com Merge redhat.com:/spare/repo/linux-2.5 into redhat.com:/spare/repo/netdev-2.6/ALL ChangeSet@1.1503.9.22, 2004-01-14 19:15:27-05:00, mpm@selenic.com [PATCH] fix for netpoll braindamage for 64-bit Spotted by Jim Houston on amd64. ChangeSet@1.1503.12.19, 2004-01-13 16:43:24-05:00, romieu@fr.zoreil.com [netdrvr r8169] fix phy initialization loop init ChangeSet@1.1503.11.7, 2004-01-13 15:30:03-05:00, scott.feldman@intel.com [netdrvr e100] copyright + trailing blanks + misc * Misc: 2004 copyright, remove trailing white space, remove some unused symbols. ChangeSet@1.1503.11.6, 2004-01-13 15:29:55-05:00, scott.feldman@intel.com [netdrvr e100] fix slab corruption * Addresses two problems, both resulting in slab corruption: 1) driver indicating skb while HW is still DMA'ing (ouch!), 2) driver not stopping receiver activity before downing i/f. Fix is 1) wait for RNR (receiver-no-resources) interrupt before restarting receiver, 2) reseting HW to stop receiver before stopping i/f. This issue was also reproducible with eepro100. You need to turn off the copybreak, and reduce the number of descriptors to 4. Then bang on it with pktgen with 60-byte packets, with slab debugging enabled. For e100-3.0.x, the issue was a lot easier to reproduce with NAPI, because NAPI polls independently of where the HW is at, so it's easier for us to catch HW in the middle of finishing off the last Rx (as it runs out of resources) and asking HW if it's idle. Checking the RU status is not-reliable! That's the problem, and the mistake both eepro100 and e100-3.0.x were making. The solution is rely on RNR interrupts as the only indicator that HW is truly done, and then we're ready to restart the RU. We should only get RNR interrupts when we overrun the Rx ring. With NAPI, if the ring is overrun, we'll post RNR, but not restart the RU until we're out of polling. Without NAPI, we'll restart the RU as soon as we get RNR. I ran some 24-hour tests with and without NAPI (with 4 descriptors) and didn't get any corruption. Prior to this patch, I would get many errors about slab corruption. Also, the patch is larger than you might expect, but I initially thought I was doing something wrong with managing the ring, so I that code using old fashion double-link list. The ring management wasn't the problem, after all, but I prefer the old-fashion d-link implementation as it's easier to read. ChangeSet@1.1503.3.32, 2004-01-12 19:42:58-05:00, jgarzik@redhat.com Merge redhat.com:/spare/repo/netdev-2.6/misc into redhat.com:/spare/repo/netdev-2.6/ALL ChangeSet@1.1503.18.54, 2004-01-12 17:27:00-05:00, jgarzik@redhat.com Eliminate ancient and unused include/linux/{if_pppvar,ppp}.h. Well, unused except for one silly constant in isdn_ppp.c. ChangeSet@1.1503.9.21, 2004-01-12 17:21:23-05:00, akpm@osdl.org [PATCH] fix netpoll printk bug ChangeSet@1.1503.12.18, 2004-01-12 17:19:54-05:00, romieu@fr.zoreil.com [netdrvr r8169] fix rx counter masking bug ChangeSet@1.1503.18.53, 2004-01-11 01:19:14-05:00, viro@parcelfarce.linux.theplanet.co.uk Remove unused and invalid 'struct ppp' definition from if_pppvar.h. ChangeSet@1.1503.3.28, 2004-01-10 21:07:29-05:00, jgarzik@redhat.com Merge ChangeSet@1.1503.3.26, 2004-01-10 21:02:08-05:00, jgarzik@redhat.com Merge redhat.com:/spare/repo/netdev-2.6/misc into redhat.com:/spare/repo/netdev-2.6/ALL ChangeSet@1.1503.3.25, 2004-01-10 20:59:38-05:00, jgarzik@redhat.com Merge redhat.com:/spare/repo/netdev-2.6/atmel into redhat.com:/spare/repo/netdev-2.6/ALL ChangeSet@1.1503.9.20, 2004-01-10 20:36:28-05:00, mpm@selenic.com [PATCH] netpoll carrier handling On Sat, Jan 10, 2004 at 08:04:10PM -0500, Jeff Garzik wrote: > > if you are gonna all verbal n such with 'atleast' and 'atmost', then use > time_after() rather than !time_before() ;-) tiny-mpm/net/core/netpoll.c | 16 ++++++++++++---- 1 files changed, 12 insertions(+), 4 deletions(-) ChangeSet@1.1503.9.19, 2004-01-10 20:36:21-05:00, mpm@selenic.com [PATCH] netconsole init return code tiny-mpm/drivers/net/netconsole.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) ChangeSet@1.1503.9.18, 2004-01-10 20:36:14-05:00, mpm@selenic.com [PATCH] netconsole init return code On Sat, Jan 10, 2004 at 08:07:09PM -0500, Jeff Garzik wrote: > Matt Mackall wrote: > > tiny-mpm/drivers/net/netconsole.c | 4 ++-- > > 1 files changed, 2 insertions(+), 2 deletions(-) > > > >diff -puN drivers/net/netconsole.c~netconsole-error > >drivers/net/netconsole.c > >17:40:59.000000000 -0600 > >+++ tiny-mpm/drivers/net/netconsole.c 2004-01-10 17:42:12.000000000 -0600 > >@@ -105,11 +105,11 @@ static int init_netconsole(void) > > > > if(!configured) { > > printk("netconsole: not configured, aborting\n"); > >- return 1; > >+ return -EINVAL; > > } > > > > if(netpoll_setup(&np)) > >- return 1; > >+ return -EINVAL; > > > oops. obviously I read this after I sent a previous email. > > Can you please resend the "configured" patch, which I already deleted? tiny-mpm/drivers/net/netconsole.c | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) ChangeSet@1.1503.18.52, 2004-01-10 20:16:19-05:00, shemminger@osdl.org [PATCH] bugfixes for dgrs.c Update the RightSwitch dgrs.c driver for net-drivers-2.5-exp (2.6.1-rc3) to resolve some of the outstanding cruft there. Al may have a better/newer patch. * Don't copy net_device structure on slave device! This won't work because of state variables in structure. * make sure and request_regions before doing i/o to the card * use cpu_relax rather than barrier while spin waiting * don't use dev->init to do the probing work because hard to get unwind correct * Use new pci/eisa probing model, don't search the bus directly Beneficial side effect, don't need to keep on device list anymore. * Be more careful about releaseing resources in error paths Compiled and module loaded/unloaded, but don't have this hardware. ChangeSet@1.1503.9.17, 2004-01-10 20:11:53-05:00, mpm@selenic.com [netdrvr] add netpoll support to several 8390-based drivers ChangeSet@1.1503.9.16, 2004-01-10 20:08:28-05:00, mpm@selenic.com [PATCH] netpoll abort for bad interface Fix bug freeing nonexistent dev when aborting on bad interface name. tiny-mpm/net/core/netpoll.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) ChangeSet@1.1503.3.23, 2004-01-10 19:32:19-05:00, viro@parcelfarce.linux.theplanet.co.uk [wan pci200syn] eliminate embedded hdlc_device struct ChangeSet@1.1503.3.22, 2004-01-10 19:25:35-05:00, jgarzik@redhat.com Merge redhat.com:/spare/repo/netdev-2.6/netdev-alloc-7 into redhat.com:/spare/repo/netdev-2.6/ALL ChangeSet@1.1503.18.51, 2004-01-10 19:24:27-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr s390/qeth] Alloc fixes ChangeSet@1.1503.18.50, 2004-01-10 19:23:59-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr shaper] fix double-free Fix for double-free (we do explicit free_netdev() after unregister_netdev() in shaper.c) ChangeSet@1.1503.18.49, 2004-01-10 19:23:34-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr dvb/dvb_net] fixes Don't leave dvbnet->device[...] dangling after we free the sucker ChangeSet@1.1503.18.48, 2004-01-10 19:22:49-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr arch/uml] leak fix ChangeSet@1.1503.18.47, 2004-01-10 19:21:37-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr saa9730] fix double-free Fixed double-free in saa9730.c (caller of that function does free_netdev() itself if we return an error). ChangeSet@1.1503.18.46, 2004-01-10 19:21:02-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr arm/am79c961] Fix for IO-before-request_region race ChangeSet@1.1503.18.45, 2004-01-10 19:20:29-05:00, viro@parcelfarce.linux.theplanet.co.uk [wan] leak fixes in hostess_sv11, lapbether ChangeSet@1.1503.18.44, 2004-01-10 19:19:40-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr s390/lcs] Leak fix lcs_cleanup_channel() is not enough there, we need full lcs_cleanup_card() (e.g. to free netdev) ChangeSet@1.1503.18.43, 2004-01-10 19:19:11-05:00, viro@parcelfarce.linux.theplanet.co.uk [wireless orinoco] check alloc_etherdev for failure ChangeSet@1.1503.18.42, 2004-01-10 19:18:42-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr apne] resource leak fix ChangeSet@1.1503.18.41, 2004-01-10 19:18:06-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr 3c509] Leak fixed ChangeSet@1.1503.18.40, 2004-01-10 19:17:33-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr acenic] Race and leak fixes ChangeSet@1.1503.18.39, 2004-01-10 19:16:58-05:00, viro@parcelfarce.linux.theplanet.co.uk [all over] more kfree -> free_netdev Remaining kfree -> free_netdev replacements (easy part of free_netdev() fixes) ChangeSet@1.1503.18.38, 2004-01-10 19:16:08-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr isa-skeleton] cleanups and fixes isa-skeleton.c got the same changes as actual ISA drivers - dynamic allocation, leak fixes, clobbering fixes, fix for IO-before-request_region(). ChangeSet@1.1503.18.37, 2004-01-10 19:15:29-05:00, viro@parcelfarce.linux.theplanet.co.uk [wan sdla] Fixed leaks and double-free ChangeSet@1.1503.18.36, 2004-01-10 19:15:06-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr fec] switched to sane allocation. It still leaks on failure exits, though. ChangeSet@1.1503.18.35, 2004-01-10 19:14:14-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr s390/netiucv] partially sanitized wrt allocation ChangeSet@1.1503.18.34, 2004-01-10 19:13:39-05:00, viro@parcelfarce.linux.theplanet.co.uk [wireless airo] switched to sane allocation. ChangeSet@1.1503.18.33, 2004-01-10 19:09:14-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr tun] Killed bogus ->init() ChangeSet@1.1503.18.32, 2004-01-10 19:08:47-05:00, viro@parcelfarce.linux.theplanet.co.uk [wan sealevel] Plugged a leak ChangeSet@1.1503.18.31, 2004-01-10 19:08:20-05:00, viro@parcelfarce.linux.theplanet.co.uk [wan sbni] sane net_device allocation; plug a bunch of leaks Plugged a bunch of leaks in sbni. Replaced check_region() with intended request_region() in pci probe (BTW, that bugger should be turned into normal PCI driver at some point). ChangeSet@1.1503.18.30, 2004-01-10 19:07:29-05:00, viro@parcelfarce.linux.theplanet.co.uk [wan hostess_sv11] sane net_device allocation Sane allocation in sv11. Switched it to SET_MODULE_OWNER(), while we are at it. Fixed a leak on exit and destroy-before-unregister race. ChangeSet@1.1503.18.29, 2004-01-10 19:06:53-05:00, viro@parcelfarce.linux.theplanet.co.uk [wan hdlc_fr] Switched allocation of net_device to alloc_netdev(). ChangeSet@1.1503.18.28, 2004-01-10 19:06:22-05:00, viro@parcelfarce.linux.theplanet.co.uk [wan hdlc] kill embedding of struct net_device Now we can kill the embedding of net_device into hdlc_device. Indeed, all instances of hdlc_device are created by alloc_hdlcdev() and nothing uses hdlc->netdev directly. So we can * remove hdlc->netdev * have alloc_hdlcdev() implemented via alloc_netdev() with the rest of hdlc_device as private part of net_device. * replace free_hdlcdev() with free_netdev(). * have dev_to_hdlc(dev) simply return netdev_priv(dev). ChangeSet@1.1503.18.27, 2004-01-10 19:05:38-05:00, viro@parcelfarce.linux.theplanet.co.uk [wan hdlc] removal hdlc_to_dev() No more users, we may remove it. ChangeSet@1.1503.18.26, 2004-01-10 19:05:06-05:00, viro@parcelfarce.linux.theplanet.co.uk [wan dscc4] embedded struct removal Killed embedded hdlc in dscc4 (same as for other drivers). Fixed a setup-after-registration race. That was the last user of hdlc_to_dev(); killed. ChangeSet@1.1503.18.25, 2004-01-10 19:03:28-05:00, viro@parcelfarce.linux.theplanet.co.uk [wan farsync] embedded struct hdlc_device removal Removed embedded hdlc in farsync (same as for wanxl and friends). setup-after-registration race fixed. ChangeSet@1.1503.18.24, 2004-01-10 19:02:41-05:00, viro@parcelfarce.linux.theplanet.co.uk [wan pc300] use alloc_hdlcdev()/free_hdlcdev(). Leak fixed ChangeSet@1.1503.18.23, 2004-01-10 19:02:00-05:00, viro@parcelfarce.linux.theplanet.co.uk [wan hdlc] kill embedded struct in various drivers Killed embedded hdlc in hd6457x.c derivatives (same as wanxl in previous patch) ChangeSet@1.1503.18.22, 2004-01-10 19:01:23-05:00, viro@parcelfarce.linux.theplanet.co.uk [wan hdlc] new private struct pointer in hdlc_device, and helpers for it New field in hdlc_device: void *priv; New helpers: struct net_device *alloc_hdlcdev(priv) allocates hdlc, sets ->priv and returns pointer to hdlc->netdev free_hdlcdev(dev) takes such pointer and frees its hdlc. wanxl switched to use of those; instead of embedding hdlc into card->ports[] we allocate it separately right after card had been allocated and store pointer to hdlc->netdev in card->ports[]->dev. Freeing is done just before freeing card. Pointer back to card->ports[] is stored in hdlc->priv. port_to_dev() and dev_to_port() rewritten in the obvious way; by now the rest of driver doesn't care whether hdlc is embedded or not - everything uses port_to_dev() and dev_to_port(). That killed embedded hdlc replacing it with pointer to net_device. Fairly similar work will be done in the next few patches for other drivers. Additionally, setup-after-register and free_irq()-before-unregister races had been fixed. ChangeSet@1.1503.18.21, 2004-01-10 19:00:10-05:00, viro@parcelfarce.linux.theplanet.co.uk [wan hdlc] switch register_hdlc_device() to take net_device arg register_hdlc_device()/unregister_hdlc_device() switched to net_device. Now all remaining callers of hdlc_to_dev() are isolated and we can start killing them. ChangeSet@1.1503.18.20, 2004-01-10 18:57:37-05:00, viro@parcelfarce.linux.theplanet.co.uk [wan dscc4] Uses of ->hdlc and hdlc_to_dev() encapsulated into dscc4_to_dev(). ChangeSet@1.1503.18.19, 2004-01-10 18:56:58-05:00, viro@parcelfarce.linux.theplanet.co.uk [wan hdlc] new hdlc_stats() helper New inlined helper - hdlc_stats(). A lot of places had it spelled out; replaced with calls. ChangeSet@1.1503.18.18, 2004-01-10 18:56:26-05:00, viro@parcelfarce.linux.theplanet.co.uk [wan pc300] more direct use of net_device In pc300 replaced dev->hdlc with dev->dev (hdlc to net_device). Killed a bunch of ugliness in pc300_tty.c, killed hdlc_to_dev() uses. ChangeSet@1.1503.18.17, 2004-01-10 18:55:30-05:00, viro@parcelfarce.linux.theplanet.co.uk [wan hdlc] switch internal ioctl dispatch to net_device Switched remaining ioctls to net_device, killed a bunch of hdlc_to_dev() and killed hdlc_to_name(). ChangeSet@1.1503.18.16, 2004-01-10 18:54:53-05:00, viro@parcelfarce.linux.theplanet.co.uk [wan wanxl] eliminated hdlc_to_name() uses and a bunch of port->hdlc ones. ChangeSet@1.1503.18.15, 2004-01-10 18:54:24-05:00, viro@parcelfarce.linux.theplanet.co.uk [wan hdlc_x25] eliminated hdlc_to_dev() and hdlc_to_name() uses. ChangeSet@1.1503.18.14, 2004-01-10 18:53:51-05:00, viro@parcelfarce.linux.theplanet.co.uk [wan hdlc] hdlc_fr: eliminated ->netdev, hdlc_to_dev() and hdlc_to_name() uses. ChangeSet@1.1503.18.13, 2004-01-10 18:53:17-05:00, viro@parcelfarce.linux.theplanet.co.uk [wan hdlc] hdlc_cisco: killed ->netdev, hdlc_to_name() and hdlc_to_dev() uses. ChangeSet@1.1503.18.12, 2004-01-10 18:52:47-05:00, viro@parcelfarce.linux.theplanet.co.uk [wan hdlc] hdlc->proto.*() switched to net_device. Eliminated a bunch of ->netdev and hdlc_to_dev() uses. ChangeSet@1.1503.18.11, 2004-01-10 18:51:07-05:00, viro@parcelfarce.linux.theplanet.co.uk [wan farsync] Eliminated a bunch of port->hdlc and hdlc_to_dev() uses ChangeSet@1.1503.18.10, 2004-01-10 18:50:28-05:00, viro@parcelfarce.linux.theplanet.co.uk [wan hdlc] hdlc->attach() switched to net_device. ChangeSet@1.1503.18.9, 2004-01-10 18:49:55-05:00, viro@parcelfarce.linux.theplanet.co.uk [wan hdlc] hdlc_set_carrier() switched to net_device. ChangeSet@1.1503.18.8, 2004-01-10 18:49:23-05:00, viro@parcelfarce.linux.theplanet.co.uk [wan hdlc] switch sca_xxx() to use net_device More hd6457x.c massage: sca_open(), sca_close(), sca_dump_rings() switched to net_device. Bunch of hdlc_to_port() eliminated in favor of dev_to_port(). ChangeSet@1.1503.18.7, 2004-01-10 18:48:26-05:00, viro@parcelfarce.linux.theplanet.co.uk [wan hdlc] new port_to_dev() helper New helper in hd6457x.c: port_to_dev(). A bunch of port->hdlc eliminated. ChangeSet@1.1503.18.6, 2004-01-10 18:47:42-05:00, viro@parcelfarce.linux.theplanet.co.uk [wan hdlc] hdlc_close() switched to net_device. ChangeSet@1.1503.18.5, 2004-01-10 18:44:19-05:00, viro@parcelfarce.linux.theplanet.co.uk [wan hdlc] hdlc_open() switched to net_device Beginning of hdlc fixes. hdlc_open() switched from hdlc_device to net_device. ChangeSet@1.1503.18.4, 2004-01-10 18:39:13-05:00, viro@parcelfarce.linux.theplanet.co.uk [wan lapb] kill now-unused custom token container Nothing is using lapb->token anymore; removed, along with the old "token" argument of lapb_register(). ChangeSet@1.1503.18.3, 2004-01-10 18:38:24-05:00, viro@parcelfarce.linux.theplanet.co.uk [wan lapb] Printks switched from %p lapb->token to %p lapb->dev. ChangeSet@1.1503.18.2, 2004-01-10 18:37:28-05:00, viro@parcelfarce.linux.theplanet.co.uk [wan lapb] switch to use net_device instead of custom token lapb functions that used to take a token to select lapb_cb they'll deal with are switched to getting net_device instead. Callbacks switched to using lapb->dev instead of lapb->token. ChangeSet@1.1503.18.1, 2004-01-10 18:36:15-05:00, viro@parcelfarce.linux.theplanet.co.uk [wan lapb] beginning of cleanups Beginning of lapb cleanups: lapb_register gets net_device along with the "token" and it gets stored in lapb_cb (token argument will die later). ChangeSet@1.1503.3.21, 2004-01-10 17:19:10-05:00, jgarzik@redhat.com Merge redhat.com:/spare/repo/netdev-2.6/tulip into redhat.com:/spare/repo/netdev-2.6/ALL ChangeSet@1.1503.3.20, 2004-01-10 17:17:35-05:00, jgarzik@redhat.com Merge redhat.com:/spare/repo/netdev-2.6/sk98lin into redhat.com:/spare/repo/netdev-2.6/ALL ChangeSet@1.1503.3.16, 2004-01-10 17:09:09-05:00, jgarzik@redhat.com Merge redhat.com:/spare/repo/netdev-2.6/forcedeth into redhat.com:/spare/repo/netdev-2.6/ALL ChangeSet@1.1503.3.15, 2004-01-10 17:07:34-05:00, jgarzik@redhat.com Merge redhat.com:/spare/repo/netdev-2.6/e100-2 into redhat.com:/spare/repo/netdev-2.6/ALL ChangeSet@1.1503.3.11, 2004-01-10 16:59:31-05:00, jgarzik@redhat.com Merge redhat.com:/spare/repo/netdev-2.6/8139too into redhat.com:/spare/repo/netdev-2.6/ALL ChangeSet@1.1503.4.138, 2004-01-10 16:57:53-05:00, jgarzik@redhat.com Merge ChangeSet@1.1503.4.137, 2004-01-10 16:54:22-05:00, jgarzik@redhat.com Merge redhat.com:/spare/repo/netdev-2.6/misc into redhat.com:/spare/repo/netdev-2.6/ALL ChangeSet@1.1503.4.136, 2004-01-10 16:52:22-05:00, jgarzik@redhat.com Merge ChangeSet@1.1503.12.17, 2004-01-10 16:47:18-05:00, romieu@fr.zoreil.com [netdrvr r8169] fix oops by removing __devinitdata marker ChangeSet@1.1503.17.29, 2004-01-10 16:47:03-05:00, amir.noam@intel.com [PATCH] [bonding 2.6] Use the per-bond values of all remaining parameters Change usage of the all remaining global parameters to the per-bond values. ChangeSet@1.1503.17.28, 2004-01-10 16:46:50-05:00, amir.noam@intel.com [PATCH] [bonding 2.6] Use the per-bond value of the bond_mode parameter Change usage of the global 'bond_mode' parameter to the per-bond value. ChangeSet@1.1503.17.27, 2004-01-10 16:46:38-05:00, amir.noam@intel.com [PATCH] [bonding 2.6] Save parameters in a per-bond data structure - Save the bonding parameters in a per-bond data structure. - Move all handling of the insmod parameters to bond_check_params(). - Fix the handling of some warning messages regarding parameter use. ChangeSet@1.1503.17.26, 2004-01-10 16:46:26-05:00, shmulik.hen@intel.com [netdrvr bonding] trivial - Update comment blocks and version field Update comment blocks, version field and copyright years to match all the recent changes that were accepted into 2.4/2.6. ChangeSet@1.1503.12.16, 2004-01-10 16:46:10-05:00, romieu@fr.zoreil.com [PATCH] 2.6.1-rc1-mm1 - typo of death in the r8169 driver silly bug in the r8169 driver. ChangeSet@1.1503.17.25, 2004-01-10 16:45:35-05:00, amir.noam@intel.com [PATCH] [bonding 2.6] Fix compilation warning in bond_alb.c The IPX_TYPE_* constants and ipxhdr.ipx_type are u8 values, so we shouldn't use __constant_htons(). ChangeSet@1.1503.17.24, 2004-01-10 16:45:24-05:00, amir.noam@intel.com [netdrvr bonding] fix build breakage ChangeSet@1.1503.10.12, 2004-01-10 16:45:02-05:00, scott.feldman@intel.com [netdrvr e1000] back out CSA interrupt fix * 8086:1019 82547 CSA-based LOMs lock up the system with this code, so let's revert back to what's in 2.6.0 until we can figure out why this is causing problems. ChangeSet@1.1503.10.11, 2004-01-10 16:44:47-05:00, scott.feldman@intel.com [netdrvr e1000] netpoll support * Add netpoll support. [Prasanna S. Panshamukhi (prasanna@in.ibm.com)] ChangeSet@1.1503.10.10, 2004-01-10 16:44:34-05:00, scott.feldman@intel.com [netdrvr e1000] h/w workarounds + remove device ID. * Remove device ID 8086:1014 support: never a production ID. * Add #define for stripping CRC on Rx. * Added polarity reversal workaround for forced 10Mbps on 82543/4 controllers. The polirity detection algorithm check the link pulse to see if the polarity is reversed. The end of packet waveform of 10Base-T packets look like an inverted link pulse and can make 82443/4 polarity detection algorithms think that the polarity is reversed by mistake. * Change the condition for applying the TBI workaround on 82543: previously enabled workaround if link partner advertised capabilities; now enable based on negotiated speed - only enable for gig speed. ChangeSet@1.1503.11.5, 2004-01-10 16:44:01-05:00, scott.feldman@intel.com [netdrvr e100] netpoll + fixes to speed/duplex forced settings * Preserve forced speed/duplex settings during close/open sequence. * Reset PHY when going from autoneg to forced speed/duplex settings using ethtool. * Add netpoll support. ChangeSet@1.1503.17.23, 2004-01-10 16:41:26-05:00, amir.noam@intel.com [netdrvr bonding] Add support for slaves that use ethtool_ops When collecting link information from slaves via ETHTOOL, first try using the relevant ethtool_ops functions. ChangeSet@1.1503.17.22, 2004-01-10 16:41:17-05:00, amir.noam@intel.com [netdrvr bonding] Releasing the original active slave causes mac address duplication When releasing the active slave in TLB/ALB modes, bond_alb_deinit_slave() must be called before trying to select a new active slave. ChangeSet@1.1503.17.21, 2004-01-10 16:41:08-05:00, amir.noam@intel.com [netdrvr bonding] Cannot remove and re-enslave the original active slave In TLB/ALB modes, when enslaving a slave that has the bond's mac address, allow the operation if no other slave has that address. Should be applied after the cleanup patch set. ChangeSet@1.1503.4.135, 2004-01-10 16:39:07-05:00, akpm@osdl.org [netdrvr] new-probe warning fix ChangeSet@1.1503.9.15, 2004-01-10 16:38:55-05:00, pavel@ucw.cz [netdrvr via-rhine] add netpoll support ChangeSet@1.1503.4.134, 2004-01-10 16:38:35-05:00, rmk@arm.linux.org.uk [irda sa1100_ir] "resurrect from bitrot hell" - Don't dereference net device in suspend/resume methods until we know the device data has actually been set. - Remove deprecated MOD_INC_USE_COUNT/MOD_DEC_USE_COUNT - System devices in their original form are long since dead. Convert to using a platform device. - Convert to parameters to moduleparam format. - Use register_netdev not register_netdevice - the latter causes us to register "irda%d" as the device name rather than a properly formatted device name. ChangeSet@1.1503.4.133, 2004-01-10 16:38:22-05:00, viro@parcelfarce.linux.theplanet.co.uk [irda sa1100_ir] convert to using standard alloc_irdadev() ChangeSet@1.1503.17.20, 2004-01-10 16:38:02-05:00, jgarzik@redhat.com [netdrvr bonding] fix broken build ChangeSet@1.1503.4.132, 2004-01-10 16:35:42-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr ibmtr, ibmtr_cs] cleanup and leak fixes. ChangeSet@1.1503.4.131, 2004-01-10 16:35:33-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr pcnet32] Added missing check and cleanup for register_netdev() failure in pcnet32 ChangeSet@1.1503.4.130, 2004-01-10 16:35:24-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr 8390] Forgotten return 0; removed ChangeSet@1.1503.4.129, 2004-01-10 16:35:16-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr] A bunch of gratitious ->init() killed; several leaks plugged. Drivers updated: eth1394, baycom_epp, lp486e, plip, 3c359, olympic, tms380tr. ChangeSet@1.1503.4.128, 2004-01-10 16:35:07-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr ibmlana] ibmlana switched to sane allocation, leaks fixed ChangeSet@1.1503.4.127, 2004-01-10 16:34:59-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr ns83820] Plugs the races around too early register_netdev() ChangeSet@1.1503.4.126, 2004-01-10 16:34:50-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr ns83820] Switched to sane net_device allocation ChangeSet@1.1503.17.19, 2004-01-10 16:32:54-05:00, shmulik.hen@intel.com [PATCH] bonding cleanup 2.6 - Fix rejects from previous patches According to Jeff's recommendations: o Put constant expressions in a constant. o Put parentheses in calculations to improve readability. o Remove redundant cast from void pointer. ChangeSet@1.1503.17.18, 2004-01-10 16:32:45-05:00, shmulik.hen@intel.com [PATCH] bonding cleanup 2.6 - Code re-org Code re-organization in bond_main.c according to context (e.g. module initialization, bond initialization, device entry points, monitoring, etc). ChangeSet@1.1503.17.17, 2004-01-10 16:32:37-05:00, shmulik.hen@intel.com [PATCH] bonding cleanup 2.6 - fix indentations. ChangeSet@1.1503.17.16, 2004-01-10 16:32:08-05:00, shmulik.hen@intel.com [PATCH] bonding cleanup 2.6 - empty lines cleanup Remove duplicate empty lines. add empty lines where needed to improve readability. ChangeSet@1.1503.17.15, 2004-01-10 16:32:00-05:00, shmulik.hen@intel.com [PATCH] bonding cleanup 2.6 - Whitespace cleanup Chomp all trailing white space. ChangeSet@1.1503.17.14, 2004-01-10 16:31:51-05:00, shmulik.hen@intel.com [PATCH] bonding cleanup 2.6 - Consolidate error handling in all xmit functions ChangeSet@1.1503.17.13, 2004-01-10 16:31:43-05:00, shmulik.hen@intel.com [PATCH] bonding cleanup 2.6 - Consolidate conditions & statements Put curly braces around all if, else, for, while, switch statements. Change conditions to short format. g. (ptr == NULL) ==> (!ptr). ChangeSet@1.1503.17.12, 2004-01-10 16:31:34-05:00, shmulik.hen@intel.com [PATCH] bonding cleanup 2.6 - consolidate return values of functions. ChangeSet@1.1503.17.11, 2004-01-10 16:31:26-05:00, shmulik.hen@intel.com [PATCH] bonding cleanup 2.6 - Re-org struct bonding members (re-send) Change names/types for some of the members in struct bonding. Change position of members. ChangeSet@1.1503.17.10, 2004-01-10 16:31:17-05:00, shmulik.hen@intel.com [PATCH] bonding cleanup 2.6 - consolidate param names of function params and variables Consolidate names of function params and variables e.g. bond_dev instead of dev/master/master_dev. ChangeSet@1.1503.17.9, 2004-01-10 16:31:09-05:00, shmulik.hen@intel.com [PATCH] bonding cleanup 2.6 - Consolidate function declarations All functions begin with bond_ Return value, function name and all params are on the same line. ChangeSet@1.1503.17.8, 2004-01-10 16:31:00-05:00, shmulik.hen@intel.com [PATCH] bonding cleanup 2.6 - Fix slave list iteration bond is no longer part of the list. Added cyclic list iteration macros. ChangeSet@1.1503.17.7, 2004-01-10 16:30:51-05:00, shmulik.hen@intel.com [PATCH] bonding cleanup 2.6 - Remove multicast_mode module param Eliminate the multicast_mode module param. Settings are now done only according to mode. ChangeSet@1.1503.17.6, 2004-01-10 16:30:22-05:00, shmulik.hen@intel.com [PATCH] bonding cleanup 2.6 - Fix handling of bond->primary Fix all locations that handles bond->primary. Convert too long if-else to a switch-case. ChangeSet@1.1503.17.5, 2004-01-10 16:30:14-05:00, shmulik.hen@intel.com [PATCH] bonding cleanup 2.6 - Consolidate timer handling Consolidate timers initialization, error checking and re-queuing. ChangeSet@1.1503.17.4, 2004-01-10 16:30:05-05:00, shmulik.hen@intel.com [PATCH] bonding cleanup 2.6 - remove dead code Removed dead code and redundant checks. ChangeSet@1.1503.17.3, 2004-01-10 16:29:57-05:00, shmulik.hen@intel.com [PATCH] bonding cleanup 2.6 - death of typedefs Eliminate bonding_t/slave_t types and consolidate casting. ChangeSet@1.1503.17.2, 2004-01-10 16:29:48-05:00, shmulik.hen@intel.com [PATCH] bonding cleanup 2.6 - Consolidate prints Convert all debug prints to use the dprintk macro and consolidate format of all prints (e.g. "bonding: Error: ..."). ChangeSet@1.1503.17.1, 2004-01-10 16:29:39-05:00, shmulik.hen@intel.com [PATCH] bonding cleanup 2.6 - Simplify ifenslave ifenslave lite - No more IP settings to slaves, unified printing format, code re-org and broken to more functions. ChangeSet@1.1503.11.4, 2004-01-10 16:25:23-05:00, jgarzik@redhat.com [netdrvr e100] include linux/moduleparam.h Fixes build. ChangeSet@1.1503.4.125, 2004-01-10 16:24:56-05:00, shemminger@osdl.org [netdrvr skfddi] use PCI hotplug API; other cleanups Third revision of the cleanup of skfddi driver. * use new pci device bus initialization * allocate network device with alloc_fddidev and use dev->priv * get rid of special module/non module distinctions. * fix error unwinds and return values on initialization * call driver_init directly not via register_netdev * reset internal queue count after purge * get rid of h[iy]sterical comment that is no longer true about warnings ChangeSet@1.1503.11.3, 2004-01-10 16:19:08-05:00, scott.feldman@intel.com [e100] 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@debian.org]). * MODULE_PARM -> module_param * Bug printk after register_netdev to identify nic details. * misc cleanups. ChangeSet@1.1503.12.15, 2004-01-10 16:11:57-05:00, romieu@fr.zoreil.com [netdrvr r8169] Stats fix (Fernando Alencar MarĂ³tica ). ChangeSet@1.1503.12.14, 2004-01-10 16:11:40-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.1503.4.124, 2004-01-10 16:10:43-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr axnet_cs] use embedded private struct ChangeSet@1.1503.4.123, 2004-01-10 16:10:35-05:00, viro@parcelfarce.linux.theplanet.co.uk [NET] s/kfree/free_netdev/ in bridge driver ChangeSet@1.1503.4.122, 2004-01-10 16:10:26-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr 8390] convert 8390 lib to use const-offset priv struct ChangeSet@1.1503.4.121, 2004-01-10 16:10:18-05:00, viro@parcelfarce.linux.theplanet.co.uk [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@1.1503.4.120, 2004-01-10 16:10:09-05:00, viro@parcelfarce.linux.theplanet.co.uk [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@1.1503.4.119, 2004-01-10 16:10:01-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr] convert most 8390 drivers to using alloc_ei_netdev() ChangeSet@1.1503.4.118, 2004-01-10 16:09:52-05:00, viro@parcelfarce.linux.theplanet.co.uk [wireless wl3501_cs] remove unused constructor ChangeSet@1.1503.4.117, 2004-01-10 16:09:43-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr] s/kfree/free_netdev/ where appropriate Affected drivers: ixgb, sk98lin, ibmtr, airport, orinoco, wl3501_cs ChangeSet@1.1503.4.116, 2004-01-10 16:09:05-05:00, viro@parcelfarce.linux.theplanet.co.uk [atm clip] convert to using alloc_netdev(), const-offset priv ChangeSet@1.1503.4.115, 2004-01-10 16:08:56-05:00, viro@parcelfarce.linux.theplanet.co.uk [pcmcia] synclink_cs] convert net_device to dynamic allocation ChangeSet@1.1503.4.114, 2004-01-10 16:08:48-05:00, viro@parcelfarce.linux.theplanet.co.uk [char synclinkmp] convert net_device to dynamic allocation ChangeSet@1.1503.4.113, 2004-01-10 16:08:39-05:00, viro@parcelfarce.linux.theplanet.co.uk [hamradio dmascc] convert embedded net_device to dynamic allocation ChangeSet@1.1503.4.112, 2004-01-10 16:08:30-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.1503.3.10, 2004-01-10 16:02:24-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.1503.3.9, 2004-01-10 16:02:12-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.1503.12.13, 2004-01-10 16:01:37-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.1503.12.12, 2004-01-10 16:01:28-05:00, romieu@fr.zoreil.com [netdrvr r8169] Suspend/resume code (Fernando Alencar MarĂ³tica). ChangeSet@1.1503.12.11, 2004-01-10 16:01:20-05:00, romieu@fr.zoreil.com [netdrvr r8169] Modification of the interrupt mask (RealTek). ChangeSet@1.1503.12.10, 2004-01-10 16:01:11-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.1503.12.9, 2004-01-10 16:01:03-05:00, romieu@fr.zoreil.com [netdrvr r8169] Merge of changes from Realtek: - register voodoo in rtl8169_hw_start(). ChangeSet@1.1503.12.8, 2004-01-10 16:00:54-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.1503.12.7, 2004-01-10 16:00:46-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.1503.12.6, 2004-01-10 16:00:37-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.1503.9.14, 2004-01-10 15:57:15-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.1503.9.13, 2004-01-10 15:57:03-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.11.2, 2004-01-10 15:56:28-05:00, scott.feldman@intel.com [netdrvr] e100 version 3 (complete rewrite) ChangeSet@1.1503.4.111, 2004-01-10 15:49:45-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.1503.4.110, 2004-01-10 15:48:50-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.1503.3.8, 2004-01-10 15:48:03-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.1503.3.7, 2004-01-10 15:47:49-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.1503.3.6, 2004-01-10 15:47:40-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.1503.3.5, 2004-01-10 15:47:31-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.1503.12.5, 2004-01-10 15:47:04-05:00, romieu@fr.zoreil.com [netdrvr r8169] Rx copybreak for small packets. - removal of rtl8169_unmap_rx() (unneeded as for now). ChangeSet@1.1503.4.109, 2004-01-10 15:46:31-05:00, viro@parcelfarce.linux.theplanet.co.uk [wan cosa] netdev dyamic alloc ChangeSet@1.1503.4.108, 2004-01-10 15:46:22-05:00, viro@parcelfarce.linux.theplanet.co.uk [wan synclink] netdev dynamic alloc ChangeSet@1.1503.4.107, 2004-01-10 15:46:14-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr ppp] netdev dynamic alloc; convert ppp_net_init to alloc_netdev setup function ChangeSet@1.1503.4.106, 2004-01-10 15:46:05-05:00, viro@parcelfarce.linux.theplanet.co.uk [arcnet] create and use alloc_arcdev helper ChangeSet@1.1503.4.105, 2004-01-10 15:45:57-05:00, viro@parcelfarce.linux.theplanet.co.uk [arcnet com90xx] netdev dynamic alloc; module params; fix bugs ChangeSet@1.1503.4.104, 2004-01-10 15:44:34-05:00, viro@parcelfarce.linux.theplanet.co.uk [arcnet com20020] netdev dynamic alloc; module params; fix bugs ChangeSet@1.1503.4.103, 2004-01-10 15:44:26-05:00, viro@parcelfarce.linux.theplanet.co.uk [arcnet arc-rimi] use alloc_netdev; module params; fix bugs on error/cleanup ChangeSet@1.1503.4.102, 2004-01-10 15:44:17-05:00, viro@parcelfarce.linux.theplanet.co.uk [arcnet com90io] use alloc_netdev ChangeSet@1.1503.4.101, 2004-01-10 15:44:09-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.1503.4.100, 2004-01-10 15:44:00-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr ne3210] remove #if 0'd code ChangeSet@1.1503.4.99, 2004-01-10 15:43:52-05:00, viro@parcelfarce.linux.theplanet.co.uk [wireless ray_cs] use alloc_etherdev ChangeSet@1.1503.4.98, 2004-01-10 15:43:43-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr meth] use alloc_etherdev; fix leaks on error/cleanup ChangeSet@1.1503.4.97, 2004-01-10 15:43:35-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr qeth] use alloc_etherdev instead of hand-allocating struct net_device ChangeSet@1.1503.12.4, 2004-01-10 15:42:42-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.1503.12.3, 2004-01-10 15:42:34-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.1503.12.2, 2004-01-10 15:42:25-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.1503.12.1, 2004-01-10 15:41:42-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.1503.3.4, 2004-01-10 15:38:49-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.1503.3.3, 2004-01-10 15:38:19-05:00, xose@wanadoo.es [PATCH] more RTL-8139 clone boards ChangeSet@1.1503.4.96, 2004-01-10 15:38:01-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.1503.4.95, 2004-01-10 15:37:32-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.1503.9.12, 2004-01-10 15:37:13-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.1503.9.11, 2004-01-10 15:37:02-05:00, mpm@selenic.com [PATCH] netpoll: fix compilation with CONFIG_NETPOLL_RX Fix compilation without CONFIG_NETPOLL_RX ChangeSet@1.1503.4.94, 2004-01-10 15:35:07-05:00, jgarzik@redhat.com [netdrvr] remove init_etherdev mentions in Doc/SubmittingPatches, atari_pamsnet.c ChangeSet@1.1503.3.2, 2004-01-10 15:34:47-05:00, jgarzik@redhat.com [netdrvr] remove Documentation/networking/8139too.txt All sections of the document are woefully outdated. ChangeSet@1.1503.4.93, 2004-01-10 15:34:16-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr lasi_82596] remove ether_setup() call, fix leak in probe ChangeSet@1.1503.4.92, 2004-01-10 15:34:08-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.1503.8.2, 2004-01-10 15:33:10-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.1503.4.91, 2004-01-10 15:32:44-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr xircom_tulip_cb] remove bogus unregister_netdev call; use free_netdev ChangeSet@1.1503.4.90, 2004-01-10 15:32:36-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr stnic] fix typo from last stnic cset ChangeSet@1.1503.4.89, 2004-01-10 15:32:27-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr iph5526] use SET_MODULE_OWNER; small typedef cleanup ChangeSet@1.1503.4.88, 2004-01-10 15:32:19-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr pcmcia] s/kfree/free_netdev/ ChangeSet@1.1503.4.87, 2004-01-10 15:31:52-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr ether00] s/kfree/free_netdev/ ; remove redundant memset() calls ChangeSet@1.1503.4.86, 2004-01-10 15:31:43-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr] s/kfree/free_netdev/ where appropriate ChangeSet@1.1503.4.85, 2004-01-10 15:31:34-05:00, viro@parcelfarce.linux.theplanet.co.uk [wireless wavelan{_cs}] use alloc_etherdev; remove useless net_device* typedef ChangeSet@1.1503.4.84, 2004-01-10 15:31:25-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr de600] use alloc_etherdev; request_region fixes ChangeSet@1.1503.4.83, 2004-01-10 15:31:17-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr atp] use alloc_etherdev, clean up probing ChangeSet@1.1503.4.82, 2004-01-10 15:31:08-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr depca] fix leaks on error ChangeSet@1.1503.4.81, 2004-01-10 15:31:00-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr saa9730] use alloc_etherdev, annotate bugs found but not fixed ChangeSet@1.1503.4.80, 2004-01-10 15:30:51-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr stnic] use alloc_etherdev ChangeSet@1.1503.4.79, 2004-01-10 15:30:43-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr sgiseeq] alloc_etherdev, SET_MODULE_OWNER, fix leaks on error ChangeSet@1.1503.4.78, 2004-01-10 15:30:34-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr sb1250-mac] alloc_etherdev, fix leaks on error ChangeSet@1.1503.4.77, 2004-01-10 15:30:05-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr au1000_eth] alloc_etherdev, SET_MODULE_OWNER, fix leaks/small bugs ChangeSet@1.1503.4.76, 2004-01-10 15:29:56-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr zorro8390] alloc_etherdev, SET_MODULE_OWNER ChangeSet@1.1503.4.75, 2004-01-10 15:29:48-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr mace] alloc_etherdev, fix leaks on error ChangeSet@1.1503.4.74, 2004-01-10 15:29:39-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr znet] alloc_etherdev, SET_MODULE_OWNER, remove #ifdef MODULE ChangeSet@1.1503.4.73, 2004-01-10 15:29:31-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr oaknet] use alloc_etherdev, fix leaks ChangeSet@1.1503.4.72, 2004-01-10 15:29:22-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr hydra] use alloc_etherdev ChangeSet@1.1503.4.71, 2004-01-10 15:29:14-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr gt96100eth] use alloc_etherdev, fix leaks ChangeSet@1.1503.4.70, 2004-01-10 15:29:05-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr declance] use alloc_etherdev ChangeSet@1.1503.4.69, 2004-01-10 15:28:57-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr ariadne] use alloc_etherdev ChangeSet@1.1503.4.68, 2004-01-10 15:28:48-05:00, viro@parcelfarce.linux.theplanet.co.uk [netdrvr a2065] convert to alloc_etherdev ChangeSet@1.1503.4.67, 2004-01-10 15:28:16-05:00, jgarzik@redhat.com [netdrvr tc35815] switch to using alloc_etherdev Also handle ioremap failure. ChangeSet@1.1503.4.66, 2004-01-10 15:28:07-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.1503.11.1, 2004-01-10 15:26:23-05:00, scott.feldman@intel.com [e100] missed a kfree -> free_netdev * missed a kfree -> free_netdev ChangeSet@1.1503.10.9, 2004-01-10 15:20:59-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.1503.10.8, 2004-01-10 15:20:50-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.1503.10.7, 2004-01-10 15:20:42-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.1503.10.6, 2004-01-10 15:20:33-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.1503.10.5, 2004-01-10 15:20:25-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.1503.10.4, 2004-01-10 15:20:16-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.1503.10.3, 2004-01-10 15:20:08-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.1503.10.2, 2004-01-10 15:19:59-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.1503.10.1, 2004-01-10 15:19:51-05:00, scott.feldman@intel.com [e1000] add ethtool ring param support * Add ethtool ring param support ChangeSet@1.1503.4.65, 2004-01-10 15:14:23-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.1503.4.64, 2004-01-10 15:10:47-05:00, jgarzik@redhat.com [netdrvr 3c515] fix non-modular build ChangeSet@1.1503.4.63, 2004-01-10 15:10:36-05:00, shemminger@osdl.org [PATCH] (41/42) sun3_lance NE67-sun3lance * switched to dynamic allocation * fixed resource leaks on failure exits ChangeSet@1.1503.4.62, 2004-01-10 15:10:27-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.1503.4.61, 2004-01-10 15:10:19-05:00, shemminger@osdl.org [PATCH] (39/42) apne NE64-apne * switched to dynamic allocation * fixed resource leaks on failure exits ChangeSet@1.1503.4.60, 2004-01-10 15:09:47-05:00, shemminger@osdl.org [PATCH] (38/42) bionet NE63-bionet * switched to dynamic allocation * fixed resource leaks on failure exits ChangeSet@1.1503.4.59, 2004-01-10 15:09:38-05:00, shemminger@osdl.org [PATCH] (37/42) pamsnet NE62-pamsnet * switched to dynamic allocation * fixed resource leaks on failure exits ChangeSet@1.1503.4.58, 2004-01-10 15:09:30-05:00, shemminger@osdl.org [PATCH] (36/42) hplance NE61-hplance * switched to dynamic allocation * fixed resource leaks on failure exits ChangeSet@1.1503.4.57, 2004-01-10 15:09:21-05:00, shemminger@osdl.org [PATCH] (35/42) mvme147 NE60-mvme147lance * switched to dynamic allocation * fixed resource leaks on failure exits ChangeSet@1.1503.4.56, 2004-01-10 15:09:12-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.1503.4.55, 2004-01-10 15:09:04-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.1503.4.54, 2004-01-10 15:08:56-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.1503.4.53, 2004-01-10 15:08:47-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.1503.4.52, 2004-01-10 15:08:39-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.1503.4.51, 2004-01-10 15:08:30-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.1503.4.50, 2004-01-10 15:07:58-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.1503.4.49, 2004-01-10 15:07:50-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.1503.4.48, 2004-01-10 15:07:41-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.1503.4.47, 2004-01-10 15:07:33-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.1503.4.46, 2004-01-10 15:07:24-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.1503.4.45, 2004-01-10 15:07:16-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.1503.4.44, 2004-01-10 15:06:43-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.1503.4.43, 2004-01-10 14:55:54-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.1503.4.42, 2004-01-10 14:55:45-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.1503.4.41, 2004-01-10 14:55:37-05:00, shemminger@osdl.org [PATCH] (19/42) 3c515-T10 NE43-3c515 * convert to dynamic allocation * fixed up device list handling ChangeSet@1.1503.4.40, 2004-01-10 14:55:19-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.1503.4.39, 2004-01-10 14:55:11-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.1503.4.38, 2004-01-10 14:55:02-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.1503.4.37, 2004-01-10 14:54:54-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.1503.4.36, 2004-01-10 14:54:45-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.1503.4.35, 2004-01-10 14:54:37-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.1503.4.34, 2004-01-10 14:54:28-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.1503.4.33, 2004-01-10 14:54:20-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.1503.4.32, 2004-01-10 14:54:11-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.1503.4.31, 2004-01-10 14:54:03-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.1503.4.30, 2004-01-10 14:53:20-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.1503.4.29, 2004-01-10 14:53:12-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.1503.4.28, 2004-01-10 14:53:03-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.1503.4.27, 2004-01-10 14:52:55-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.1503.4.26, 2004-01-10 14:52:46-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.1503.4.25, 2004-01-10 14:52:38-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.1503.4.24, 2004-01-10 14:52:29-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.1503.4.23, 2004-01-10 14:52:21-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.1503.4.22, 2004-01-10 14:49:59-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.1503.4.21, 2004-01-10 14:49:46-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.1503.9.10, 2004-01-10 14:49:21-05:00, shemminger@osdl.org [PATCH] 3c59x netpoll typo Poll code (in net-drivers-2.5-exp) was calling undefined function. ChangeSet@1.1503.4.20, 2004-01-10 14:48:59-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.1503.9.9, 2004-01-10 14:48:22-05:00, ak@muc.de [PATCH] netpoll for eepro100 netpoll for eepro100 This was in Ingo's old original netconsole patches. ChangeSet@1.1503.9.8, 2004-01-10 14:48:13-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.1503.9.7, 2004-01-10 14:48:05-05:00, ak@muc.de [PATCH] Netpoll for pcnet32 netpoll for pcnet32 ChangeSet@1.1503.9.6, 2004-01-10 14:47:56-05:00, ak@muc.de [PATCH] netpoll for amd8111e netpoll for amd8111e ChangeSet@1.1503.9.5, 2004-01-10 14:47:48-05:00, ak@muc.de [PATCH] netpoll for tulip Netpoll for tulip. Uses disable_irq() because tulip is unfortunately still lockless. ChangeSet@1.1503.9.4, 2004-01-10 14:47:39-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.1503.9.3, 2004-01-10 14:46:33-05:00, mpm@selenic.com [NET] use the netpoll API to transmit kernel printks over UDP ChangeSet@1.1503.9.2, 2004-01-10 14:46:16-05:00, mpm@selenic.com [NET] Add netpoll support for tg3 ChangeSet@1.1503.9.1, 2004-01-10 14:45:17-05:00, mpm@selenic.com [NET] add netpoll API ChangeSet@1.1503.4.19, 2004-01-10 14:40:28-05:00, shemminger@osdl.org [PATCH] (4/6) skisa -- probe2 Convert the SK-NET TMS380 ISA card to the new probe2 format. ChangeSet@1.1503.4.18, 2004-01-10 14:40:13-05:00, shemminger@osdl.org [PATCH] (3/6) proteon -- probe2 Convert proteon token ring driver to new probing. ChangeSet@1.1503.4.17, 2004-01-10 14:40:02-05:00, shemminger@osdl.org [PATCH] (2/6) smctr -- probe2 Convert the SMC tokenring driver to new probing. ChangeSet@1.1503.4.16, 2004-01-10 14:39:50-05:00, shemminger@osdl.org [PATCH] (1/6) tokenring probing change Ugh, two patches got crossed. This is the correct first one. ChangeSet@1.1503.4.15, 2004-01-10 14:37:06-05: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.1503.4.14, 2004-01-10 14:36:57-05: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.1503.4.13, 2004-01-10 14:36:49-05: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.1503.4.12, 2004-01-10 14:36:40-05: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.1503.4.11, 2004-01-10 14:36:32-05: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.1503.4.10, 2004-01-10 14:36:23-05: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.1503.4.9, 2004-01-10 14:36:15-05: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.1503.4.8, 2004-01-10 14:36:06-05: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.1503.4.7, 2004-01-10 14:35:58-05: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.1503.4.6, 2004-01-10 14:35:49-05: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.1503.4.5, 2004-01-10 14:35:40-05: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.1503.4.4, 2004-01-10 14:34:27-05: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.1503.8.1, 2004-01-10 14:33:04-05:00, jgarzik@redhat.com [netdrvr tulip] support NAPI Contributed by Robert Ollsson. ChangeSet@1.1503.4.3, 2004-01-10 14:12:35-05: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.1503.4.2, 2004-01-10 14:11:09-05: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.1503.4.1, 2004-01-10 14:10:30-05: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.1503.3.1, 2004-01-10 14:07:08-05:00, krishnakumar@naturesoft.net [netdrvr 8139too] support netif_msg_* interface