提交 4954936e 编写于 作者: K Krzysztof Hałasa

IXP4xx: Add PHYLIB MII ioctl to the Ethernet driver.

Signed-off-by: NKrzysztof Hałasa <khc@pm.waw.pl>
上级 2098c18d
......@@ -788,9 +788,11 @@ static void eth_set_mcast_list(struct net_device *dev)
static int eth_ioctl(struct net_device *dev, struct ifreq *req, int cmd)
{
struct port *port = netdev_priv(dev);
if (!netif_running(dev))
return -EINVAL;
return -EINVAL;
return phy_mii_ioctl(port->phydev, if_mii(req), cmd);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册