[patch 3/4] pxa168_eth: update call to phy_mii_ioctl()

Subsystems: networking drivers, the rest

STALE5824d

2 messages, 2 authors, 2010-08-24 · open the first message on its own page

[patch 3/4] pxa168_eth: update call to phy_mii_ioctl()

From: Dan Carpenter <hidden>
Date: 2010-08-24 16:54:59

The phy_mii_ioctl() function changed recently.  It now takes a struct
ifreq pointer directly.

Signed-off-by: Dan Carpenter <redacted>
diff --git a/drivers/net/pxa168_eth.c b/drivers/net/pxa168_eth.c
index 302fb48..f324b76 100644
--- a/drivers/net/pxa168_eth.c
+++ b/drivers/net/pxa168_eth.c
@@ -1350,7 +1350,7 @@ static int pxa168_eth_do_ioctl(struct net_device *dev, struct ifreq *ifr,
 {
 	struct pxa168_eth_private *pep = netdev_priv(dev);
 	if (pep->phy != NULL)
-		return phy_mii_ioctl(pep->phy, if_mii(ifr), cmd);
+		return phy_mii_ioctl(pep->phy, ifr, cmd);
 
 	return -EOPNOTSUPP;
 }

Re: [patch 3/4] pxa168_eth: update call to phy_mii_ioctl()

From: David Miller <davem@davemloft.net>
Date: 2010-08-24 21:50:40

From: Dan Carpenter <redacted>
Date: Tue, 24 Aug 2010 18:54:20 +0200
The phy_mii_ioctl() function changed recently.  It now takes a struct
ifreq pointer directly.

Signed-off-by: Dan Carpenter <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help