- 10 Jan, 2004 40 commits
-
-
Alexander Viro authored
No more users, we may remove it.
-
Alexander Viro authored
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.
-
Alexander Viro authored
Removed embedded hdlc in farsync (same as for wanxl and friends). setup-after-registration race fixed.
-
Alexander Viro authored
-
Alexander Viro authored
Killed embedded hdlc in hd6457x.c derivatives (same as wanxl in previous patch)
-
Alexander Viro authored
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.
-
Alexander Viro authored
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.
-
Alexander Viro authored
-
Alexander Viro authored
New inlined helper - hdlc_stats(). A lot of places had it spelled out; replaced with calls.
-
Alexander Viro authored
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.
-
Alexander Viro authored
Switched remaining ioctls to net_device, killed a bunch of hdlc_to_dev() and killed hdlc_to_name().
-
Alexander Viro authored
-
Alexander Viro authored
-
Alexander Viro authored
-
Alexander Viro authored
-
Alexander Viro authored
Eliminated a bunch of ->netdev and hdlc_to_dev() uses.
-
Alexander Viro authored
-
Alexander Viro authored
-
Alexander Viro authored
-
Alexander Viro authored
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().
-
Alexander Viro authored
New helper in hd6457x.c: port_to_dev(). A bunch of port->hdlc eliminated.
-
Alexander Viro authored
-
Alexander Viro authored
Beginning of hdlc fixes. hdlc_open() switched from hdlc_device to net_device.
-
Alexander Viro authored
Nothing is using lapb->token anymore; removed, along with the old "token" argument of lapb_register().
-
Alexander Viro authored
-
Alexander Viro authored
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.
-
Alexander Viro authored
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).
-
Andrew Morton authored
-
Russell King authored
- 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.
-
Alexander Viro authored
-
Alexander Viro authored
-
Alexander Viro authored
-
Alexander Viro authored
-
Alexander Viro authored
Drivers updated: eth1394, baycom_epp, lp486e, plip, 3c359, olympic, tms380tr.
-
Alexander Viro authored
-
Alexander Viro authored
-
Alexander Viro authored
-
Stephen Hemminger authored
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
-
Alexander Viro authored
-
Alexander Viro authored
-