diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-07-24 09:11:10 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-07-24 09:11:10 +0000 |
commit | 70cc63187987bada3a29fa5e0c4d0266ea369658 (patch) | |
tree | 2fd1faacc581da293af1c1f5bb273885aec6ff22 /target/linux/atheros | |
parent | 090a5384dfa79a2532aa94114f018e32a568de3c (diff) | |
download | upstream-70cc63187987bada3a29fa5e0c4d0266ea369658.tar.gz upstream-70cc63187987bada3a29fa5e0c4d0266ea369658.tar.bz2 upstream-70cc63187987bada3a29fa5e0c4d0266ea369658.zip |
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/atheros')
-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 42d9229b11..428bd478c6 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 42d9229b11..428bd478c6 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; |