Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 118883
b: refs/heads/master
c: 9f64306
h: refs/heads/master
i:
  118881: fb6af31
  118879: 1bbc577
v: v3
  • Loading branch information
Divy Le Ray authored and Jeff Garzik committed Nov 11, 2008
1 parent 1a6f6ce commit 79904de
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 8c2f5fa51e1b22db53acf4f3918b6f590b4a35a1
refs/heads/master: 9f64306b8a3949b74cb11d3b2f613e8a2af20fa6
8 changes: 7 additions & 1 deletion trunk/drivers/net/cxgb3/t3_hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ struct t3_vpd {
u32 pad; /* for multiple-of-4 sizing and alignment */
};

#define EEPROM_MAX_POLL 4
#define EEPROM_MAX_POLL 40
#define EEPROM_STAT_ADDR 0x4000
#define VPD_BASE 0xc00

Expand Down Expand Up @@ -3690,6 +3690,12 @@ int t3_prep_adapter(struct adapter *adapter, const struct adapter_info *ai,
;

pti = &port_types[adapter->params.vpd.port_type[j]];
if (!pti->phy_prep) {
CH_ALERT(adapter, "Invalid port type index %d\n",
adapter->params.vpd.port_type[j]);
return -EINVAL;
}

ret = pti->phy_prep(&p->phy, adapter, ai->phy_base_addr + j,
ai->mdio_ops);
if (ret)
Expand Down

0 comments on commit 79904de

Please sign in to comment.