summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2005-01-25 20:25:34 +0000
committerMichael Lauer <mickey@vanille-media.de>2005-01-25 20:25:34 +0000
commit08ec6a242430e6a11f877ee50f51b83c211fa316 (patch)
tree9fb4b1eb83928918e3572299843350987d690623
parente55b2ad6912ef76616f466b9f8b8a866ef7b6848 (diff)
update hostap-modules to 0.3.5
BKrev: 41f6ab3e1mDIKdMux_Ndu4xCjexnWA
-rw-r--r--packages/hostap/hostap-modules-0.3.3/mtx_hostap_deferred_irq.diff81
-rw-r--r--packages/hostap/hostap-modules-0.3.5/Makefile.patch (renamed from packages/hostap/hostap-modules-0.3.3/Makefile.patch)0
-rw-r--r--packages/hostap/hostap-modules-0.3.5/mtx_compat.diff (renamed from packages/hostap/hostap-modules-0.3.3/mtx_compat.diff)0
-rw-r--r--packages/hostap/hostap-modules-0.3.5/mtx_hostap_deferred_irq.diff0
-rw-r--r--packages/hostap/hostap-modules_0.3.3.bb42
-rw-r--r--packages/hostap/hostap-modules_0.3.5.bb0
6 files changed, 0 insertions, 123 deletions
diff --git a/packages/hostap/hostap-modules-0.3.3/mtx_hostap_deferred_irq.diff b/packages/hostap/hostap-modules-0.3.3/mtx_hostap_deferred_irq.diff
deleted file mode 100644
index e979b72d93..0000000000
--- a/packages/hostap/hostap-modules-0.3.3/mtx_hostap_deferred_irq.diff
+++ /dev/null
@@ -1,81 +0,0 @@
---- driver/modules/hostap_pci.c.orig 2004-11-30 06:41:48.000000000 +0100
-+++ driver/modules/hostap_pci.c 2005-01-17 19:47:33.710400496 +0100
-@@ -50,6 +50,13 @@
- };
-
-
-+#define DEFERRED_IRQ_INITIALIZATION
-+
-+#ifdef DEFERRED_IRQ_INITIALIZATION
-+struct net_device *devb[MAX_PARM_DEVICES];
-+#endif
-+
-+
- #ifdef PRISM2_IO_DEBUG
-
- static inline void hfa384x_outb_debug(struct net_device *dev, int a, u8 v)
-@@ -280,6 +287,10 @@
-
- pci_set_drvdata(pdev, dev);
-
-+#ifdef DEFERRED_IRQ_INITIALIZATION
-+ printk("%s: deferred initialization of IRQs\n", dev_info);
-+ devb[cards_found-1] = dev;
-+#else
- if (request_irq(dev->irq, prism2_interrupt, SA_SHIRQ, dev->name,
- dev)) {
- printk(KERN_WARNING "%s: request_irq failed\n", dev->name);
-@@ -295,7 +306,7 @@
-
- printk(KERN_INFO "%s: Intersil Prism2.5 PCI: "
- "mem=0x%lx, irq=%d\n", dev->name, phymem, dev->irq);
--
-+#endif
- return hostap_hw_ready(dev);
-
- fail:
-@@ -399,18 +410,43 @@
- };
-
-
-+#ifdef DEFERRED_IRQ_INITIALIZATION
-+static void deferred_init(int num_devices)
-+{
-+ int n;
-+ for (n=0; n<num_devices && n<MAX_PARM_DEVICES; n++)
-+ {
-+ if (request_irq(devb[n]->irq, prism2_interrupt, SA_SHIRQ, devb[n]->name,
-+ devb[n])) {
-+ printk(KERN_WARNING "%s: request_irq failed\n", devb[n]->name);
-+ }
-+ if (prism2_hw_config(devb[n], 1)) {
-+ printk(KERN_DEBUG "%s: hardware initialization failed\n", devb[n]->name)
-+;
-+ }
-+ printk(KERN_INFO "%s: Intersil Prism2.5 PCI: irq=%d\n", devb[n]->name, devb[n]->
-+irq);
-+ }
-+}
-+#endif
-+
- static int __init init_prism2_pci(void)
- {
- printk(KERN_INFO "%s: %s\n", dev_info, version);
-
- #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10))
-- if (pci_register_driver(&prism2_pci_drv_id) <= 0) {
-+ int n;
-+ if ((n=pci_register_driver(&prism2_pci_drv_id)) <= 0) {
- printk("hostap_pci: No devices found, driver not "
- "installed.\n");
- pci_unregister_driver(&prism2_pci_drv_id);
- return -ENODEV;
- }
-
-+#ifdef DEFERRED_IRQ_INITIALIZATION
-+ deferred_init(n);
-+#endif
-+
- return 0;
- #else
- return pci_register_driver(&prism2_pci_drv_id);
diff --git a/packages/hostap/hostap-modules-0.3.3/Makefile.patch b/packages/hostap/hostap-modules-0.3.5/Makefile.patch
index e69de29bb2..e69de29bb2 100644
--- a/packages/hostap/hostap-modules-0.3.3/Makefile.patch
+++ b/packages/hostap/hostap-modules-0.3.5/Makefile.patch
diff --git a/packages/hostap/hostap-modules-0.3.3/mtx_compat.diff b/packages/hostap/hostap-modules-0.3.5/mtx_compat.diff
index e69de29bb2..e69de29bb2 100644
--- a/packages/hostap/hostap-modules-0.3.3/mtx_compat.diff
+++ b/packages/hostap/hostap-modules-0.3.5/mtx_compat.diff
diff --git a/packages/hostap/hostap-modules-0.3.5/mtx_hostap_deferred_irq.diff b/packages/hostap/hostap-modules-0.3.5/mtx_hostap_deferred_irq.diff
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/hostap/hostap-modules-0.3.5/mtx_hostap_deferred_irq.diff
diff --git a/packages/hostap/hostap-modules_0.3.3.bb b/packages/hostap/hostap-modules_0.3.3.bb
deleted file mode 100644
index 92173a2511..0000000000
--- a/packages/hostap/hostap-modules_0.3.3.bb
+++ /dev/null
@@ -1,42 +0,0 @@
-DESCRIPTION = "A driver for wireless LAN cards based on Intersil's Prism2/2.5/3 chipset"
-SECTION = "kernel/modules"
-PRIORITY = "optional"
-MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
-LICENSE = "GPL"
-PR = "r3"
-
-SRC_URI = "http://hostap.epitest.fi/releases/hostap-driver-${PV}.tar.gz \
- file://hostap_cs.conf \
- file://Makefile.patch;patch=1"
-SRC_URI_append_mtx-1 = " file://mtx_compat.diff;patch=1;pnum=0 \
- file://mtx_hostap_deferred_irq.diff;patch=1;pnum=0"
-
-S = "${WORKDIR}/hostap-driver-${PV}"
-
-inherit module
-
-# Hack Alert :D
-ARCH_mipsel = "mips"
-MAKE_TARGETS = "KERNEL_PATH=${KERNEL_SOURCE} MAKE='make -e'"
-
-NET_MODULES = "hostap hostap_pci hostap_crypt_ccmp hostap_crypt_tkip hostap_crypt_wep"
-
-do_install() {
- install -d ${D}/lib/modules/${KERNEL_VERSION}/net \
- ${D}/lib/modules/${KERNEL_VERSION}/pcmcia \
- ${D}/${sysconfdir}/pcmcia
- for i in ${NET_MODULES}
- do
- install -m 0644 driver/modules/$i${KERNEL_OBJECT_SUFFIX} ${D}/lib/modules/${KERNEL_VERSION}/net/
- done
- install -m 0644 driver/modules/hostap_cs${KERNEL_OBJECT_SUFFIX} ${D}/lib/modules/${KERNEL_VERSION}/pcmcia/
- install -m 0644 driver/etc/hostap_cs.conf ${D}/${sysconfdir}/pcmcia/hostap_cs.conf
- cat ${WORKDIR}/hostap_cs.conf >>${D}/${sysconfdir}/pcmcia/hostap_cs.conf
-}
-
-PACKAGES = "hostap-modules-cs hostap-modules-pci hostap-modules"
-FILES_hostap-modules-cs = "/lib/modules/${KERNEL_VERSION}/pcmcia/ /${sysconfdir}/pcmcia/"
-FILES_hostap-modules-pci = "/lib/modules/${KERNEL_VERSION}/net/hostap_pci${KERNEL_OBJECT_SUFFIX}"
-FILES_hostap-modules = "/lib/modules/"
-RDEPENDS_hostap-modules-cs = "hostap-modules"
-RDEPENDS_hostap-modules-pci = "hostap-modules"
diff --git a/packages/hostap/hostap-modules_0.3.5.bb b/packages/hostap/hostap-modules_0.3.5.bb
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/hostap/hostap-modules_0.3.5.bb