summaryrefslogtreecommitdiff
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
commit907e88a37f9a06c5bafefd1d2c65a336150906a0 (patch)
treee9a9e80707034787b474a887e678ca8f48efb792 /target/linux/au1000/patches-3.2/003-au1000_eth_ioctl.patch
parentfbe10e73c649e7b690d2fce987fe9831f1cfb2d9 (diff)
downloadmtk-20170518-907e88a37f9a06c5bafefd1d2c65a336150906a0.zip
mtk-20170518-907e88a37f9a06c5bafefd1d2c65a336150906a0.tar.gz
mtk-20170518-907e88a37f9a06c5bafefd1d2c65a336150906a0.tar.bz2
au1000: remove 3.2 support
SVN-Revision: 31894
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 b97a439..0000000
--- 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;
-