Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 159332
b: refs/heads/master
c: 9073e3a
h: refs/heads/master
v: v3
  • Loading branch information
Divy Le Ray authored and David S. Miller committed Aug 6, 2009
1 parent ab6e972 commit 4036654
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cc104e52b4f61dbfe1a815f775ffb2fbbb4b785d
refs/heads/master: 9073e3a32bb249293edc01ecff575bb87380c068
6 changes: 5 additions & 1 deletion trunk/drivers/net/cxgb3/t3_hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -3692,8 +3692,12 @@ static void mc7_prep(struct adapter *adapter, struct mc7 *mc7,

void mac_prep(struct cmac *mac, struct adapter *adapter, int index)
{
u16 devid;

mac->adapter = adapter;
if (!adapter->params.vpd.xauicfg[1])
pci_read_config_word(adapter->pdev, 0x2, &devid);

if (devid == 0x37 && !adapter->params.vpd.xauicfg[1])
index = 0;
mac->offset = (XGMAC0_1_BASE_ADDR - XGMAC0_0_BASE_ADDR) * index;
mac->nucast = 1;
Expand Down

0 comments on commit 4036654

Please sign in to comment.