X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=org.handhelds.familiar%2Fpackages%2Fat76c503a%2Fat76c503a-modules%2Fipaq-compat.patch;fp=org.handhelds.familiar%2Fpackages%2Fat76c503a%2Fat76c503a-modules%2Fipaq-compat.patch;h=fe4c021cc0643b94f77c2bebc273d6da4329d4f4;hb=e3664e48fdc985c5db1c6781613a4f801c4f12af;hp=0000000000000000000000000000000000000000;hpb=390ffc6e16518aaa23a8f799fa39897c9963652f;p=familiar-h63xx-build.git diff --git a/org.handhelds.familiar/packages/at76c503a/at76c503a-modules/ipaq-compat.patch b/org.handhelds.familiar/packages/at76c503a/at76c503a-modules/ipaq-compat.patch new file mode 100644 index 0000000..fe4c021 --- /dev/null +++ b/org.handhelds.familiar/packages/at76c503a/at76c503a-modules/ipaq-compat.patch @@ -0,0 +1,50 @@ +Index: at76c503-fw_skel.c +=================================================================== +RCS file: /cvsroot/at76c503a/at76c503a/Attic/at76c503-fw_skel.c,v +retrieving revision 1.8 +diff -u -r1.8 at76c503-fw_skel.c +--- at76c503a/at76c503-fw_skel.c 8 Mar 2005 00:07:55 -0000 1.8 ++++ at76c503a/at76c503-fw_skel.c 22 Oct 2006 14:21:02 -0000 +@@ -26,7 +26,7 @@ + * + */ + +-#ifdef CONFIG_IPAQ_HANDHELD ++#ifdef CONFIG_IPAQ_H5400 + #include + #include + #include +@@ -182,7 +182,7 @@ + + info(DRIVER_DESC " " DRIVER_VERSION " loading"); + +-#ifdef CONFIG_IPAQ_HANDHELD ++#ifdef CONFIG_IPAQ_H5400 + if (machine_is_h5400()) { + /* turn WLAN power on */ + /* both needed? */ +@@ -212,7 +212,7 @@ + release_firmware(fw); + #endif + +-#ifdef CONFIG_IPAQ_HANDHELD ++#ifdef CONFIG_IPAQ_H5400 + if (machine_is_h5400()) { + /* turn WLAN power off */ + SET_H5400_ASIC_GPIO (GPB, RF_POWER_ON, 0); +Index: at76c503.h +=================================================================== +RCS file: /cvsroot/at76c503a/at76c503a/at76c503.h,v +retrieving revision 1.33.2.1 +diff -u -r1.33.2.1 at76c503.h +--- at76c503a/at76c503.h 17 Jul 2006 21:46:16 -0000 1.33.2.1 ++++ at76c503a/at76c503.h 22 Oct 2006 14:21:03 -0000 +@@ -51,7 +51,7 @@ + #define DRIVER_VERSION "v0.12.0" VERSION_APPEND + + /* Workqueue / task queue backwards compatibility stuff */ +-#if LINUX_VERSION_CODE > KERNEL_VERSION(2,5,41) ++#if LINUX_VERSION_CODE > KERNEL_VERSION(2,5,41) || defined(CONFIG_IPAQ_HANDHELD) + #include + #else + #include