aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/igb/e1000_defines.h
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2009-02-06 18:17:06 -0500
committerDavid S. Miller <davem@davemloft.net>2009-02-07 05:43:05 -0500
commit40a70b3889ea50daa10a7f3468920c1f5483155d (patch)
tree7f9037105683dc2efc335a2fe6829ceb69b2edba /drivers/net/igb/e1000_defines.h
parentc1889bfe687c22f74d1333913ffe8f8da173d601 (diff)
igb: read address from RAH/RAL instead of from EEPROM
Instead of pulling the mac address from EEPROM it is easier to pull it from the RAL/RAH registers and then just copy it into the address structures. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/igb/e1000_defines.h')
-rw-r--r--drivers/net/igb/e1000_defines.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/igb/e1000_defines.h b/drivers/net/igb/e1000_defines.h
index 40d03426c122..54a148923386 100644
--- a/drivers/net/igb/e1000_defines.h
+++ b/drivers/net/igb/e1000_defines.h
@@ -481,6 +481,8 @@
481 * manageability enabled, allowing us room for 15 multicast addresses. 481 * manageability enabled, allowing us room for 15 multicast addresses.
482 */ 482 */
483#define E1000_RAH_AV 0x80000000 /* Receive descriptor valid */ 483#define E1000_RAH_AV 0x80000000 /* Receive descriptor valid */
484#define E1000_RAL_MAC_ADDR_LEN 4
485#define E1000_RAH_MAC_ADDR_LEN 2
484 486
485/* Error Codes */ 487/* Error Codes */
486#define E1000_ERR_NVM 1 488#define E1000_ERR_NVM 1