Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 112169
b: refs/heads/master
c: c6d6a51
h: refs/heads/master
i:
  112167: 8f23b4e
v: v3
  • Loading branch information
Lennert Buytenhek authored and David S. Miller committed Oct 8, 2008
1 parent c4ab119 commit 4254e9e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 4dd565134ece7e5d528d4c5288879310c54419e9
refs/heads/master: c6d6a511d768cf7627ab54fc18f40edf85097362
5 changes: 3 additions & 2 deletions trunk/drivers/net/phy/phy.c
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,8 @@ int phy_mii_ioctl(struct phy_device *phydev,
switch (cmd) {
case SIOCGMIIPHY:
mii_data->phy_id = phydev->addr;
break;
/* fall through */

case SIOCGMIIREG:
mii_data->val_out = phy_read(phydev, mii_data->reg_num);
break;
Expand Down Expand Up @@ -413,7 +414,7 @@ int phy_mii_ioctl(struct phy_device *phydev,
break;

default:
return -ENOTTY;
return -EOPNOTSUPP;
}

return 0;
Expand Down

0 comments on commit 4254e9e

Please sign in to comment.