e1000: cleanup CE4100 MDIO registers access
authorFlorian Fainelli <ffainelli@freebox.fr>
Wed, 4 Jan 2012 20:23:35 +0000 (20:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Jan 2012 18:12:03 +0000 (13:12 -0500)
commit13acde8fffc0afbe8341fe08d2c594243f905c1f
tree8a44b5817f90678997110723ff041dd89d7eb028
parent1c26750c485de20a3bd68ec5d396887650b53976
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.

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>
drivers/net/ethernet/intel/e1000/e1000_hw.h
drivers/net/ethernet/intel/e1000/e1000_main.c