ixgbe: add support for 64k EEPROM for 82599
authorEmil Tantilov <emil.s.tantilov@intel.com>
Fri, 1 Apr 2011 08:17:19 +0000 (08:17 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 27 Apr 2011 09:10:12 +0000 (02:10 -0700)
commit0665b09f81760c38a882bed65d495a4bd31a5767
treecdb1d08899811c60725347d6b9d60539d9b686c2
parent83dfde405322320d538b7087ba741fc9a4780161
ixgbe: add support for 64k EEPROM for 82599

82599 supports up to 32k EEPROM addressing via EERD register. If we
wish to address larger EEPROM this have to be done via serial interface.
This patch adds function ixgbe_read_eeprom_82599 which selects the best
method to read the EEPROM.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Evan Swanson <evan.swanson@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ixgbe/ixgbe_82599.c