projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2098c18
)
IXP4xx: Add PHYLIB MII ioctl to the Ethernet driver.
author
Krzysztof Hałasa
<khc@pm.waw.pl>
Sat, 20 Dec 2008 17:57:23 +0000
(18:57 +0100)
committer
Krzysztof Hałasa
<khc@pm.waw.pl>
Sun, 21 Dec 2008 23:42:55 +0000
(
00:42
+0100)
Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
drivers/net/arm/ixp4xx_eth.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/arm/ixp4xx_eth.c
b/drivers/net/arm/ixp4xx_eth.c
index db44ebbf45c5087e77d5f89b9d60de10eadd554b..1bbb7b8cb0dad549f42bf6b9c8dd415e29a075ee 100644
(file)
--- a/
drivers/net/arm/ixp4xx_eth.c
+++ b/
drivers/net/arm/ixp4xx_eth.c
@@
-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)
;
}