summaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/322-dev_info_fixes.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-01-28 18:34:06 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-01-28 18:34:06 +0000
commitd3393fc512d5e29aa1a609e476e850bfcf23a3ba (patch)
tree4c9c7d142b19e68c4c34cc70bc3ef7884e7254ea /package/madwifi/patches/322-dev_info_fixes.patch
parentbe6fa77dfb609d401a0c6cb5f2c7066438b14fe9 (diff)
update madwifi to latest trunk, include a few more fixes/improvements
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10294 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/patches/322-dev_info_fixes.patch')
-rw-r--r--package/madwifi/patches/322-dev_info_fixes.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/package/madwifi/patches/322-dev_info_fixes.patch b/package/madwifi/patches/322-dev_info_fixes.patch
new file mode 100644
index 000000000..987736213
--- /dev/null
+++ b/package/madwifi/patches/322-dev_info_fixes.patch
@@ -0,0 +1,36 @@
+Index: madwifi-trunk-r3280/ath/if_ath_ahb.c
+===================================================================
+--- madwifi-trunk-r3280.orig/ath/if_ath_ahb.c 2008-01-28 17:51:21.800747500 +0100
++++ madwifi-trunk-r3280/ath/if_ath_ahb.c 2008-01-28 17:51:23.700855785 +0100
+@@ -31,6 +31,15 @@
+ #include "ah_devid.h"
+ #include "if_ath_ahb.h"
+ #include "ah_soc.h"
++/*
++ * Module glue.
++ */
++#include "release.h"
++static char *version = RELEASE_VERSION;
++static char *dev_info = "ath_ahb";
++
++#include <linux/ethtool.h>
++
+
+ #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)
+ #error "Kernel versions older than 2.6.19 are not supported!"
+@@ -303,15 +312,6 @@
+ .remove = ahb_wmac_remove
+ };
+
+-/*
+- * Module glue.
+- */
+-#include "release.h"
+-static char *version = RELEASE_VERSION;
+-static char *dev_info = "ath_ahb";
+-
+-#include <linux/ethtool.h>
+-
+ int
+ ath_ioctl_ethtool(struct ath_softc *sc, int cmd, void __user *addr)
+ {