2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
11 define KernelPackage
/usb-core
12 TITLE
:=Support for USB
13 DESCRIPTION
:=Kernel support for USB
15 KCONFIG
:=$(CONFIG_USB
)
17 AUTOLOAD
:=$(call AutoLoad
,20,usbcore
)
20 define KernelPackage
/usb-core
/2.4
21 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/usb
/usbcore.
$(LINUX_KMOD_SUFFIX
)
24 define KernelPackage
/usb-core
/2.6
25 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/usb
/core
/usbcore.
$(LINUX_KMOD_SUFFIX
)
27 $(eval
$(call KernelPackage
,usb-core
))
30 define KernelPackage
/usb-uhci
31 TITLE
:=Support for UHCI controllers
32 DESCRIPTION
:=Kernel support for USB UHCI controllers
33 DEPENDS
:=kmod-usb-core
37 define KernelPackage
/usb-uhci
/2.4
38 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/usb
/host
/uhci.o
39 KCONFIG
:=$(CONFIG_USB_UHCI_ALT
)
40 AUTOLOAD
:=$(call AutoLoad
,50,uhci
)
43 define KernelPackage
/usb-uhci
/2.6
44 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/usb
/host
/uhci-hcd.ko
45 KCONFIG
:=$(CONFIG_USB_UHCI_HCD
)
46 AUTOLOAD
:=$(call AutoLoad
,50,uhci-hcd
)
48 $(eval
$(call KernelPackage
,usb-uhci
))
50 define KernelPackage
/usb-uhci-iv
51 TITLE
:=Support for Intel
/VIA UHCI controllers
52 DESCRIPTION
:=Kernel support for Intel
/VIA USB UHCI controllers
53 DEPENDS
:=kmod-usb-core @LINUX_2_4
57 define KernelPackage
/usb-uhci-iv
/2.4
58 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/usb
/host
/usb-uhci.
$(LINUX_KMOD_SUFFIX
)
59 KCONFIG
:=$(CONFIG_USB_UHCI
)
60 AUTOLOAD
:=$(call AutoLoad
,50,usb-uhci
)
62 $(eval
$(call KernelPackage
,usb-uhci-iv
))
64 define KernelPackage
/usb-ohci
65 TITLE
:=Support for OHCI controllers
66 DESCRIPTION
:=Kernel support for USB OHCI controllers
67 DEPENDS
:=kmod-usb-core
71 define KernelPackage
/usb-ohci
/2.4
72 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/usb
/host
/usb-ohci.o
73 KCONFIG
:=$(CONFIG_USB_OHCI
)
74 AUTOLOAD
:=$(call AutoLoad
,50,usb-ohci
)
77 define KernelPackage
/usb-ohci
/2.6
78 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/usb
/host
/ohci-hcd.ko
79 KCONFIG
:=$(CONFIG_USB_OHCI_HCD
)
80 AUTOLOAD
:=$(call AutoLoad
,50,ohci-hcd
)
82 $(eval
$(call KernelPackage
,usb-ohci
))
84 define KernelPackage
/usb2
85 TITLE
:=Support for USB2 controllers
86 DESCRIPTION
:=Kernel support for USB2
(EHCI
) controllers
87 DEPENDS
:=kmod-usb-core
88 KCONFIG
:=$(CONFIG_USB
)
90 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/usb
/host
/ehci-hcd.
$(LINUX_KMOD_SUFFIX
)
91 KCONFIG
:=$(CONFIG_USB_EHCI_HCD
)
92 AUTOLOAD
:=$(call AutoLoad
,50,ehci-hcd
)
94 $(eval
$(call KernelPackage
,usb2
))
99 DEPENDS
:=kmod-usb-core
$(1)
103 define KernelPackage
/usb-acm
105 TITLE
:=Support for modems
/isdn controllers
106 DESCRIPTION
:=Kernel support for USB ACM devices
(modems
/isdn controllers
)
107 KCONFIG
:=$(CONFIG_USB_ACM
)
110 define KernelPackage
/usb-acm
/2.4
111 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/usb
/acm.o
112 AUTOLOAD
:=$(call AutoLoad
,60,acm
)
115 define KernelPackage
/usb-acm
/2.6
116 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/usb
/class
/cdc-acm.ko
117 AUTOLOAD
:=$(call AutoLoad
,60,cdc-acm
)
119 $(eval
$(call KernelPackage
,usb-acm
))
122 define KernelPackage
/usb-audio
123 $(call usbdep
,+kmod-soundcore
)
124 TITLE
:=Support for audio devices
125 DESCRIPTION
:=Kernel support for USB audio devices
126 AUTOLOAD
:=$(call AutoLoad
,60,audio
)
129 define KernelPackage
/usb-audio
/2.4
130 KCONFIG
:=$(CONFIG_USB_AUDIO
)
131 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/usb
/audio.o
134 define KernelPackage
/usb-audio
/2.6
135 KCONFIG
:=$(CONFIG_SND_USB_AUDIO
)
136 FILES
:=$(MODULES_DIR
)/kernel
/sound
/usb
/snd-usb-audio.ko
138 $(eval
$(call KernelPackage
,usb-audio
))
141 define KernelPackage
/usb-printer
143 TITLE
:=Support for printers
144 DESCRIPTION
:=Kernel support for USB printers
145 KCONFIG
:=$(CONFIG_USB_PRINTER
)
148 define KernelPackage
/usb-printer
/2.4
149 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/usb
/printer.o
150 AUTOLOAD
:=$(call AutoLoad
,60,printer
)
153 define KernelPackage
/usb-printer
/2.6
154 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/usb
/class
/usblp.ko
155 AUTOLOAD
:=$(call AutoLoad
,60,usblp
)
157 $(eval
$(call KernelPackage
,usb-printer
))
160 define KernelPackage
/usb-serial
162 TITLE
:=Support for USB-to-Serial converters
163 DESCRIPTION
:=Kernel support for USB-to-Serial converters
164 KCONFIG
:=$(CONFIG_USB_SERIAL
)
165 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/usb
/serial
/usbserial.
$(LINUX_KMOD_SUFFIX
)
166 AUTOLOAD
:=$(call AutoLoad
,60,usbserial
)
168 $(eval
$(call KernelPackage
,usb-serial
))
171 define KernelPackage
/usb-serial-belkin
172 TITLE
:=Support for Belkin devices
173 DESCRIPTION
:=Kernel support for Belkin USB-to-Serial converters
174 DEPENDS
:=kmod-usb-serial
176 KCONFIG
:=$(CONFIG_USB_SERIAL_BELKIN
)
177 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/usb
/serial
/belkin_sa.
$(LINUX_KMOD_SUFFIX
)
178 AUTOLOAD
:=$(call AutoLoad
,65,belkin_sa
)
180 $(eval
$(call KernelPackage
,usb-serial-belkin
))
183 define KernelPackage
/usb-serial-ftdi
184 TITLE
:=Support for FTDI devices
185 DESCRIPTION
:=Kernel support for FTDI USB-to-Serial converters
186 DEPENDS
:=kmod-usb-serial
188 KCONFIG
:=$(CONFIG_USB_SERIAL_FTDI_SIO
)
189 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/usb
/serial
/ftdi_sio.
$(LINUX_KMOD_SUFFIX
)
190 AUTOLOAD
:=$(call AutoLoad
,65,ftdi_sio
)
192 $(eval
$(call KernelPackage
,usb-serial-ftdi
))
195 define KernelPackage
/usb-serial-mct
196 TITLE
:=Support for Magic Control Tech. devices
197 DESCRIPTION
:=Kernel support for Magic Control Technology USB-to-Serial converters
198 DEPENDS
:=kmod-usb-serial
200 KCONFIG
:=$(CONFIG_USB_SERIAL_MCT_U232
)
201 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/usb
/serial
/mct_u232.
$(LINUX_KMOD_SUFFIX
)
202 AUTOLOAD
:=$(call AutoLoad
,65,mct_u232
)
204 $(eval
$(call KernelPackage
,usb-serial-mct
))
206 define KernelPackage
/usb-serial-pl2303
207 TITLE
:=Support for Prolific PL2303 devices
208 DESCRIPTION
:=Kernel support for Prolific PL2303 USB-to-Serial converters
209 DEPENDS
:=kmod-usb-serial
211 KCONFIG
:=$(CONFIG_USB_SERIAL_PL2303
)
212 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/usb
/serial
/pl2303.
$(LINUX_KMOD_SUFFIX
)
213 AUTOLOAD
:=$(call AutoLoad
,65,pl2303
)
215 $(eval
$(call KernelPackage
,usb-serial-pl2303
))
218 define KernelPackage
/usb-serial-visor
219 TITLE
:=Support for Handspring Visor devices
220 DESCRIPTION
:=Kernel support for Handspring Visor PDAs
221 DEPENDS
:=kmod-usb-serial
223 KCONFIG
:=$(CONFIG_USB_SERIAL_VISOR
)
224 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/usb
/serial
/visor.
$(LINUX_KMOD_SUFFIX
)
225 AUTOLOAD
:=$(call AutoLoad
,65,visor
)
227 $(eval
$(call KernelPackage
,usb-serial-visor
))
230 define KernelPackage
/usb-storage
232 TITLE
:=USB Storage support
233 DESCRIPTION
:=Kernel support for USB Mass Storage devices
234 KCONFIG
:=$(CONFIG_USB_STORAGE
)
236 $(MODULES_DIR
)/kernel
/drivers
/usb
/storage
/usb-storage.
$(LINUX_KMOD_SUFFIX
)
237 AUTOLOAD
:=$(call AutoLoad
,60,scsi_mod sd_mod usb-storage
)
238 DEPENDS
:=+kmod-scsi-core
240 $(eval
$(call KernelPackage
,usb-storage
))
244 define KernelPackage
/usb-speedtouch
245 $(call usbdep
,@LINUX_2_6 kmod-atm
)
246 TITLE
:=Support for SpeedTouch ADSL modems
247 DESCRIPTION
:=Kernel support for SpeedTouch USB ADSL modems
248 KCONFIG
:=$(CONFIG_USB_SPEEDTOUCH
)
250 $(MODULES_DIR
)/kernel
/drivers
/usb
/atm
/usbatm.
$(LINUX_KMOD_SUFFIX
) \
251 $(MODULES_DIR
)/kernel
/drivers
/usb
/atm
/speedtch.
$(LINUX_KMOD_SUFFIX
)
252 AUTOLOAD
:=$(call AutoLoad
,70,usbatm speedtch
)
254 $(eval
$(call KernelPackage
,usb-speedtouch
))
257 define KernelPackage
/usb-pwc
258 $(call usbdep
,+kmod-videodev
)
259 TITLE
:=Philips WebCam driver
260 DESCRIPTION
:=Kernel modules for supporting Philips WebCam USB devices
261 KCONFIG
:=$(CONFIG_USB_PWC
)
262 AUTOLOAD
:=$(call AutoLoad
,70,pwc
)
265 define KernelPackage
/usb-pwc
/2.4
266 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/usb
/pwc.
$(LINUX_KMOD_SUFFIX
)
269 $(eval
$(call KernelPackage
,usb-pwc
))
271 define KernelPackage
/usb-net
273 TITLE
:=Kernel modules for USB-to-Ethernet convertors
274 DESCRIPTION
:=Kernel modules for USB-to-Ethernet convertors
275 KCONFIG
:=$(CONFIG_USB_USBNET
)
276 DEPENDS
:=@USB_SUPPORT
278 $(MODULES_DIR
)/kernel
/drivers
/usb
/net
/usbnet.
$(LINUX_KMOD_SUFFIX
)
279 AUTOLOAD
:=$(call Autoload
,60, usbnet
)
281 $(eval
$(call KernelPackage
,usb-net
))
283 define KernelPackage
/usb-net-asix
284 $(call usbdep
,+kmod-usbnet
)
285 TITLE
:=Kernel module for USB-to-Ethernet Asix convertors
286 DESCRIPTION
:=Kernel module for USB-to-Ethernet Asix convertors
287 DEPENDS
:=kmod-usb-net
288 KCONFIG
:=$(CONFIG_USB_NET_AX8817X
)
290 $(MODULES_DIR
)/kernel
/drivers
/usb
/net
/asix.
$(LINUX_KMOD_SUFFIX
)
291 AUTOLOAD
:=$(call Autoload
,61, asix
)
293 $(eval
$(call KernelPackage
,usb-net-asix
))