summaryrefslogtreecommitdiff
path: root/wlan-ng/files
diff options
context:
space:
mode:
Diffstat (limited to 'wlan-ng/files')
-rw-r--r--wlan-ng/files/Ambit_usb.patch0
-rw-r--r--wlan-ng/files/config.mk41
-rw-r--r--wlan-ng/files/no-compat.patch47
-rw-r--r--wlan-ng/files/usbctl0
-rw-r--r--wlan-ng/files/wlan-ng.modutils0
-rw-r--r--wlan-ng/files/wlan.agent0
6 files changed, 88 insertions, 0 deletions
diff --git a/wlan-ng/files/Ambit_usb.patch b/wlan-ng/files/Ambit_usb.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/wlan-ng/files/Ambit_usb.patch
diff --git a/wlan-ng/files/config.mk b/wlan-ng/files/config.mk
index e69de29bb2..09ad89d965 100644
--- a/wlan-ng/files/config.mk
+++ b/wlan-ng/files/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/wlan-ng/files/no-compat.patch b/wlan-ng/files/no-compat.patch
index e69de29bb2..4f59f0fa5d 100644
--- a/wlan-ng/files/no-compat.patch
+++ b/wlan-ng/files/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/wlan-ng/files/usbctl b/wlan-ng/files/usbctl
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/wlan-ng/files/usbctl
diff --git a/wlan-ng/files/wlan-ng.modutils b/wlan-ng/files/wlan-ng.modutils
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/wlan-ng/files/wlan-ng.modutils
diff --git a/wlan-ng/files/wlan.agent b/wlan-ng/files/wlan.agent
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/wlan-ng/files/wlan.agent