linux/drivers/net/usb
Wang Chen 8f15ea42b6 netdevice: safe convert to netdev_priv() #part-3
We have some reasons to kill netdev->priv:
1. netdev->priv is equal to netdev_priv().
2. netdev_priv() wraps the calculation of netdev->priv's offset, obviously
   netdev_priv() is more flexible than netdev->priv.
But we cann't kill netdev->priv, because so many drivers reference to it
directly.

This patch is a safe convert for netdev->priv to netdev_priv(netdev).
Since all of the netdev->priv is only for read.
But it is too big to be sent in one mail.
I split it to 4 parts and make every part smaller than 100,000 bytes,
which is max size allowed by vger.

Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-11-12 23:38:36 -08:00
..
asix.c net/usb: add support for Apple USB Ethernet Adapter 2008-05-22 06:19:30 -04:00
catc.c drivers/net: Kill now superfluous ->last_rx stores. 2008-11-03 21:11:17 -08:00
cdc_ether.c rndis_host: support WM6 devices as modems 2008-07-22 19:45:49 -04:00
cdc_subset.c USB: build fix 2008-05-20 14:14:15 -07:00
dm9601.c dm9601: runtime mac address change support 2008-10-27 15:13:29 -04:00
gl620a.c
hso.c [netdrvr] usb/hso: Cleanup rfkill error handling 2008-11-07 03:33:45 -05:00
kaweth.c USB: remove info() macro from usb network drivers 2008-10-17 14:41:10 -07:00
Kconfig net: Add SMSC LAN9500 USB2.0 10/100 ethernet adapter driver 2008-10-08 16:44:18 -07:00
Makefile drivers/net/usb/Makefile - shrink logspam 2008-10-08 17:07:40 -07:00
mcs7830.c netdevice: safe convert to netdev_priv() #part-3 2008-11-12 23:38:36 -08:00
net1080.c
pegasus.c net: convert print_mac to %pM 2008-10-27 17:06:18 -07:00
pegasus.h
plusb.c
rndis_host.c rndis_host: support WM6 devices as modems 2008-07-22 19:45:49 -04:00
rtl8150.c USB: remove info() macro from usb network drivers 2008-10-17 14:41:10 -07:00
smsc95xx.c net: convert print_mac to %pM 2008-10-27 17:06:18 -07:00
smsc95xx.h net: Add SMSC LAN9500 USB2.0 10/100 ethernet adapter driver 2008-10-08 16:44:18 -07:00
usbnet.c net: convert print_mac to %pM 2008-10-27 17:06:18 -07:00
zaurus.c