[package] kernel: only depend on kmod-rtc-core if its provided by the used Kernel...
[openwrt.git] / package / kernel / modules / wireless.mk
1 #
2 # Copyright (C) 2006-2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 WIRELESS_MENU:=Wireless Drivers
9
10 define KernelPackage/net-airo
11 SUBMENU:=$(WIRELESS_MENU)
12 TITLE:=Cisco Aironet driver
13 DEPENDS:=@PCI_SUPPORT +@DRIVER_WEXT_SUPPORT
14 KCONFIG:=CONFIG_AIRO
15 FILES:=$(LINUX_DIR)/drivers/net/wireless/airo.ko
16 AUTOLOAD:=$(call AutoLoad,50,airo)
17 endef
18
19 define KernelPackage/net-airo/description
20 Kernel support for Cisco Aironet cards
21 endef
22
23 $(eval $(call KernelPackage,net-airo))
24
25
26 define KernelPackage/net-zd1201
27 SUBMENU:=$(WIRELESS_MENU)
28 TITLE:=Zydas ZD1201 support
29 DEPENDS:=@USB_SUPPORT +@DRIVER_WEXT_SUPPORT
30 KCONFIG:=CONFIG_USB_ZD1201
31 FILES:=$(LINUX_DIR)/drivers/net/wireless/zd1201.ko
32 AUTOLOAD:=$(call AutoLoad,60,zd1201)
33 endef
34
35 define KernelPackage/net-zd1201/description
36 Kernel modules for Zydas ZD1201 support
37 Devices using this chip:
38 * Sweex LC100020
39 * Zyxel ZyAir B-220
40 * Peabird USB
41 * Gigafast WF741-UIC
42 * E-Tech Wireless USB Adapter
43 * DSE 802.11b USB wireless LAN adapter
44 * CC and C WLAN USB Adapter (WL 1202)
45 * Edimax EW-7117U
46 * X-Micro WLAN 11b USB Adapter
47 * Belkin F5D6051
48 * Topcom SKYR@CER WIRELESS USB STICK 11
49 * Surecom EP-9001
50 * JAHT WN-1011U
51 * BeWAN Wi-Fi USB 11
52 * NorthQ NQ9000
53 * MSI UB11B
54 * Origo WLL-1610
55 * Longshine LCS-8131R
56 * Gigabyte GN-WLBZ201
57 endef
58
59 ZD1201FW_NAME:=zd1201
60 ZD1201FW_VERSION:=0.14
61 ZD1201FW_DIR:=$(ZD1201FW_NAME)-$(ZD1201FW_VERSION)-fw
62 ZD1201FW_FILE:=$(ZD1201FW_DIR).tar.gz
63
64 define Download/net-zd1201
65 FILE:=$(ZD1201FW_FILE)
66 #http://downloads.sourceforge.net/project/linux-lc100020/%28NEW%29%20zd1201%20driver/zd1201.%20Version%200.14/zd1201-0.14-fw.tar.gz
67 URL:=@SF/linux-lc100020/\(NEW\)\ $(ZD1201FW_NAME)\ driver/$(ZD1201FW_NAME).\ Version\ $(ZD1201FW_VERSION)/
68 MD5SUM:=07a4febc365121f975e2c5e59791d55d
69 endef
70
71 define KernelPackage/net-zd1201/install
72 $(INSTALL_DIR) $(1)/lib/firmware
73 $(TAR) -C $(1)/lib/firmware -zxf $(DL_DIR)/$(ZD1201FW_FILE) --strip-components=1 $(ZD1201FW_DIR)/$(ZD1201FW_NAME).fw $(ZD1201FW_DIR)/$(ZD1201FW_NAME)-ap.fw
74 endef
75
76 $(eval $(call Download,net-zd1201))
77 $(eval $(call KernelPackage,net-zd1201))
78
79
80 define KernelPackage/net-prism54
81 SUBMENU:=$(WIRELESS_MENU)
82 TITLE:=Intersil Prism54 support
83 DEPENDS:=@PCI_SUPPORT +@DRIVER_WEXT_SUPPORT
84 KCONFIG:=CONFIG_PRISM54
85 FILES:=$(LINUX_DIR)/drivers/net/wireless/prism54/prism54.ko
86 AUTOLOAD:=$(call AutoLoad,60,prism54)
87 endef
88
89 define KernelPackage/net-prism54/description
90 Kernel modules for Intersil Prism54 support
91 endef
92
93 # Prism54 FullMAC firmware (jbnore.free.fr seems to be rather slow, so we use daemonizer.de)
94 PRISM54_FW:=1.0.4.3.arm
95
96 define Download/net-prism54
97 FILE:=$(PRISM54_FW)
98 URL:=http://daemonizer.de/prism54/prism54-fw/fw-fullmac/
99 MD5SUM:=8bd4310971772a486b9784c77f8a6df9
100 endef
101
102 define KernelPackage/net-prism54/install
103 $(INSTALL_DIR) $(1)/lib/firmware
104 $(INSTALL_DATA) $(DL_DIR)/$(PRISM54_FW) $(1)/lib/firmware/isl3890
105 endef
106
107 $(eval $(call Download,net-prism54))
108 $(eval $(call KernelPackage,net-prism54))
109
This page took 0.044909 seconds and 5 git commands to generate.