summaryrefslogtreecommitdiff
path: root/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/wlan-ng/wlan-ng-modules-0.2.1-pre23
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/wlan-ng/wlan-ng-modules-0.2.1-pre23')
-rw-r--r--packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/.mtn2git_empty0
-rw-r--r--packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/Ambit_usb.patch22
-rw-r--r--packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/OZ-Configure.patch19
-rw-r--r--packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/config.in21
-rw-r--r--packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/config.mk41
-rw-r--r--packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/no-compat.patch47
-rw-r--r--packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/pass-kernel-cross.patch140
-rw-r--r--packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/scripts-makefile-hostcc.diff11
-rw-r--r--packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/version.h19
9 files changed, 320 insertions, 0 deletions
diff --git a/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/.mtn2git_empty b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/.mtn2git_empty
diff --git a/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/Ambit_usb.patch b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/Ambit_usb.patch
index e69de29bb2..7dcc09a882 100644
--- a/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/Ambit_usb.patch
+++ b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/Ambit_usb.patch
@@ -0,0 +1,22 @@
+--- linux-wlan-ng-0.2.1pre21/src/prism2/driver/prism2_usb.c 2004-03-25 10:03:26.000000000 -0600
++++ linux-wlan-ng-0.2.1pre21/src/prism2/driver/prism2_usb.c~Ambit_usb 2004-09-16 14:26:54.746340840 -0500
+@@ -34,9 +34,9 @@
+ {PRISM_USB_DEVICE(0x0b3b, 0x1602, "ZyXEL ZyAIR B200 Wireless USB Adapter")},
+ {PRISM_USB_DEVICE(0x0baf, 0x00eb, "USRobotics USR1120 Wireless USB Adapter")},
+ {PRISM_USB_DEVICE(0x0411, 0x0027, "Melco WLI-USB-KS11G 11Mbps WLAN Adapter")},
+- {PRISM_USB_DEVICE(0x04f1, 0x3009, "JVC MP-XP7250 Builtin USB WLAN Adapter")},
++ {PRISM_USB_DEVICE(0x04f1, 0x3009, "JVC MP-XP7250 Builtin USB WLAN Adapter")},
+ {PRISM_USB_DEVICE(0x0846, 0x4110, "NetGear MA111")},
+- {PRISM_USB_DEVICE(0x03f3, 0x0020, "Adaptec AWN-8020 USB WLAN Adapter")},
++ {PRISM_USB_DEVICE(0x03f3, 0x0020, "Adaptec AWN-8020 USB WLAN Adapter")},
+ // {PRISM_USB_DEVICE(0x0ace, 0x1201, "ZyDAS ZD1201 Wireless USB Adapter")},
+ {PRISM_USB_DEVICE(0x2821, 0x3300, "ASUS-WL140 Wireless USB Adapter")},
+ {PRISM_USB_DEVICE(0x2001, 0x3700, "DWL-122 Wireless USB Adapter")},
+@@ -48,6 +48,7 @@
+ {PRISM_USB_DEVICE(0x0411, 0x0044, "Melco WLI-USB-KB11 11Mbps WLAN Adapter")},
+ {PRISM_USB_DEVICE(0x1668, 0x6106, "ROPEX FreeLan 802.11b USB Adapter")},
+ {PRISM_USB_DEVICE(0x124a, 0x4017, "Pheenet WL-503IA 802.11b USB Adapter")},
++ {PRISM_USB_DEVICE(0x0bb2, 0x0302, "Ambit Microsystems Corp. CE-WL08 802.11b WLAN Module")},
+ { /* terminator */ }
+ };
+
diff --git a/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/OZ-Configure.patch b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/OZ-Configure.patch
index e69de29bb2..3ec9d617c7 100644
--- a/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/OZ-Configure.patch
+++ b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/OZ-Configure.patch
@@ -0,0 +1,19 @@
+--- linux-wlan-ng-0.2.1pre22/Configure-dist 2004-08-05 00:55:27.000000000 +1000
++++ linux-wlan-ng-0.2.1pre22/Configure 2004-10-28 02:28:06.000000000 +1000
+@@ -431,16 +431,8 @@
+ if [ -d /etc/rc.d/init.d -o -d /etc/init.d -o -d /sbin/init.d ] ; then
+ $ECHO "It looks like you have a System V init file setup."
+ SYSV_INIT=y
+- if [ -d /etc/rc.d/init.d ] ; then
+- $ECHO "RC_DIR=/etc/rc.d" >> $CONFIG
+- $ECHO "RC_DIR=/etc/rc.d" >> $CONFIG_MK
+- elif [ -d /sbin/init.d ] ; then
+- $ECHO "RC_DIR=/sbin" >> $CONFIG
+- $ECHO "RC_DIR=/sbin" >> $CONFIG_MK
+- else
+ $ECHO "RC_DIR=/etc" >> $CONFIG
+ $ECHO "RC_DIR=/etc" >> $CONFIG_MK
+- fi
+ else
+ $ECHO "It looks like you have a BSD-ish init file setup."
+ if ! grep rc.wlan /etc/rc.d/rc.S >/dev/null ; then
diff --git a/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/config.in b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/config.in
index e69de29bb2..dd672d2184 100644
--- a/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/config.in
+++ b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/config.in
@@ -0,0 +1,21 @@
+WLAN_VERSION=0
+WLAN_PATCHLEVEL=2
+WLAN_SUBLEVEL=1
+WLAN_EXTRAVERSION=-pre22
+#LINUX_SRC=$(KERNEL_SOURCE)
+PCMCIA_SRC=
+PREFIX=
+INST_EXEDIR=/sbin
+#TARGET_ROOT_ON_HOST=
+#RC_DIR=/etc/rc.d
+PCMCIA_DIR=/etc/pcmcia
+SYSV_INIT=y
+INSTALL_DEPMOD=y
+WLAN_DEBUG=n
+CROSS_COMPILE_ENABLED=y
+CROSS_COMPILE=
+HOST_COMPILE=
+#PRISM2_PLX=n
+#PRISM2_PCMCIA=n
+#PRISM2_PCI=y
+#PRISM2_USB=n
diff --git a/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/config.mk b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/config.mk
index e69de29bb2..09ad89d965 100644
--- a/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/config.mk
+++ b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/config.mk
@@ -0,0 +1,41 @@
+PRISM2_PCMCIA=y
+PRISM2_PLX=n
+PRISM2_PCI=n
+PRISM2_USB=y
+LINUX_SRC=$(KERNEL_SOURCE)
+# KERN_25=y
+CONFIG_NETLINK=y
+CONFIG_PACKET=y
+CONFIG_HOTPLUG=y
+KERNEL_CFLAGS=-D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe
+-mpreferred-stack-boundary=2 -funit-at-a-time -Wdeclaration-after-statement
+KERNEL_MODFLAGS=-DMODULE
+WLAN_KERN_PCMCIA=y
+TARGET_ROOT_ON_HOST=$(DESTDIR)
+PCMCIA_DIR=/etc/pcmcia
+TARGET_PCMCIA_DIR=/etc/pcmcia
+MODDIR=/lib/modules/$(KERNEL_VERSION)
+TARGET_MODDIR=$(TARGET_ROOT_ON_HOST)/$(MODDIR)
+INST_EXEDIR=/sbin
+TARGET_INST_EXEDIR=$(TARGET_ROOT_ON_HOST)/sbin
+RC_DIR=/etc
+SYSV_INIT=y
+# INSTALL_DEPMOD is not defined
+HOST_COMPILE=
+HOST_CFLAGS=$(CFLAGS)
+HOST_AS=$(HOST_COMPILE)as
+HOST_LD=$(HOST_COMPILE)ld
+HOST_CC=$(HOST_COMPILE)gcc
+HOST_CPP=$(HOST_CC) -E
+HOST_AR=$(HOST_COMPILE)ar
+HOST_NM=$(HOST_COMPILE)nm
+HOST_STRIP=$(HOST_COMPILE)strip
+HOST_OBJCOPY=$(HOST_COMPILE)objcopy
+HOST_OBJDUMP=$(HOST_COMPILE)objdump
+HOST_RANLIB=$(HOST_COMPILE)ranlib
+HOST_MAKE=make
+CROSS_COMPILE=y
+# CROSS_COMPILE_ENABLED is not defined
+MAKE=make
+# WLAN_DEBUG is not defined
+FIRMWARE_DIR=/etc/wlan/
diff --git a/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/no-compat.patch b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/no-compat.patch
index e69de29bb2..4f59f0fa5d 100644
--- a/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/no-compat.patch
+++ b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/no-compat.patch
@@ -0,0 +1,47 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- linux-wlan-ng-0.2.1pre21/src/include/wlan/wlan_compat.h~no-compat
++++ linux-wlan-ng-0.2.1pre21/src/include/wlan/wlan_compat.h
+@@ -351,14 +351,14 @@
+
+ #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,4,20))
+ #ifdef _LINUX_LIST_H
+-
++/*
+ static inline void list_move_tail(struct list_head *list,
+ struct list_head *head)
+ {
+ __list_del(list->prev, list->next);
+ list_add_tail(list, head);
+ }
+-
++*/
+ static inline void __list_splice(struct list_head *list,
+ struct list_head *head)
+ {
+@@ -372,13 +372,13 @@
+ last->next = at;
+ at->prev = last;
+ }
+-
++/*
+ static inline void list_move(struct list_head *list, struct list_head *head)
+ {
+ __list_del(list->prev, list->next);
+ list_add(list, head);
+ }
+-
++*/
+ static inline void list_splice_init(struct list_head *list,
+ struct list_head *head)
+ {
+@@ -388,7 +388,6 @@
+ }
+ }
+
+-
+ #endif // LIST_H
+ #endif
diff --git a/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/pass-kernel-cross.patch b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/pass-kernel-cross.patch
index e69de29bb2..c9c00cdc25 100644
--- a/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/pass-kernel-cross.patch
+++ b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/pass-kernel-cross.patch
@@ -0,0 +1,140 @@
+--- src/p80211/Makefile.orig 2004-09-13 16:53:46.000000000 +0200
++++ src/p80211/Makefile 2004-10-18 18:20:37.130194928 +0200
+@@ -44,6 +44,13 @@
+
+ include $(WLAN_SRC)../../config.mk
+
++passvars = \
++ KERNEL_PATH='$(KERNEL_PATH)' \
++ KERNEL_SRC='$(KERNEL_SRC)' \
++ KERNEL_VERSION='$(KERNEL_VERSION)' \
++ CC='$(KERNEL_CC)' \
++ LD='$(KERNEL_LD)'
++
+ ifeq ($(WLAN_DEBUG), y)
+ WLAN_INCLUDE_DEBUG=-DWLAN_INCLUDE_DEBUG
+ endif
+@@ -89,11 +96,11 @@
+ fi
+
+ $(MAKE) -C $(LINUX_SRC) SUBDIRS=$(PWD) WLAN_SRC=$(PWD)/ \
+- MODVERDIR=$(PWD)/../.tmp_versions modules
++ MODVERDIR=$(PWD)/../.tmp_versions $(passvars) modules
+ else # kbuild 2.4
+
+ $(MAKE) -C $(LINUX_SRC) SUBDIRS=$(PWD) WLAN_SRC=$(PWD)/ \
+- modules
++ $(passvars) modules
+ endif # kbuild switch
+
+ endif # KERNELRELEASE
+--- src/prism2/driver/Makefile.orig 2004-08-04 19:27:56.000000000 +0200
++++ src/prism2/driver/Makefile 2004-10-18 18:20:06.614833968 +0200
+@@ -44,6 +44,13 @@
+
+ include $(WLAN_SRC)../../../config.mk
+
++passvars = \
++ KERNEL_PATH='$(KERNEL_PATH)' \
++ KERNEL_SRC='$(KERNEL_SRC)' \
++ KERNEL_VERSION='$(KERNEL_VERSION)' \
++ CC='$(KERNEL_CC)' \
++ LD='$(KERNEL_LD)'
++
+ ifeq ($(WLAN_DEBUG), y)
+ WLAN_INCLUDE_DEBUG=-DWLAN_INCLUDE_DEBUG
+ endif
+@@ -85,11 +92,11 @@
+ default:
+ ifeq ($(KERN_25), y)
+ $(MAKE) -C $(LINUX_SRC) SUBDIRS=$(PWD) WLAN_SRC=$(PWD)/ \
+- MODVERDIR=$(PWD)/../.tmp_versions modules
++ MODVERDIR=$(PWD)/../.tmp_versions $(passvars) modules
+ else # kbuild 2.4
+
+ $(MAKE) -C $(LINUX_SRC) SUBDIRS=$(PWD) WLAN_SRC=$(PWD)/ \
+- modules
++ $(passvars) modules
+
+ endif # kbuild switch
+
+--- src/prism2/Makefile.orig 2004-02-13 19:47:37.000000000 +0100
++++ src/prism2/Makefile 2004-10-18 18:19:13.511906840 +0200
+@@ -44,6 +44,13 @@
+
+ include ../../config.mk
+
++passvars = \
++ KERNEL_PATH='$(KERNEL_PATH)' \
++ KERNEL_SRC='$(KERNEL_SRC)' \
++ KERNEL_VERSION='$(KERNEL_VERSION)' \
++ KERNEL_CC='$(KERNEL_CC)' \
++ KERNEL_LD='$(KERNEL_LD)'
++
+ DIRS=driver ridlist download
+
+ ifneq ($(wildcard *.addon),)
+@@ -51,10 +58,10 @@
+ endif
+
+ all:
+- set -e; for d in $(DIRS); do $(MAKE) -C $$d ; done
++ set -e; for d in $(DIRS); do $(MAKE) -C $$d $(passvars); done
+
+ clean:
+- set -e; for d in $(DIRS); do $(MAKE) -C $$d clean ; done
++ set -e; for d in $(DIRS); do $(MAKE) -C $$d $(passvars) clean ; done
+ rm -f core core.* *.o .*.o *.s *.a .depend tmp_make *~ tags
+ for i in *_obj; do if [ -d $$i ]; then rm -fr $$i; fi; done
+
+@@ -68,7 +75,7 @@
+ cp $$x $(TARGET_ROOT_ON_HOST)$(FIRMWARE_DIR)/prism2_`echo $$x | cut -c1-2`.hex ; \
+ fi; \
+ done
+- set -e; for d in $(DIRS); do $(MAKE) -C $$d install ; done
++ set -e; for d in $(DIRS); do $(MAKE) -C $$d $(passvars) install ; done
+
+ ctags:
+ ctags -R
+--- Makefile.orig 2004-02-13 19:47:36.000000000 +0100
++++ Makefile 2004-10-18 18:16:58.126488552 +0200
+@@ -42,6 +42,12 @@
+ #
+ # --------------------------------------------------------------------
+
++passvars = \
++ KERNEL_PATH='$(KERNEL_PATH)' \
++ KERNEL_SRC='$(KERNEL_SRC)' \
++ KERNEL_VERSION='$(KERNEL_VERSION)' \
++ KERNEL_CC='$(KERNEL_CC)' \
++ KERNEL_LD='$(KERNEL_LD)'
+
+ DIRS = src doc man etc
+
+@@ -60,7 +66,7 @@
+ @echo " "
+
+ all: config.mk
+- set -e; for d in $(DIRS); do $(MAKE) -C $$d ; done
++ set -e; for d in $(DIRS); do $(MAKE) -C $$d $(passvars); done
+
+ mrproper: clean
+ rm -f config.out
+@@ -68,7 +74,7 @@
+
+ clean:
+ touch config.mk config.new
+- set -e; for d in $(DIRS); do $(MAKE) -C $$d clean ; done
++ set -e; for d in $(DIRS); do $(MAKE) -C $$d $(passvars) clean ; done
+ rm -f core core.* *.o .*.o *.s *.a .depend tmp_make *~ tags
+ for i in *_obj; do if [ -d $$i ]; then rm -fr $$i; fi; done
+ rm -f config.mk config.new
+@@ -76,7 +82,7 @@
+
+ install:
+ find . -name .depend -exec rm {} \;
+- set -e; for d in $(DIRS); do $(MAKE) -C $$d install ; done
++ set -e; for d in $(DIRS); do $(MAKE) -C $$d $(passvars) install ; done
+
+ auto_config config.mk:
+ @touch config.mk config.new
diff --git a/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/scripts-makefile-hostcc.diff b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/scripts-makefile-hostcc.diff
index e69de29bb2..6f0fc5b61c 100644
--- a/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/scripts-makefile-hostcc.diff
+++ b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/scripts-makefile-hostcc.diff
@@ -0,0 +1,11 @@
+--- scripts/Makefile.o 2004-10-06 10:16:13.271421032 +0200
++++ scripts/Makefile 2004-10-06 10:16:34.136249096 +0200
+@@ -24,7 +24,7 @@
+ exit 1;\
+ fi
+
+- $(CC) -I$(KERNEL_SOURCE)/include get_version.c -o get_version
++ $(BUILD_CC) -I$(KERNEL_SOURCE)/include get_version.c -o get_version
+
+ get_options:
+ $(MAKE) -f $(CURR_DIR)/Makefile.get_options -C $(KERNEL_SOURCE) get_version_target
diff --git a/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/version.h b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/version.h
index e69de29bb2..8f884dcb47 100644
--- a/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/version.h
+++ b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/version.h
@@ -0,0 +1,19 @@
+#ifndef _WLAN_VERSION_H
+#define _WLAN_VERSION_H
+#ifndef KERNEL_VERSION
+#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
+#endif
+
+/* WLAN_HOSTIF (generally set on the command line, not detected) */
+#define WLAN_PCMCIA 1
+#define WLAN_ISA 2
+#define WLAN_PCI 3
+#define WLAN_USB 4
+#define WLAN_PLX 5
+#define WLAN_SLAVE 6
+#define WLAN_RELEASE "0.2.1-pre21"
+#define WLAN_RELEASE_CODE 0x000201
+#define WLAN_BUILD_DATE "Yesterday Night"
+
+#endif
+