git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: preserve ifreq parameter when calling generic phy_mii_ioctl().
[pandora-kernel.git]
/
drivers
/
net
/
fec_mpc52xx.c
diff --git
a/drivers/net/fec_mpc52xx.c
b/drivers/net/fec_mpc52xx.c
index
5f83463
..
d1a5b17
100644
(file)
--- a/
drivers/net/fec_mpc52xx.c
+++ b/
drivers/net/fec_mpc52xx.c
@@
-826,7
+826,7
@@
static int mpc52xx_fec_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
if (!priv->phydev)
return -ENOTSUPP;
- return phy_mii_ioctl(priv->phydev,
if_mii(rq)
, cmd);
+ return phy_mii_ioctl(priv->phydev,
rq
, cmd);
}
static const struct net_device_ops mpc52xx_fec_netdev_ops = {