e1000: Use hw, er32, and ew32
authorJoe Perches <joe@perches.com>
Fri, 11 Jul 2008 22:17:08 +0000 (15:17 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 22 Jul 2008 23:38:47 +0000 (19:38 -0400)
commit1dc329180fe22ff8651e0ef550ba17ca1cc7bf22
tree720ae356d0b4997baa2a0389e896fc6d2930a2bf
parent6479884509e6cd30c6708fbf05fafc0d1fc85f7a
e1000: Use hw, er32, and ew32

Use struct e1000_hw *hw = adapter->hw; where necessary
Change macros E1000_READ_REG and E1000_WRITE_REG to er32 and ew32

Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/e1000/e1000_ethtool.c
drivers/net/e1000/e1000_hw.c
drivers/net/e1000/e1000_main.c
drivers/net/e1000/e1000_osdep.h