igb: restore EEPROM values of MDICNFG on reset with 82580
authorNick Nunley <nicholas.d.nunley@intel.com>
Mon, 26 Jul 2010 13:15:29 +0000 (13:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Jul 2010 01:42:53 +0000 (18:42 -0700)
commit08451e2587dc8d8c34cbbb8edc88a6e4fa8946e6
tree174521b973af9dfe97ad627e614a01b64a778bbb
parent4085f746db1b7d6b292cf27cc713a13a1fcb2681
igb: restore EEPROM values of MDICNFG on reset with 82580

On a reset the MDICNFG.Destination and MDICNFG.COM_MDIO
register fields are not restored to the EEPROM default.
This patch modifies the reset code to read the EEPROM
and restore the default values.

Signed-off-by: Nicholas Nunley <nicholas.d.nunley@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/igb/e1000_82575.c
drivers/net/igb/e1000_defines.h