atheros: fix mii phy read/write ioctl
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> SVN-Revision: 27747
This commit is contained in:
parent
48bf10fba2
commit
a6f7e72cf7
2 changed files with 2 additions and 2 deletions
|
@ -1198,7 +1198,7 @@
|
||||||
+ case SIOCGMIIPHY:
|
+ case SIOCGMIIPHY:
|
||||||
+ case SIOCGMIIREG:
|
+ case SIOCGMIIREG:
|
||||||
+ case SIOCSMIIREG:
|
+ case SIOCSMIIREG:
|
||||||
+ return phy_mii_ioctl(sp->phy_dev, data, cmd);
|
+ return phy_mii_ioctl(sp->phy_dev, ifr, cmd);
|
||||||
+
|
+
|
||||||
+ default:
|
+ default:
|
||||||
+ break;
|
+ break;
|
||||||
|
|
|
@ -1198,7 +1198,7 @@
|
||||||
+ case SIOCGMIIPHY:
|
+ case SIOCGMIIPHY:
|
||||||
+ case SIOCGMIIREG:
|
+ case SIOCGMIIREG:
|
||||||
+ case SIOCSMIIREG:
|
+ case SIOCSMIIREG:
|
||||||
+ return phy_mii_ioctl(sp->phy_dev, data, cmd);
|
+ return phy_mii_ioctl(sp->phy_dev, ifr, cmd);
|
||||||
+
|
+
|
||||||
+ default:
|
+ default:
|
||||||
+ break;
|
+ break;
|
||||||
|
|
Loading…
Reference in a new issue