summaryrefslogtreecommitdiff
path: root/target/linux/atheros
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-07-24 09:11:10 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-07-24 09:11:10 +0000
commita6f7e72cf734fb06374d1f1130a862f0ff6e0185 (patch)
tree144f3a5211f115c6f73d68ae98457837199e393e /target/linux/atheros
parent48bf10fba22f7a83c85a65b587caeb0473ef047a (diff)
downloadmtk-20170518-a6f7e72cf734fb06374d1f1130a862f0ff6e0185.zip
mtk-20170518-a6f7e72cf734fb06374d1f1130a862f0ff6e0185.tar.gz
mtk-20170518-a6f7e72cf734fb06374d1f1130a862f0ff6e0185.tar.bz2
atheros: fix mii phy read/write ioctl
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> SVN-Revision: 27747
Diffstat (limited to 'target/linux/atheros')
-rw-r--r--target/linux/atheros/patches-2.6.37/110-ar2313_ethernet.patch2
-rw-r--r--target/linux/atheros/patches-2.6.38/110-ar2313_ethernet.patch2
2 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/atheros/patches-2.6.37/110-ar2313_ethernet.patch b/target/linux/atheros/patches-2.6.37/110-ar2313_ethernet.patch
index 42d9229..428bd47 100644
--- a/target/linux/atheros/patches-2.6.37/110-ar2313_ethernet.patch
+++ b/target/linux/atheros/patches-2.6.37/110-ar2313_ethernet.patch
@@ -1198,7 +1198,7 @@
+ 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;
diff --git a/target/linux/atheros/patches-2.6.38/110-ar2313_ethernet.patch b/target/linux/atheros/patches-2.6.38/110-ar2313_ethernet.patch
index 42d9229..428bd47 100644
--- a/target/linux/atheros/patches-2.6.38/110-ar2313_ethernet.patch
+++ b/target/linux/atheros/patches-2.6.38/110-ar2313_ethernet.patch
@@ -1198,7 +1198,7 @@
+ 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;