* [patch 3/4] pxa168_eth: update call to phy_mii_ioctl()
@ 2010-08-24 16:54 ` Dan Carpenter
0 siblings, 0 replies; 4+ messages in thread
From: Dan Carpenter @ 2010-08-24 16:54 UTC (permalink / raw)
To: Sachin Sanap; +Cc: David S. Miller, netdev, kernel-janitors
The phy_mii_ioctl() function changed recently. It now takes a struct
ifreq pointer directly.
Signed-off-by: Dan Carpenter <error27@gmail.com>
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;
}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [patch 3/4] pxa168_eth: update call to phy_mii_ioctl()
@ 2010-08-24 16:54 ` Dan Carpenter
0 siblings, 0 replies; 4+ messages in thread
From: Dan Carpenter @ 2010-08-24 16:54 UTC (permalink / raw)
To: Sachin Sanap; +Cc: David S. Miller, netdev, kernel-janitors
The phy_mii_ioctl() function changed recently. It now takes a struct
ifreq pointer directly.
Signed-off-by: Dan Carpenter <error27@gmail.com>
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;
}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [patch 3/4] pxa168_eth: update call to phy_mii_ioctl()
2010-08-24 16:54 ` Dan Carpenter
@ 2010-08-24 21:50 ` David Miller
-1 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2010-08-24 21:50 UTC (permalink / raw)
To: error27; +Cc: ssanap, netdev, kernel-janitors
From: Dan Carpenter <error27@gmail.com>
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 <error27@gmail.com>
Applied.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [patch 3/4] pxa168_eth: update call to phy_mii_ioctl()
@ 2010-08-24 21:50 ` David Miller
0 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2010-08-24 21:50 UTC (permalink / raw)
To: error27; +Cc: ssanap, netdev, kernel-janitors
From: Dan Carpenter <error27@gmail.com>
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 <error27@gmail.com>
Applied.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-08-24 21:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-24 16:54 [patch 3/4] pxa168_eth: update call to phy_mii_ioctl() Dan Carpenter
2010-08-24 16:54 ` Dan Carpenter
2010-08-24 21:50 ` David Miller
2010-08-24 21:50 ` David Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.