Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 155880
b: refs/heads/master
c: f83284f
h: refs/heads/master
v: v3
  • Loading branch information
roel kluin authored and David S. Miller committed Jul 27, 2009
1 parent 77e5a15 commit b93ca57
Show file tree
Hide file tree
Showing 2 changed files with 3 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: ffafa60d496f80c250f2ae0340ae94434c0b0b4d
refs/heads/master: f83284fe209b1d143244bf462abf1b414eb7b62a
3 changes: 2 additions & 1 deletion trunk/drivers/net/fealnx.c
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,8 @@ static int __devinit fealnx_init_one(struct pci_dev *pdev,
if (np->flags == HAS_MII_XCVR) {
int phy, phy_idx = 0;

for (phy = 1; phy < 32 && phy_idx < 4; phy++) {
for (phy = 1; phy < 32 && phy_idx < ARRAY_SIZE(np->phys);
phy++) {
int mii_status = mdio_read(dev, phy, 1);

if (mii_status != 0xffff && mii_status != 0x0000) {
Expand Down

0 comments on commit b93ca57

Please sign in to comment.