summaryrefslogtreecommitdiff
path: root/drivers/net/s2io-regs.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2007-11-13 20:53:51 -0800
committerDavid S. Miller <davem@davemloft.net>2008-01-28 15:03:51 -0800
commit2a88719197bde746006c18ebe8f3576c87991419 (patch)
treea597d56f8626f3ecfdf74a5fcd6916e208e5b95b /drivers/net/s2io-regs.h
parent7e64300a0f335e443aa39ee477c541e34a69ae52 (diff)
downloadlwn-2a88719197bde746006c18ebe8f3576c87991419.tar.gz
lwn-2a88719197bde746006c18ebe8f3576c87991419.zip
[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>
Diffstat (limited to 'drivers/net/s2io-regs.h')
0 files changed, 0 insertions, 0 deletions