1
linux/net/atm
Wang Chen 524ad0a791 netdevice: safe convert to netdev_priv() #part-4
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:39:10 -08:00
..
addr.c atm: use const where reasonable 2008-06-17 16:20:06 -07:00
addr.h atm: use const where reasonable 2008-06-17 16:20:06 -07:00
atm_misc.c
atm_sysfs.c net: struct device - replace bus_id with dev_name(), dev_set_name() 2008-11-10 13:55:14 -08:00
br2684.c netdevice: safe convert to netdev_priv() #part-4 2008-11-12 23:39:10 -08:00
clip.c net: replace NIPQUAD() in net/*/ 2008-10-31 00:54:56 -07:00
common.c atm: use const where reasonable 2008-06-17 16:20:06 -07:00
common.h
ioctl.c
Kconfig [ATM]: atm is no longer experimental 2008-01-28 15:00:11 -08:00
lec_arpc.h
lec.c netdevice: safe convert to netdev_priv() #part-4 2008-11-12 23:39:10 -08:00
lec.h atm: use const where reasonable 2008-06-17 16:20:06 -07:00
Makefile
mpc.c netdevice: safe convert to netdev_priv() #part-4 2008-11-12 23:39:10 -08:00
mpc.h
mpoa_caches.c net: replace NIPQUAD() in net/*/ 2008-10-31 00:54:56 -07:00
mpoa_caches.h
mpoa_proc.c [ATM]: Use proc_create() to setup ->proc_fops first 2008-02-28 13:55:45 -08:00
pppoatm.c
proc.c atm: assign PDE->data before gluing PDE into /proc tree 2008-05-02 04:08:30 -07:00
protocols.h
pvc.c
raw.c
resources.c [ATM]: Use SEQ_START_TOKEN 2008-04-10 03:33:03 -07:00
resources.h
signaling.c
signaling.h
svc.c [NET] NETNS: Omit sock->sk_net without CONFIG_NET_NS. 2008-03-26 04:39:55 +09:00