aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/au1000/patches-3.2/003-au1000_eth_ioctl.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-05-27 15:01:18 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-05-27 15:01:18 +0000
commit47555ae06c77559cd007d04867eafc9b2e0b442a (patch)
treeb23b964fdff45e014a92d8ed20beefeb16658b93 /target/linux/au1000/patches-3.2/003-au1000_eth_ioctl.patch
parent480346bdcb56ae7e162a0bfebcf578accca45389 (diff)
downloadmaster-187ad058-47555ae06c77559cd007d04867eafc9b2e0b442a.tar.gz
master-187ad058-47555ae06c77559cd007d04867eafc9b2e0b442a.tar.bz2
master-187ad058-47555ae06c77559cd007d04867eafc9b2e0b442a.zip
au1000: remove 3.2 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31894 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/au1000/patches-3.2/003-au1000_eth_ioctl.patch')
-rw-r--r--target/linux/au1000/patches-3.2/003-au1000_eth_ioctl.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/target/linux/au1000/patches-3.2/003-au1000_eth_ioctl.patch b/target/linux/au1000/patches-3.2/003-au1000_eth_ioctl.patch
deleted file mode 100644
index b97a439a41..0000000000
--- a/target/linux/au1000/patches-3.2/003-au1000_eth_ioctl.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- a/drivers/net/ethernet/amd/au1000_eth.c
-+++ b/drivers/net/ethernet/amd/au1000_eth.c
-@@ -991,10 +991,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;
-