Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266448
b: refs/heads/master
c: 45b5846
h: refs/heads/master
v: v3
  • Loading branch information
Akeem G. Abodunrin authored and Jeff Kirsher committed Oct 6, 2011
1 parent ddfc608 commit dd92ec9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6538ee62d597ca09035c33838d7516455f4fd3e1
refs/heads/master: 45b58465acaa9d98354e7fa730e3172c5355da06
5 changes: 5 additions & 0 deletions trunk/drivers/net/ethernet/intel/igb/e1000_mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,11 @@ s32 igb_check_alt_mac_addr(struct e1000_hw *hw)

if (hw->bus.func == E1000_FUNC_1)
nvm_alt_mac_addr_offset += E1000_ALT_MAC_ADDRESS_OFFSET_LAN1;
if (hw->bus.func == E1000_FUNC_2)
nvm_alt_mac_addr_offset += E1000_ALT_MAC_ADDRESS_OFFSET_LAN2;

if (hw->bus.func == E1000_FUNC_3)
nvm_alt_mac_addr_offset += E1000_ALT_MAC_ADDRESS_OFFSET_LAN3;
for (i = 0; i < ETH_ALEN; i += 2) {
offset = nvm_alt_mac_addr_offset + (i >> 1);
ret_val = hw->nvm.ops.read(hw, offset, 1, &nvm_data);
Expand Down

0 comments on commit dd92ec9

Please sign in to comment.