Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27747
3c298f89-4303-0410-b956-
a3cf2f4a3e73
+ case SIOCGMIIPHY:
+ case SIOCGMIIREG:
+ case SIOCSMIIREG:
-+ return phy_mii_ioctl(sp->phy_dev, data, cmd);
++ return phy_mii_ioctl(sp->phy_dev, ifr, cmd);
+
+ default:
+ break;
+ case SIOCGMIIPHY:
+ case SIOCGMIIREG:
+ case SIOCSMIIREG:
-+ return phy_mii_ioctl(sp->phy_dev, data, cmd);
++ return phy_mii_ioctl(sp->phy_dev, ifr, cmd);
+
+ default:
+ break;