7d80c8c45b584158db30d8c7c35e0fce427db920
[openwrt/svn-archive/archive.git] / package / zd1211 / patches / 101-linux_2.6.19_changes.patch
1 diff -bruN zd1211-driver-r69-old/src/zd1205.c zd1211-driver-r69-new/src/zd1205.c
2 --- zd1211-driver-r69-old/src/zd1205.c 2006-03-18 12:14:33.000000000 +0100
3 +++ zd1211-driver-r69-new/src/zd1205.c 2006-12-15 19:03:55.000000000 +0100
4 @@ -31,7 +31,7 @@
5 * -------------------------------------------------------------------- */
6 #define __KERNEL_SYSCALLS__
7
8 -#include <linux/config.h>
9 +#include <linux/autoconf.h>
10 #include <net/checksum.h>
11 #include <linux/tcp.h>
12 #include <linux/udp.h>
13 diff -bruN zd1211-driver-r69-old/src/zd1205_proc.c zd1211-driver-r69-new/src/zd1205_proc.c
14 --- zd1211-driver-r69-old/src/zd1205_proc.c 2006-02-13 13:50:12.000000000 +0100
15 +++ zd1211-driver-r69-new/src/zd1205_proc.c 2006-12-15 19:04:02.000000000 +0100
16 @@ -30,7 +30,7 @@
17 *
18 * -------------------------------------------------------------------- */
19
20 -#include <linux/config.h>
21 +#include <linux/autoconf.h>
22
23 #ifdef CONFIG_PROC_FS
24 #include "zd1205.h"
25 diff -bruN zd1211-driver-r69-old/src/zd1211.c zd1211-driver-r69-new/src/zd1211.c
26 --- zd1211-driver-r69-old/src/zd1211.c 2006-02-16 22:33:51.000000000 +0100
27 +++ zd1211-driver-r69-new/src/zd1211.c 2006-12-15 19:03:16.000000000 +0100
28 @@ -30,7 +30,7 @@
29 *
30 * -------------------------------------------------------------------- */
31
32 -#include <linux/config.h>
33 +#include <linux/autoconf.h>
34 #include <net/checksum.h>
35 #include <linux/tcp.h>
36 #include <linux/udp.h>
37 @@ -1878,7 +1878,9 @@
38 dev->get_stats = zd1205_get_stats;
39 #if ZDCONF_WE_STAT_SUPPORT == 1
40
41 +# if WIRELESS_EXT < 21
42 dev->get_wireless_stats = zd1205_iw_getstats;
43 +# endif
44 #elif !defined(ZDCONF_WE_STAT_SUPPORT)
45 #error "Undefine ZDCONF_WE_STAT_SUPPORT"
46 #endif