summaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/patches-3.14/220-enet_micrel_workaround.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-09-12 06:52:07 +0000
committerJohn Crispin <john@openwrt.org>2014-09-12 06:52:07 +0000
commit300021d6c428c3865c18cc8574cc7b8c50b8a299 (patch)
tree4e4cf1fe062712146b83f43fd942ab392e779b20 /target/linux/atheros/patches-3.14/220-enet_micrel_workaround.patch
parenta28fd0dfd018dfc934436711bd9ab9768da56e4f (diff)
downloadmaster-31e0f0ae-300021d6c428c3865c18cc8574cc7b8c50b8a299.tar.gz
master-31e0f0ae-300021d6c428c3865c18cc8574cc7b8c50b8a299.tar.bz2
master-31e0f0ae-300021d6c428c3865c18cc8574cc7b8c50b8a299.zip
atheros: ar231x-eth: remove useless IOCTL handlers
These IOCTLs handled in the core now. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 42492
Diffstat (limited to 'target/linux/atheros/patches-3.14/220-enet_micrel_workaround.patch')
-rw-r--r--target/linux/atheros/patches-3.14/220-enet_micrel_workaround.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/atheros/patches-3.14/220-enet_micrel_workaround.patch b/target/linux/atheros/patches-3.14/220-enet_micrel_workaround.patch
index abda9ce76b..766ec8d409 100644
--- a/target/linux/atheros/patches-3.14/220-enet_micrel_workaround.patch
+++ b/target/linux/atheros/patches-3.14/220-enet_micrel_workaround.patch
@@ -79,13 +79,13 @@
kfree(dev);
return 0;
}
-@@ -1104,6 +1151,9 @@ static int ar231x_ioctl(struct net_devic
+@@ -1103,6 +1150,9 @@ static int ar231x_ioctl(struct net_devic
+ {
struct ar231x_private *sp = netdev_priv(dev);
- int ret;
+ if (!sp->phy_dev)
+ return -ENODEV;
+
switch (cmd) {
- case SIOCETHTOOL:
- spin_lock_irq(&sp->lock);
+ case SIOCGMIIPHY:
+ case SIOCGMIIREG: