linux-kernel-test/drivers/net/e1000
Joe Perches 7e64300a0f [E1000]: Convert regtest macro's to functions
Minimal macro to function conversion in e1000_ethtool.c

Adds functions reg_pattern_test and reg_set_and_check
Changes REG_PATTERN_TEST and REG_SET_AND_CHECK macros
to call these functions.

Saves ~2.5KB

Compiled x86, untested (no hardware)

old:

$ size drivers/net/e1000/e1000_ethtool.o
   text    data     bss     dec     hex filename
  16778       0       0   16778    418a drivers/net/e1000/e1000_ethtool.o

new:

$ size drivers/net/e1000/e1000_ethtool.o
   text    data     bss     dec     hex filename
  14128       0       0   14128    3730 drivers/net/e1000/e1000_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:50 -08:00
..
e1000_ethtool.c [E1000]: Convert regtest macro's to functions 2008-01-28 15:03:50 -08:00
e1000_hw.c e1000: sparse warnings fixes 2007-10-30 14:32:17 -04:00
e1000_hw.h PCI-X/PCI-Express read control interfaces: use them in e1000 2007-10-10 16:53:50 -07:00
e1000_main.c [E1000]: update netstats traffic counters realtime 2008-01-28 15:03:49 -08:00
e1000_osdep.h e1000: clean up debug output defines 2007-02-05 16:58:41 -05:00
e1000_param.c e1000: sparse warnings fixes 2007-10-30 14:32:17 -04:00
e1000.h e1000: sparse warnings fixes 2007-10-30 14:32:17 -04:00
Makefile e100, e1000, ixgb: update copyright header and remove LICENSE 2006-09-27 12:53:14 -07:00