WSL2-Linux-Kernel/drivers/net/e1000e
Wang Chen 4cf1653aa9 netdevice: safe convert to netdev_priv() #part-2
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:14 -08:00
..
82571.c e1000e: add support for new 82574L part 2008-09-03 10:08:13 -04:00
Makefile e1000e: reformat comment blocks, cosmetic changes only 2008-03-28 22:14:56 -04:00
defines.h e1000e: add support for new 82574L part 2008-09-03 10:08:13 -04:00
e1000.h Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2008-10-08 14:56:41 -07:00
es2lan.c e1000e: add support for new 82574L part 2008-09-03 10:08:13 -04:00
ethtool.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2008-10-08 14:56:41 -07:00
hw.h e1000e: add support for new 82574L part 2008-09-03 10:08:13 -04:00
ich8lan.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2008-10-08 14:56:41 -07:00
lib.c e1000e: release hw semaphore after successfully writing EEPROM 2008-10-08 16:47:58 -07:00
netdev.c netdevice: safe convert to netdev_priv() #part-2 2008-11-12 23:38:14 -08:00
param.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2008-10-08 14:56:41 -07:00
phy.c e1000e: add support for new 82574L part 2008-09-03 10:08:13 -04:00