summaryrefslogtreecommitdiff
path: root/openwrt/package/linux/kernel-patches/200-include_linux_netdevice_h-wlfix
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2005-03-26 10:33:32 +0000
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2005-03-26 10:33:32 +0000
commitc7bb195f082128a83997ded060ed676d81014f73 (patch)
treeb1a6b2b8bf2ee89d8a00610f25347828df4846fb /openwrt/package/linux/kernel-patches/200-include_linux_netdevice_h-wlfix
parent4118e1fc1868cd8111bfc87fa62bcf2602f4b494 (diff)
downloadmtk-20170518-c7bb195f082128a83997ded060ed676d81014f73.zip
mtk-20170518-c7bb195f082128a83997ded060ed676d81014f73.tar.gz
mtk-20170518-c7bb195f082128a83997ded060ed676d81014f73.tar.bz2
uncompress patches, requested by Kaloz
SVN-Revision: 460
Diffstat (limited to 'openwrt/package/linux/kernel-patches/200-include_linux_netdevice_h-wlfix')
-rw-r--r--openwrt/package/linux/kernel-patches/200-include_linux_netdevice_h-wlfix28
1 files changed, 28 insertions, 0 deletions
diff --git a/openwrt/package/linux/kernel-patches/200-include_linux_netdevice_h-wlfix b/openwrt/package/linux/kernel-patches/200-include_linux_netdevice_h-wlfix
new file mode 100644
index 0000000..5e758f0
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/200-include_linux_netdevice_h-wlfix
@@ -0,0 +1,28 @@
+--- linux-mips-cvs-21012005/include/linux/netdevice.h 2004-11-19 01:28:51.000000000 +0100
++++ linux-broadcom/include/linux/netdevice.h 2005-01-26 19:51:37.000000000 +0100
+@@ -297,7 +297,10 @@
+ * See <net/iw_handler.h> for details. Jean II */
+ struct iw_handler_def * wireless_handlers;
+
++#ifndef CONFIG_BCM4710
+ struct ethtool_ops *ethtool_ops;
++#endif
++
+
+ /*
+ * This marks the end of the "visible" part of the structure. All
+@@ -353,7 +356,14 @@
+ struct Qdisc *qdisc;
+ struct Qdisc *qdisc_sleeping;
+ struct Qdisc *qdisc_ingress;
++ /*
++ * this is needed for the wlan driver binary blob from linksys
++ */
++#ifdef CONFIG_BCM4710
++ struct Qdisc *qdisc_list;
++#else
+ struct list_head qdisc_list;
++#endif
+ unsigned long tx_queue_len; /* Max frames per queue allowed */
+
+ /* hard_start_xmit synchronizer */