diff options
-rw-r--r-- | drivers/net/igb/e1000_hw.h | 1 | ||||
-rw-r--r-- | drivers/net/igb/e1000_mac.c | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/igb/e1000_hw.h b/drivers/net/igb/e1000_hw.h index 62ccd495356e..6d1564f43833 100644 --- a/drivers/net/igb/e1000_hw.h +++ b/drivers/net/igb/e1000_hw.h | |||
@@ -484,7 +484,6 @@ struct e1000_mac_info { | |||
484 | bool asf_firmware_present; | 484 | bool asf_firmware_present; |
485 | bool autoneg; | 485 | bool autoneg; |
486 | bool autoneg_failed; | 486 | bool autoneg_failed; |
487 | bool disable_av; | ||
488 | bool disable_hw_init_bits; | 487 | bool disable_hw_init_bits; |
489 | bool get_link_status; | 488 | bool get_link_status; |
490 | bool ifs_params_forced; | 489 | bool ifs_params_forced; |
diff --git a/drivers/net/igb/e1000_mac.c b/drivers/net/igb/e1000_mac.c index 6682206750dc..e5d23e08650a 100644 --- a/drivers/net/igb/e1000_mac.c +++ b/drivers/net/igb/e1000_mac.c | |||
@@ -200,7 +200,8 @@ void igb_rar_set(struct e1000_hw *hw, u8 *addr, u32 index) | |||
200 | 200 | ||
201 | rar_high = ((u32) addr[4] | ((u32) addr[5] << 8)); | 201 | rar_high = ((u32) addr[4] | ((u32) addr[5] << 8)); |
202 | 202 | ||
203 | if (!hw->mac.disable_av) | 203 | /* If MAC address zero, no need to set the AV bit */ |
204 | if (rar_low || rar_high) | ||
204 | rar_high |= E1000_RAH_AV; | 205 | rar_high |= E1000_RAH_AV; |
205 | 206 | ||
206 | wr32(E1000_RAL(index), rar_low); | 207 | wr32(E1000_RAL(index), rar_low); |