summaryrefslogtreecommitdiffstats
path: root/target/linux/au1000/patches-2.6.39/003-au1000_eth_ioctl.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-04-21 16:30:40 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-04-21 16:30:40 +0000
commitb2b965a6962f64ebb23c89d0b587da01a92d5615 (patch)
tree2b7e0b8a5d68fa63c46cf2c1223635414130652c /target/linux/au1000/patches-2.6.39/003-au1000_eth_ioctl.patch
parentf63d216467e9f7827114197242e891d584f0af5b (diff)
downloadmaster-31e0f0ae-b2b965a6962f64ebb23c89d0b587da01a92d5615.tar.gz
master-31e0f0ae-b2b965a6962f64ebb23c89d0b587da01a92d5615.tar.bz2
master-31e0f0ae-b2b965a6962f64ebb23c89d0b587da01a92d5615.zip
au1000: remove 2.6.39 support
SVN-Revision: 31416
Diffstat (limited to 'target/linux/au1000/patches-2.6.39/003-au1000_eth_ioctl.patch')
-rw-r--r--target/linux/au1000/patches-2.6.39/003-au1000_eth_ioctl.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/target/linux/au1000/patches-2.6.39/003-au1000_eth_ioctl.patch b/target/linux/au1000/patches-2.6.39/003-au1000_eth_ioctl.patch
deleted file mode 100644
index 1bf8754172..0000000000
--- a/target/linux/au1000/patches-2.6.39/003-au1000_eth_ioctl.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- a/drivers/net/au1000_eth.c
-+++ b/drivers/net/au1000_eth.c
-@@ -993,10 +993,14 @@ static void au1000_multicast_list(struct
- writel(reg, &aup->mac->control);
- }
-
-+#define AU1000_KNOWN_PHY_IOCTLS (SIOCGMIIPHY & 0xfff0)
- static int au1000_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
- {
- struct au1000_private *aup = netdev_priv(dev);
-
-+ if((cmd & AU1000_KNOWN_PHY_IOCTLS) != AU1000_KNOWN_PHY_IOCTLS)
-+ return -EINVAL;
-+
- if (!netif_running(dev))
- return -EINVAL;
-