Commit 4954936e authored by Krzysztof Hałasa's avatar Krzysztof Hałasa

IXP4xx: Add PHYLIB MII ioctl to the Ethernet driver.

Signed-off-by: default avatarKrzysztof Hałasa <khc@pm.waw.pl>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment