Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166998
b: refs/heads/master
c: 4968286
h: refs/heads/master
v: v3
  • Loading branch information
Valentine Barshak authored and David S. Miller committed Oct 7, 2009
1 parent 3cb7c83 commit 46d6957
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 6e43650cee644b5d7957ecd50f1e41ff71f87734
refs/heads/master: 49682864b0270a0578b8321ed2686dc471ec37f1
3 changes: 3 additions & 0 deletions trunk/drivers/net/pasemi_mac_ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ pasemi_mac_ethtool_get_settings(struct net_device *netdev,
struct pasemi_mac *mac = netdev_priv(netdev);
struct phy_device *phydev = mac->phydev;

if (!phydev)
return -EOPNOTSUPP;

return phy_ethtool_gset(phydev, cmd);
}

Expand Down

0 comments on commit 46d6957

Please sign in to comment.