aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000e/hw.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/e1000e/hw.h')
-rw-r--r--drivers/net/e1000e/hw.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/e1000e/hw.h b/drivers/net/e1000e/hw.h
index eccf29b75c41..127e6a226da1 100644
--- a/drivers/net/e1000e/hw.h
+++ b/drivers/net/e1000e/hw.h
@@ -389,6 +389,9 @@ enum e1e_registers {
389 389
390#define E1000_FUNC_1 1 390#define E1000_FUNC_1 1
391 391
392#define E1000_ALT_MAC_ADDRESS_OFFSET_LAN0 0
393#define E1000_ALT_MAC_ADDRESS_OFFSET_LAN1 3
394
392enum e1000_mac_type { 395enum e1000_mac_type {
393 e1000_82571, 396 e1000_82571,
394 e1000_82572, 397 e1000_82572,
@@ -756,6 +759,7 @@ struct e1000_mac_operations {
756 s32 (*setup_physical_interface)(struct e1000_hw *); 759 s32 (*setup_physical_interface)(struct e1000_hw *);
757 s32 (*setup_led)(struct e1000_hw *); 760 s32 (*setup_led)(struct e1000_hw *);
758 void (*write_vfta)(struct e1000_hw *, u32, u32); 761 void (*write_vfta)(struct e1000_hw *, u32, u32);
762 s32 (*read_mac_addr)(struct e1000_hw *);
759}; 763};
760 764
761/* Function pointers for the PHY. */ 765/* Function pointers for the PHY. */
@@ -897,7 +901,6 @@ struct e1000_fc_info {
897 901
898struct e1000_dev_spec_82571 { 902struct e1000_dev_spec_82571 {
899 bool laa_is_present; 903 bool laa_is_present;
900 bool alt_mac_addr_is_present;
901 u32 smb_counter; 904 u32 smb_counter;
902}; 905};
903 906