summaryrefslogtreecommitdiff
path: root/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0')
-rw-r--r--packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/add-compaq-usb-ids.patch11
-rw-r--r--packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/dotconfig31
-rw-r--r--packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/fix-kernel-version-test-for-hh.patch21
-rw-r--r--packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/makefile.patch45
-rw-r--r--packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/power-on-and-leds.patch143
5 files changed, 0 insertions, 251 deletions
diff --git a/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/add-compaq-usb-ids.patch b/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/add-compaq-usb-ids.patch
deleted file mode 100644
index 6fb70a6497..0000000000
--- a/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/add-compaq-usb-ids.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -Nurd atmelwlandriver-3.4.1.0/src/includes/usb/config.h atmelwlandriver-3.4.1.0-hh/src/includes/usb/config.h
---- atmelwlandriver-3.4.1.0/src/includes/usb/config.h 2004-11-10 01:40:50.000000000 -0800
-+++ atmelwlandriver-3.4.1.0-hh/src/includes/usb/config.h 2005-11-29 14:07:01.767789406 -0800
-@@ -33,6 +33,7 @@
- {USB_DEVICE(0x1371,0x5743)}, /* DSE XH1153 USB adapter */ \
- {USB_DEVICE(0x0864,0x4102)}, /* Netgear MA 101 Rev. B */ \
- {USB_DEVICE(0x04a5,0x9001)}, /* Benq AWL400 USB adapter */ \
-+ {USB_DEVICE(0x049f,0x0032)}, /* Compaq/hp h5[4,5]xx iPAQ internal wlan */ \
- {USB_DEVICE(VNetVID,VNetPID_RFMD)}, /* Atmel's id */ \
- { } /* end with an all-zeroes entry */\
- } /* end marker */
diff --git a/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/dotconfig b/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/dotconfig
deleted file mode 100644
index 79e699962a..0000000000
--- a/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/dotconfig
+++ /dev/null
@@ -1,31 +0,0 @@
-CONFIG_PCI=
-
-#PCMCIA Drivers
-CONFIG_PCMCIA=y
-CONFIG_PCMCIA_502A=y
-CONFIG_PCMCIA_3COM=y
-CONFIG_PCMCIA_502AD=y
-CONFIG_PCMCIA_502AE=y
-CONFIG_PCMCIA_504=y
-CONFIG_PCMCIA_504_2958=y
-CONFIG_PCMCIA_504A_2958=y
-CONFIG_PCI_506=n
-
-#USB Drivers
-CONFIG_USB=y
-CONFIG_USB_503A_RFMD=y
-CONFIG_USB_505=n
-CONFIG_USB_505A=n
-CONFIG_USB_505_2958=n
-
-#Applications Configuration
-CONFIG_APPS=
-CONFIG_CMD_LINE=n
-CONFIG_Winter=n
-CONFIG_FW_UPGRADE=y
-CONFIG_XAPP=n
-
-DEBUG=
-CONFIG_MODVERSIONS=
-# runtime variables. Generated by setup.sh
-KERNEL_SRC =
diff --git a/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/fix-kernel-version-test-for-hh.patch b/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/fix-kernel-version-test-for-hh.patch
deleted file mode 100644
index 96e2cd947f..0000000000
--- a/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/fix-kernel-version-test-for-hh.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -Nurd atmelwlandriver-3.4.1.0/src/usb/vnetusba.c atmelwlandriver-3.4.1.0-hh/src/usb/vnetusba.c
---- atmelwlandriver-3.4.1.0/src/usb/vnetusba.c 2005-12-02 10:25:21.946561154 -0800
-+++ atmelwlandriver-3.4.1.0-hh/src/usb/vnetusba.c 2005-12-19 11:34:38.070346125 -0800
-@@ -72,7 +72,7 @@
- #endif
-
- struct usb_driver vnet_driver = {
--#if LINUX_VERSION_CODE < 0x020415
-+#if (LINUX_VERSION_CODE < 0x020415) && !defined(CONFIG_IPAQ_HANDHELD)
- owner : THIS_MODULE,
- #endif
- #if defined(RFMD)
-@@ -2174,7 +2174,7 @@
- return NULL;
- }
- */
--#if (LINUX_VERSION_CODE < 0x020413)
-+#if (LINUX_VERSION_CODE < 0x020413) && !defined(CONFIG_IPAQ_HANDHELD)
- if (!register_netdev(Adapter->net)) {
- err("register_netdev failed");
- #else
diff --git a/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/makefile.patch b/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/makefile.patch
deleted file mode 100644
index c90c778703..0000000000
--- a/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/makefile.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-diff -Nurd atmelwlandriver-3.4.1.0/src/Pcmcia_Pci/Makefile atmelwlandriver-3.4.1.0-hh/src/Pcmcia_Pci/Makefile
---- atmelwlandriver-3.4.1.0/src/Pcmcia_Pci/Makefile 2004-11-10 01:40:50.000000000 -0800
-+++ atmelwlandriver-3.4.1.0-hh/src/Pcmcia_Pci/Makefile 2005-11-30 11:48:20.830290096 -0800
-@@ -65,7 +65,7 @@
- @for i in $(PCMCIA-y); do make $$i || exit 1; done
-
- final: $(objs) $(DEBUGORNO) fastvnet_cs.o
-- ld -r -o $(OBJDIR)/$(MODULE).o fastvnet_cs.o $(DEBUGORNO) $(objs)
-+ $(LD) -r -o $(OBJDIR)/$(MODULE).o fastvnet_cs.o $(DEBUGORNO) $(objs)
- nm $(OBJDIR)/$(MODULE).o |sort -u >$(OBJDIR)/$(patsubst %.o,%.map,$(MODULE).o);
-
- rfmdD:
-@@ -206,9 +206,9 @@
-
- fastvnet_cs.o:fastvnet_cs.c $(INC)/pcmcia/vnet.h
- ifeq '$(NEW_KERN)' 'y'
-- $(CC) $(CFLAGS) $(NEWKERNFLAGS) $(KMODNAMEFLAG)$(MODULE) -DMODULE -c fastvnet_cs.c -o fastvnet_cs.o
-+ $(CC) $(CFLAGS) $(NEWKERNFLAGS) $(KMODNAMEFLAG)$(MODULE) -DMODULE -c fastvnet_cs.c
- else
-- $(CC) $(CFLAGS) -DMODULE -c fastvnet_cs.c -o fastvnet_cs.o
-+ $(CC) $(CFLAGS) -DMODULE -c fastvnet_cs.c
- endif
-
- clean:
-diff -Nurd atmelwlandriver-3.4.1.0/src/usb/Makefile atmelwlandriver-3.4.1.0-hh/src/usb/Makefile
---- atmelwlandriver-3.4.1.0/src/usb/Makefile 2004-11-10 01:40:50.000000000 -0800
-+++ atmelwlandriver-3.4.1.0-hh/src/usb/Makefile 2005-11-30 11:48:45.517730782 -0800
-@@ -40,7 +40,7 @@
- for i in $(USB-y); do make $$i || exit 1; done
-
- final:$(objs) vnetusba.o
-- ld -r -o $(OBJDIR)/$(MODULE).o vnetusba.o $(objs)
-+ ${LD} -r -o $(OBJDIR)/$(MODULE).o vnetusba.o $(objs)
- @nm $(OBJDIR)/$(MODULE).o |sort >../$(patsubst %.o,%.map, $(MODULE).o);
-
-
-@@ -143,7 +143,7 @@
- callbacks.o : $(INC)/usb/$(fws)
- vnetusba.o : vnetusba.c $(INC)/usb/vnetusba.h
- ifeq '$(NEW_KERN)' 'y'
-- $(CC) $(CFLAGS) $(NEWKERNFLAGS) $(KMODNAMEFLAG)$(MODULE) -DMODULE -c vnetusba.c -o vnetusba.o
-+ $(CC) $(CFLAGS) $(NEWKERNFLAGS) $(KMODNAMEFLAG)$(MODULE) -DMODULE -c vnetusba.c
- else
- $(CC) $(CFLAGS) -DMODULE -c vnetusba.c
-
diff --git a/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/power-on-and-leds.patch b/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/power-on-and-leds.patch
deleted file mode 100644
index 0ac06f1482..0000000000
--- a/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/power-on-and-leds.patch
+++ /dev/null
@@ -1,143 +0,0 @@
-diff -Nurd atmelwlandriver-3.4.1.0/src/usb/vnetusba.c atmelwlandriver-3.4.1.0-hh/src/usb/vnetusba.c
---- atmelwlandriver-3.4.1.0/src/usb/vnetusba.c 2005-12-02 10:25:21.946561154 -0800
-+++ atmelwlandriver-3.4.1.0-hh/src/usb/vnetusba.c 2005-12-02 10:22:42.877486580 -0800
-@@ -31,6 +31,12 @@
- #include "vnetioctl.h"
- #include "config.h"
-
-+#ifdef CONFIG_ARCH_H5400
-+#include <asm/mach-types.h>
-+#include <asm/arch/ipaq.h>
-+#include <asm/arch-pxa/h5400-asic.h>
-+#endif
-+
- struct usb_device_id __devinitdata vnet_usb_id[] =
- #if defined(RFMD)
- RFMD_DEVICES
-@@ -151,6 +157,16 @@
- dbgcond(DBG_STATE, "state change %d -> %d\n",
- Adapter->StationState, State);
- Adapter->StationState = State;
-+
-+#ifdef CONFIG_ARCH_H5400
-+ if (machine_is_h5400()) {
-+ if (State == STATION_STATE_READY) {
-+ ipaq_led_off (RED_LED);
-+ } else {
-+ ipaq_led_blink (RED_LED, 1, 2);
-+ }
-+ }
-+#endif
- }
-
- static int usb_vnet_open(struct net_device *dev)
-@@ -221,6 +237,13 @@
- #endif
- #endif // Linux v. < 2.5+
-
-+#ifdef CONFIG_ARCH_H5400
-+ if (machine_is_h5400()) {
-+ ipaq_led_off (RED_LED);
-+ ipaq_led_off (RED_LED_2);
-+ }
-+#endif
-+
- printk("Device %s closed\n", dev->name);
- return 0;
- }
-@@ -1926,6 +1949,32 @@
- return 0;
- }
-
-+#ifdef CONFIG_ARCH_H5400
-+static struct timer_list led_timer;
-+
-+static void
-+ipaq_clear_led (unsigned long time)
-+{
-+ ipaq_led_off (RED_LED_2);
-+}
-+
-+static void
-+ipaq_blink_led (void)
-+{
-+ ipaq_led_on (RED_LED_2);
-+
-+ mod_timer (&led_timer, jiffies + (HZ / 25));
-+}
-+
-+static void
-+ipaq_init_led (void)
-+{
-+ led_timer.function = ipaq_clear_led;
-+
-+ init_timer (&led_timer);
-+}
-+#endif /* CONFIG_ARCH_H5400*/
-+
- static int usb_vnet_tx(struct sk_buff *skb, struct net_device *dev)
- {
- PVNet_ADAPTER Adapter = (PVNet_ADAPTER) dev->priv;
-@@ -1954,6 +2003,11 @@
- if (Adapter->StationState != STATION_STATE_READY)
- return -EAGAIN;
-
-+#ifdef CONFIG_ARCH_H5400
-+ if (machine_is_h5400())
-+ ipaq_blink_led();
-+#endif
-+
- len = (ETH_ZLEN < skb->len) ? skb->len : ETH_ZLEN;
-
- Adapter->lock = SPIN_LOCK_UNLOCKED;
-@@ -2080,6 +2134,10 @@
- kfree(Adapter);
- return RETERR;
- }
-+#ifdef CONFIG_ARCH_H5400
-+ if (machine_is_h5400 ())
-+ ipaq_init_led ();
-+#endif
- #if (LINUX_VERSION_CODE > 0x020500)
- usb_set_intfdata(interface, Adapter);
-
-@@ -2244,6 +2302,11 @@
- Adapter->flags &= ~VNET_RUNNING;
- Adapter->StationState = STATION_STATE_EXITING;
-
-+#ifdef CONFIG_ARCH_H5400
-+ if (machine_is_h5400())
-+ del_timer(&led_timer);
-+#endif
-+
- if (waitqueue_active(Adapter->ctrl_wait)) {
- Adapter->flags |= WAKE_UP_WITH_ERROR;
- wake_up_interruptible(Adapter->ctrl_wait);
-@@ -2316,6 +2379,13 @@
-
- static int __init usb_vnet_init(void)
- {
-+#ifdef CONFIG_ARCH_H5400
-+ if (machine_is_h5400()) {
-+ /* turn WLAN power on */
-+ SET_H5400_ASIC_GPIO (GPB, RF_POWER_ON, 1);
-+ SET_H5400_ASIC_GPIO (GPB, WLAN_POWER_ON, 1);
-+ }
-+#endif
- return usb_register(&vnet_driver);
- }
-
-@@ -2326,6 +2396,13 @@
- #endif
- //printk("AtmelWlanDriver Is deregistered!\n");
- usb_deregister(&vnet_driver);
-+#ifdef CONFIG_ARCH_H5400
-+ if (machine_is_h5400()) {
-+ /* turn WLAN power off */
-+ SET_H5400_ASIC_GPIO (GPB, RF_POWER_ON, 0);
-+ SET_H5400_ASIC_GPIO (GPB, WLAN_POWER_ON, 0);
-+ }
-+#endif
- }
-
- /**************************************************************/