diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-07-24 09:11:10 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-07-24 09:11:10 +0000 |
commit | 79860ef18f23d1712cb395e5b871e5b724256abf (patch) | |
tree | 2fd1faacc581da293af1c1f5bb273885aec6ff22 /target/linux | |
parent | 934c43cf9c032de08208983712ad71de82b8a329 (diff) |
atheros: fix mii phy read/write ioctl
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27747 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/atheros/patches-2.6.37/110-ar2313_ethernet.patch | 2 | ||||
-rw-r--r-- | target/linux/atheros/patches-2.6.38/110-ar2313_ethernet.patch | 2 |
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 42d9229b1..428bd478c 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 42d9229b1..428bd478c 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; |