]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit823abdcaa751e12921c996c07df7c17638c6c226
tree174521b973af9dfe97ad627e614a01b64a778bbb
parent2a0392dff6b5ae3dad97b0cbd8841dbcbb7e50e5
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