upgrade the ixp4xx ethernet driver to v0.3.1, split the Gateway 7001 support to two...
[openwrt.git] / package / kernel / modules / other.mk
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 EMENU:=Other modules
10
11 define KernelPackage/crypto
12 TITLE:=CryptoAPI modules
13 KCONFIG:= \
14 $(CONFIG_CRYPTO_HMAC) \
15 $(CONFIG_CRYPTO_NULL) \
16 $(CONFIG_CRYPTO_MD4) \
17 $(CONFIG_CRYPTO_MD5) \
18 $(CONFIG_CRYPTO_SHA1) \
19 $(CONFIG_CRYPTO_SHA256) \
20 $(CONFIG_CRYPTO_SHA512) \
21 $(CONFIG_CRYPTO_WP512) \
22 $(CONFIG_CRYPTO_TGR192) \
23 $(CONFIG_CRYPTO_DES) \
24 $(CONFIG_CRYPTO_BLOWFISH) \
25 $(CONFIG_CRYPTO_TWOFISH) \
26 $(CONFIG_CRYPTO_SERPENT) \
27 $(CONFIG_CRYPTO_AES) \
28 $(CONFIG_CRYPTO_CAST5) \
29 $(CONFIG_CRYPTO_CAST6) \
30 $(CONFIG_CRYPTO_TEA) \
31 $(CONFIG_CRYPTO_ARC4) \
32 $(CONFIG_CRYPTO_KHAZAD) \
33 $(CONFIG_CRYPTO_ANUBIS) \
34 $(CONFIG_CRYPTO_DEFLATE) \
35 $(CONFIG_CRYPTO_MICHAEL_MIC) \
36 $(CONFIG_CRYPTO_CRC32C)
37 FILES:=$(MODULES_DIR)/kernel/crypto/*.$(LINUX_KMOD_SUFFIX)
38 SUBMENU:=$(EMENU)
39 endef
40 $(eval $(call KernelPackage,crypto))
41
42 define KernelPackage/ide-core
43 TITLE:=Kernel support for IDE
44 DESCRIPTION:=\
45 Useful for usb mass storage devices (e.g. on WL-HDD)\\\
46 \\\
47 Includes: \\\
48 - ide-core \\\
49 - ide-detect \\\
50 - ide-disk
51 KCONFIG:=$(CONFIG_IDE)
52 FILES:=$(MODULES_DIR)/kernel/drivers/ide/*.$(LINUX_KMOD_SUFFIX)
53 SUBMENU:=$(EMENU)
54 AUTOLOAD:=$(call AutoLoad,20,ide-core) $(call AutoLoad,90,ide-detect ide-disk)
55 endef
56 $(eval $(call KernelPackage,ide-core))
57
58 define KernelPackage/ide-pdc202xx
59 TITLE:=PDC202xx IDE driver
60 SUBMENU:=$(EMENU)
61 KCONFIG:=$(CONFIG_BLK_DEV_PDC202XX_OLD)
62 FILES:=$(MODULES_DIR)/kernel/drivers/ide/pci/pdc202xx_old.$(LINUX_KMOD_SUFFIX)
63 AUTOLOAD:=$(call AutoLoad,30,pdc202xx_old)
64 endef
65 $(eval $(call KernelPackage,ide-pdc202xx))
66
67 define KernelPackage/ide-aec62xx
68 TITLE:=AEC62xx IDE driver
69 SUBMENU:=$(EMENU)
70 KCONFIG:=$(CONFIG_BLK_DEV_AEC62XX)
71 FILES:=$(MODULES_DIR)/kernel/drivers/ide/pci/aec62xx.$(LINUX_KMOD_SUFFIX)
72 AUTOLOAD:=$(call AutoLoad,30,aec62xx)
73 endef
74 $(eval $(call KernelPackage,ide-aec62xx))
75
76 define KernelPackage/lp
77 TITLE:=Parallel port and line printer support
78 KCONFIG:=$(CONFIG_PARPORT)
79 FILES:= \
80 $(MODULES_DIR)/kernel/drivers/parport/parport.$(LINUX_KMOD_SUFFIX) \
81 $(MODULES_DIR)/kernel/drivers/char/lp.$(LINUX_KMOD_SUFFIX) \
82 $(MODULES_DIR)/kernel/drivers/char/ppdev.$(LINUX_KMOD_SUFFIX)
83 SUBMENU:=$(EMENU)
84 AUTOLOAD:=$(call AutoLoad,50, \
85 parport \
86 lp \
87 )
88 endef
89 $(eval $(call KernelPackage,lp))
90
91
92 define KernelPackage/soundcore
93 TITLE:=Sound support
94 DESCRIPTION:=Kernel modules for sound support
95 KCONFIG:=$(CONFIG_SOUND)
96 SUBMENU:=$(EMENU)
97 AUTOLOAD:=$(call AutoLoad,30,soundcore)
98 endef
99
100 define KernelPackage/soundcore/2.4
101 FILES:=$(MODULES_DIR)/kernel/drivers/sound/soundcore.$(LINUX_KMOD_SUFFIX)
102 endef
103
104 define KernelPackage/soundcore/2.6
105 FILES:=$(MODULES_DIR)/kernel/sound/soundcore.$(LINUX_KMOD_SUFFIX)
106 endef
107 $(eval $(call KernelPackage,soundcore))
108
109
110 define KernelPackage/loop
111 TITLE:=Loopback device support
112 DESCRIPTION:=Kernel module for loopback device support
113 KCONFIG:=$(CONFIG_BLK_DEV_LOOP)
114 SUBMENU:=$(EMENU)
115 AUTOLOAD:=$(call AutoLoad,30,loop)
116 FILES:=$(MODULES_DIR)/kernel/drivers/block/loop.$(LINUX_KMOD_SUFFIX)
117 endef
118 $(eval $(call KernelPackage,loop))
119
120 define KernelPackage/nbd
121 TITLE:=Network block device support
122 DESCRIPTION:=Kernel module for network block device support
123 KCONFIG:=$(CONFIG_BLK_DEV_NBD)
124 SUBMENU:=$(EMENU)
125 AUTOLOAD:=$(call AutoLoad,30,nbd)
126 FILES:=$(MODULES_DIR)/kernel/drivers/block/nbd.$(LINUX_KMOD_SUFFIX)
127 endef
128 $(eval $(call KernelPackage,nbd))
129
130
131 define KernelPackage/pcmcia-core
132 TITLE:=PCMCIA/CardBus support
133 DESCRIPTION:=Kernel support for PCMCIA/CardBus controllers
134 SUBMENU:=$(EMENU)
135 KCONFIG:=$(CONFIG_PCMCIA)
136 endef
137
138 define KernelPackage/pcmcia-core/2.4
139 FILES:= \
140 $(MODULES_DIR)/kernel/drivers/pcmcia/pcmcia_core.$(LINUX_KMOD_SUFFIX) \
141 $(MODULES_DIR)/kernel/drivers/pcmcia/yenta_socket.$(LINUX_KMOD_SUFFIX) \
142 $(MODULES_DIR)/kernel/drivers/pcmcia/ds.$(LINUX_KMOD_SUFFIX)
143 AUTOLOAD:=$(call AutoLoad,40,pcmcia_core yenta_socket ds)
144 endef
145
146 define KernelPackage/pcmcia-core/2.6
147 FILES:= \
148 $(MODULES_DIR)/kernel/drivers/pcmcia/pcmcia_core.$(LINUX_KMOD_SUFFIX) \
149 $(MODULES_DIR)/kernel/drivers/pcmcia/pcmcia.$(LINUX_KMOD_SUFFIX) \
150 $(MODULES_DIR)/kernel/drivers/pcmcia/yenta_socket.$(LINUX_KMOD_SUFFIX) \
151 $(MODULES_DIR)/kernel/drivers/pcmcia/rsrc_nonstatic.$(LINUX_KMOD_SUFFIX)
152 AUTOLOAD:=$(call AutoLoad,40,pcmcia_core pcmcia rsrc_nonstatic yenta_socket)
153 endef
154 $(eval $(call KernelPackage,pcmcia-core))
155
156
157 define KernelPackage/pcmcia-serial
158 TITLE:=Serial devices support
159 DESCRIPTION:=Kernel support for PCMCIA/CardBus serial devices
160 DEPENDS:=kmod-pcmcia-core
161 SUBMENU:=$(EMENU)
162 AUTOLOAD:=$(call AutoLoad,45,serial_cs)
163 endef
164
165 define KernelPackage/pcmcia-serial/2.4
166 KCONFIG:=$(CONFIG_PCMCIA_SERIAL_CS)
167 FILES:=$(MODULES_DIR)/kernel/drivers/char/pcmcia/serial_cs.$(LINUX_KMOD_SUFFIX)
168 endef
169
170 define KernelPackage/pcmcia-serial/2.6
171 KCONFIG:=$(CONFIG_SERIAL_8250_CS)
172 FILES:=$(MODULES_DIR)/kernel/drivers/serial/serial_cs.$(LINUX_KMOD_SUFFIX)
173 endef
174 $(eval $(call KernelPackage,pcmcia-serial))
175
176
177 define KernelPackage/bluetooth
178 TITLE:=Bluetooth support
179 DEPENDS:=@USB_SUPPORT
180 DESCRIPTION:=Kernel support for Bluetooth devices
181 SUBMENU:=$(EMENU)
182 endef
183
184 define KernelPackage/bluetooth/2.4
185 KCONFIG:=$(CONFIG_BLUEZ)
186 FILES:= \
187 $(MODULES_DIR)/kernel/net/bluetooth/bluez.$(LINUX_KMOD_SUFFIX) \
188 $(MODULES_DIR)/kernel/net/bluetooth/l2cap.$(LINUX_KMOD_SUFFIX) \
189 $(MODULES_DIR)/kernel/net/bluetooth/sco.$(LINUX_KMOD_SUFFIX) \
190 $(MODULES_DIR)/kernel/net/bluetooth/rfcomm/rfcomm.$(LINUX_KMOD_SUFFIX) \
191 $(MODULES_DIR)/kernel/drivers/bluetooth/hci_uart.$(LINUX_KMOD_SUFFIX) \
192 $(MODULES_DIR)/kernel/drivers/bluetooth/hci_usb.$(LINUX_KMOD_SUFFIX)
193 AUTOLOAD:=$(call AutoLoad,90,bluez l2cap sco rfcomm hci_uart hci_usb)
194 endef
195
196 define KernelPackage/bluetooth/2.6
197 KCONFIG:=$(CONFIG_BT)
198 FILES:= \
199 $(MODULES_DIR)/kernel/net/bluetooth/bluetooth.$(LINUX_KMOD_SUFFIX) \
200 $(MODULES_DIR)/kernel/net/bluetooth/l2cap.$(LINUX_KMOD_SUFFIX) \
201 $(MODULES_DIR)/kernel/net/bluetooth/sco.$(LINUX_KMOD_SUFFIX) \
202 $(MODULES_DIR)/kernel/net/bluetooth/rfcomm/rfcomm.$(LINUX_KMOD_SUFFIX) \
203 $(MODULES_DIR)/kernel/drivers/bluetooth/hci_uart.$(LINUX_KMOD_SUFFIX) \
204 $(MODULES_DIR)/kernel/drivers/bluetooth/hci_usb.$(LINUX_KMOD_SUFFIX)
205 AUTOLOAD:=$(call AutoLoad,90,bluetooth l2cap sco rfcomm hci_uart hci_usb)
206 endef
207 $(eval $(call KernelPackage,bluetooth))
208
209
210 define KernelPackage/softdog
211 TITLE:=Software watchdog driver
212 DESCRIPTION:=Software watchdog driver
213 SUBMENU:=$(EMENU)
214 KCONFIG:=$(CONFIG_SOFT_WATCHDOG)
215 FILES:=$(MODULES_DIR)/kernel/drivers/char/softdog.$(LINUX_KMOD_SUFFIX)
216 AUTOLOAD:=$(call AutoLoad,50,softdog)
217 endef
218
219 define KernelPackage/softdog/2.4
220 FILES:=$(MODULES_DIR)/kernel/drivers/char/softdog.o
221 endef
222
223 define KernelPackage/softdog/2.6
224 FILES:=$(MODULES_DIR)/kernel/drivers/char/watchdog/softdog.ko
225 endef
226
227 $(eval $(call KernelPackage,softdog))
228
229
230 define KernelPackage/videodev
231 TITLE=Video4Linux support
232 DESCRIPTION:=Kernel modules for Video4Linux support
233 DEPENDS:=@VIDEO_SUPPORT
234 SUBMENU:=$(EMENU)
235 KCONFIG:=$(CONFIG_VIDEO_DEV)
236 FILES:=$(MODULES_DIR)/kernel/drivers/media/video/*.$(LINUX_KMOD_SUFFIX)
237 endef
238
239 define KernelPackage/videodev/2.4
240 AUTOLOAD:=$(call AutoLoad,60,videodev)
241 endef
242
243 define KernelPackage/videodev/2.6
244 AUTOLOAD:=$(call AutoLoad,60,v4l2-common v4l1-compat videodev)
245 endef
246 $(eval $(call KernelPackage,videodev))
247
248
249
This page took 0.054474 seconds and 5 git commands to generate.