atheros: fix mii phy read/write ioctl

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 27747
This commit is contained in:
Felix Fietkau 2011-07-24 09:11:10 +00:00
parent 48bf10fba2
commit a6f7e72cf7
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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;