Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 255516
b: refs/heads/master
c: fb290cd
h: refs/heads/master
v: v3
  • Loading branch information
Richard Cochran authored and David S. Miller committed Jun 13, 2011
1 parent bd68231 commit 468dcaf
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 18a03b9772da749efb8d92bd9893bfe3bd442425
refs/heads/master: fb290cdd43463e6be339bfb021aa9a00cdb50ea2
4 changes: 2 additions & 2 deletions trunk/drivers/net/davinci_emac.c
Original file line number Diff line number Diff line change
Expand Up @@ -1489,14 +1489,14 @@ static void emac_adjust_link(struct net_device *ndev)
*/
static int emac_devioctl(struct net_device *ndev, struct ifreq *ifrq, int cmd)
{
dev_warn(&ndev->dev, "DaVinci EMAC: ioctl not supported\n");
struct emac_priv *priv = netdev_priv(ndev);

if (!(netif_running(ndev)))
return -EINVAL;

/* TODO: Add phy read and write and private statistics get feature */

return -EOPNOTSUPP;
return phy_mii_ioctl(priv->phydev, ifrq, cmd);
}

static int match_first_device(struct device *dev, void *data)
Expand Down

0 comments on commit 468dcaf

Please sign in to comment.