]> www.infradead.org Git - users/jedix/linux-maple.git/commit
e1000: cleanup CE4100 MDIO registers access
authorFlorian Fainelli <ffainelli@freebox.fr>
Wed, 4 Jan 2012 20:23:35 +0000 (20:23 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 03:20:36 +0000 (11:20 +0800)
commitc0875d0de5b8748d49c49aecfd62659a94165e3f
tree0673a34f06cecba999060f2addc77d91e79df333
parentede8ee3446cb72bfd889494ddf5c77bcf244432c
e1000: cleanup CE4100 MDIO registers access

A global variable is currently used to hold the virtual address of the
CE4100 MDIO base register address. Store the address in the e1000_hw
structure and update macros accordingly.

(cherry picked from commit 13acde8fffc0afbe8341fe08d2c594243f905c1f)
Signed-off-by: Florian Fainelli <ffainelli@freebox.fr>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/e1000/e1000_hw.h
drivers/net/e1000/e1000_main.c