OpenCloudOS-Kernel/drivers/net/e1000e
Joe Perches 2a88719197 [E1000E]: convert register test macros to functions
Add functions for reg_pattern_test and reg_set_and check
Changed macros to use these functions

Compiled x86, untested

Size decreased ~2K

old:

$ size drivers/net/e1000e/ethtool.o
   text    data     bss     dec     hex filename
  14461       0       0   14461    387d drivers/net/e1000e/ethtool.o

new:

$ size drivers/net/e1000e/ethtool.o
   text    data     bss     dec     hex filename
  12498       0       0   12498    30d2 drivers/net/e1000e/ethtool.o

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-01-28 15:03:51 -08:00
..
82571.c e1000/e1000e: Move PCI-Express device IDs over to e1000e 2008-01-28 15:03:43 -08:00
Makefile [E1000E]: New pci-express e1000 driver (currently for ICH9 devices only) 2007-10-10 16:50:40 -07:00
defines.h e1000e: alternate MAC address support 2008-01-28 15:03:42 -08:00
e1000.h e1000e: Disable L1 ASPM power savings for 82573 mobile variants 2008-01-28 15:03:43 -08:00
es2lan.c [E1000E]: New pci-express e1000 driver (currently for ICH9 devices only) 2007-10-10 16:50:40 -07:00
ethtool.c [E1000E]: convert register test macros to functions 2008-01-28 15:03:51 -08:00
hw.h e1000/e1000e: Move PCI-Express device IDs over to e1000e 2008-01-28 15:03:43 -08:00
ich8lan.c [E1000E]: New pci-express e1000 driver (currently for ICH9 devices only) 2007-10-10 16:50:40 -07:00
lib.c e1000e: alternate MAC address support 2008-01-28 15:03:42 -08:00
netdev.c [E1000E]: update netstats traffic counters realtime 2008-01-28 15:03:49 -08:00
param.c e1000e: Disable L1 ASPM power savings for 82573 mobile variants 2008-01-28 15:03:43 -08:00
phy.c netdev: ARRAY_SIZE() cleanups 2008-01-28 15:03:37 -08:00