1 Index: at76c503-fw_skel.c
2 ===================================================================
3 RCS file: /cvsroot/at76c503a/at76c503a/Attic/at76c503-fw_skel.c,v
4 retrieving revision 1.8
5 diff -u -r1.8 at76c503-fw_skel.c
6 --- at76c503a/at76c503-fw_skel.c 8 Mar 2005 00:07:55 -0000 1.8
7 +++ at76c503a/at76c503-fw_skel.c 22 Oct 2006 14:21:02 -0000
12 -#ifdef CONFIG_IPAQ_HANDHELD
13 +#ifdef CONFIG_IPAQ_H5400
14 #include <asm/mach-types.h>
15 #include <asm/arch/ipaq.h>
16 #include <asm/arch-pxa/h5400-asic.h>
19 info(DRIVER_DESC " " DRIVER_VERSION " loading");
21 -#ifdef CONFIG_IPAQ_HANDHELD
22 +#ifdef CONFIG_IPAQ_H5400
23 if (machine_is_h5400()) {
24 /* turn WLAN power on */
30 -#ifdef CONFIG_IPAQ_HANDHELD
31 +#ifdef CONFIG_IPAQ_H5400
32 if (machine_is_h5400()) {
33 /* turn WLAN power off */
34 SET_H5400_ASIC_GPIO (GPB, RF_POWER_ON, 0);
36 ===================================================================
37 RCS file: /cvsroot/at76c503a/at76c503a/at76c503.h,v
38 retrieving revision 1.33.2.1
39 diff -u -r1.33.2.1 at76c503.h
40 --- at76c503a/at76c503.h 17 Jul 2006 21:46:16 -0000 1.33.2.1
41 +++ at76c503a/at76c503.h 22 Oct 2006 14:21:03 -0000
43 #define DRIVER_VERSION "v0.12.0" VERSION_APPEND
45 /* Workqueue / task queue backwards compatibility stuff */
46 -#if LINUX_VERSION_CODE > KERNEL_VERSION(2,5,41)
47 +#if LINUX_VERSION_CODE > KERNEL_VERSION(2,5,41) || defined(CONFIG_IPAQ_HANDHELD)
48 #include <linux/workqueue.h>
50 #include <linux/tqueue.h>