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.
15 ifeq ($(KERNEL_PATCHVER
),2.6.21)
18 USBINPUT_DIR
:=usb
/input
22 USBHID_DIR?
=hid
/usbhid
23 USBINPUT_DIR?
=input
/misc
27 DEPENDS
:=kmod-usb-core
$(1)
31 define KernelPackage
/usb-core
33 TITLE
:=Support for USB
36 AUTOLOAD
:=$(call AutoLoad
,20,usbcore
)
39 define KernelPackage
/usb-core
/2.4
40 FILES
:=$(LINUX_DIR
)/drivers
/usb
/usbcore.
$(LINUX_KMOD_SUFFIX
)
43 define KernelPackage
/usb-core
/2.6
44 FILES
:=$(LINUX_DIR
)/drivers
/usb
/core
/usbcore.
$(LINUX_KMOD_SUFFIX
)
47 define KernelPackage
/usb-core
/description
48 Kernel support for USB
51 $(eval
$(call KernelPackage
,usb-core
))
54 define KernelPackage
/usb-uhci
56 TITLE
:=Support for UHCI controllers
59 define KernelPackage
/usb-uhci
/2.4
60 KCONFIG
:=CONFIG_USB_UHCI_ALT
61 FILES
:=$(LINUX_DIR
)/drivers
/usb
/host
/uhci.o
62 AUTOLOAD
:=$(call AutoLoad
,50,uhci
)
65 define KernelPackage
/usb-uhci
/2.6
66 KCONFIG
:=CONFIG_USB_UHCI_HCD
67 FILES
:=$(LINUX_DIR
)/drivers
/usb
/host
/uhci-hcd.ko
68 AUTOLOAD
:=$(call AutoLoad
,50,uhci-hcd
)
71 define KernelPackage
/usb-uhci
/description
72 Kernel support for USB UHCI controllers
75 $(eval
$(call KernelPackage
,usb-uhci
))
78 define KernelPackage
/usb-uhci-iv
79 $(call usbdep
,@LINUX_2_4
)
80 TITLE
:=Support for Intel
/VIA UHCI controllers
81 KCONFIG
:=CONFIG_USB_UHCI
82 FILES
:=$(LINUX_DIR
)/drivers
/usb
/host
/usb-uhci.
$(LINUX_KMOD_SUFFIX
)
83 AUTOLOAD
:=$(call AutoLoad
,50,usb-uhci
)
86 define KernelPackage
/usb-uhci-iv
/description
87 Kernel support for Intel
/VIA USB UHCI controllers
90 $(eval
$(call KernelPackage
,usb-uhci-iv
))
93 define KernelPackage
/usb-ohci
95 TITLE
:=Support for OHCI controllers
98 define KernelPackage
/usb-ohci
/2.4
99 KCONFIG
:=CONFIG_USB_OHCI
100 FILES
:=$(LINUX_DIR
)/drivers
/usb
/host
/usb-ohci.o
101 AUTOLOAD
:=$(call AutoLoad
,50,usb-ohci
)
104 define KernelPackage
/usb-ohci
/2.6
105 KCONFIG
:=CONFIG_USB_OHCI_HCD
106 FILES
:=$(LINUX_DIR
)/drivers
/usb
/host
/ohci-hcd.ko
107 AUTOLOAD
:=$(call AutoLoad
,50,ohci-hcd
)
110 define KernelPackage
/usb-ohci
/description
111 Kernel support for USB OHCI controllers
114 $(eval
$(call KernelPackage
,usb-ohci
))
117 define KernelPackage
/usb-adm5120
118 $(call usbdep
,@LINUX_2_6_ADM5120||@LINUX_2_6_ADM5120EB
)
119 TITLE
:=Support for the ADM5120 HCD controller
120 KCONFIG
:=CONFIG_USB_ADM5120_HCD
121 FILES
:=$(LINUX_DIR
)/drivers
/usb
/host
/adm5120-hcd.
$(LINUX_KMOD_SUFFIX
)
122 AUTOLOAD
:=$(call AutoLoad
,50,adm5120-hcd
)
125 define KernelPackage
/usb-adm5120
/description
126 Kernel support for the ADM5120 HCD USB controller
129 $(eval
$(call KernelPackage
,usb-adm5120
))
132 define KernelPackage
/usb2
134 TITLE
:=Support for USB2 controllers
135 KCONFIG
:=CONFIG_USB_EHCI_HCD
136 FILES
:=$(LINUX_DIR
)/drivers
/usb
/host
/ehci-hcd.
$(LINUX_KMOD_SUFFIX
)
137 AUTOLOAD
:=$(call AutoLoad
,50,ehci-hcd
)
140 define KernelPackage
/usb2
/description
141 Kernel support for USB2
(EHCI
) controllers
144 $(eval
$(call KernelPackage
,usb2
))
147 define KernelPackage
/usb-acm
149 TITLE
:=Support for modems
/isdn controllers
150 KCONFIG
:=CONFIG_USB_ACM
153 define KernelPackage
/usb-acm
/2.4
154 FILES
:=$(LINUX_DIR
)/drivers
/usb
/acm.o
155 AUTOLOAD
:=$(call AutoLoad
,60,acm
)
158 define KernelPackage
/usb-acm
/2.6
159 FILES
:=$(LINUX_DIR
)/drivers
/usb
/class
/cdc-acm.ko
160 AUTOLOAD
:=$(call AutoLoad
,60,cdc-acm
)
163 define KernelPackage
/usb-acm
/description
164 Kernel support for USB ACM devices
(modems
/isdn controllers
)
167 $(eval
$(call KernelPackage
,usb-acm
))
170 define KernelPackage
/usb-audio
171 $(call usbdep
,+kmod-soundcore
)
172 TITLE
:=Support for audio devices
175 define KernelPackage
/usb-audio
/2.4
176 KCONFIG
:=CONFIG_USB_AUDIO
177 FILES
:=$(LINUX_DIR
)/drivers
/usb
/audio.o
178 AUTOLOAD
:=$(call AutoLoad
,60,audio
)
181 define KernelPackage
/usb-audio
/2.6
182 KCONFIG
:=CONFIG_SND_USB_AUDIO
184 $(LINUX_DIR
)/sound
/usb
/snd-usb-lib.ko \
185 $(LINUX_DIR
)/sound
/usb
/snd-usb-audio.ko
186 AUTOLOAD
:=$(call AutoLoad
,60,snd-usb-lib snd-usb-audio
)
189 define KernelPackage
/usb-audio
/description
190 Kernel support for USB audio devices
193 $(eval
$(call KernelPackage
,usb-audio
))
196 define KernelPackage
/usb-printer
198 TITLE
:=Support for printers
199 KCONFIG
:=CONFIG_USB_PRINTER
202 define KernelPackage
/usb-printer
/2.4
203 FILES
:=$(LINUX_DIR
)/drivers
/usb
/printer.o
204 AUTOLOAD
:=$(call AutoLoad
,60,printer
)
207 define KernelPackage
/usb-printer
/2.6
208 FILES
:=$(LINUX_DIR
)/drivers
/usb
/class
/usblp.ko
209 AUTOLOAD
:=$(call AutoLoad
,60,usblp
)
212 define KernelPackage
/usb-printer
/description
213 Kernel support for USB printers
216 $(eval
$(call KernelPackage
,usb-printer
))
219 define KernelPackage
/usb-serial
221 TITLE
:=Support for USB-to-Serial converters
222 KCONFIG
:=CONFIG_USB_SERIAL
223 FILES
:=$(LINUX_DIR
)/drivers
/usb
/serial
/usbserial.
$(LINUX_KMOD_SUFFIX
)
224 AUTOLOAD
:=$(call AutoLoad
,60,usbserial
)
227 define KernelPackage
/usb-serial
/description
228 Kernel support for USB-to-Serial converters
231 $(eval
$(call KernelPackage
,usb-serial
))
234 define KernelPackage
/usb-serial-airprime
235 $(call usbdep
,kmod-usb-serial @LINUX_2_6
)
236 TITLE
:=Support for Airprime
(EVDO
)
237 KCONFIG
:=CONFIG_USB_SERIAL_AIRPRIME
238 FILES
:=$(LINUX_DIR
)/drivers
/usb
/serial
/airprime.
$(LINUX_KMOD_SUFFIX
)
239 AUTOLOAD
:=$(call AutoLoad
,65,airprime
)
242 define KernelPackage
/usb-serial-airprime
/description
243 Kernel support for Airprime
(EVDO
)
246 $(eval
$(call KernelPackage
,usb-serial-airprime
))
249 define KernelPackage
/usb-serial-belkin
250 $(call usbdep
,kmod-usb-serial
)
251 TITLE
:=Support for Belkin devices
252 KCONFIG
:=CONFIG_USB_SERIAL_BELKIN
253 FILES
:=$(LINUX_DIR
)/drivers
/usb
/serial
/belkin_sa.
$(LINUX_KMOD_SUFFIX
)
254 AUTOLOAD
:=$(call AutoLoad
,65,belkin_sa
)
257 define KernelPackage
/usb-serial-belkin
/description
258 Kernel support for Belkin USB-to-Serial converters
261 $(eval
$(call KernelPackage
,usb-serial-belkin
))
264 define KernelPackage
/usb-serial-ftdi
265 $(call usbdep
,kmod-usb-serial
)
266 TITLE
:=Support for FTDI devices
267 KCONFIG
:=CONFIG_USB_SERIAL_FTDI_SIO
268 FILES
:=$(LINUX_DIR
)/drivers
/usb
/serial
/ftdi_sio.
$(LINUX_KMOD_SUFFIX
)
269 AUTOLOAD
:=$(call AutoLoad
,65,ftdi_sio
)
272 define KernelPackage
/usb-serial-ftdi
/description
273 Kernel support for FTDI USB-to-Serial converters
276 $(eval
$(call KernelPackage
,usb-serial-ftdi
))
279 define KernelPackage
/usb-serial-mct
280 $(call usbdep
,kmod-usb-serial
)
281 TITLE
:=Support for Magic Control Tech. devices
282 KCONFIG
:=CONFIG_USB_SERIAL_MCT_U232
283 FILES
:=$(LINUX_DIR
)/drivers
/usb
/serial
/mct_u232.
$(LINUX_KMOD_SUFFIX
)
284 AUTOLOAD
:=$(call AutoLoad
,65,mct_u232
)
287 define KernelPackage
/usb-serial-mct
/description
288 Kernel support for Magic Control Technology USB-to-Serial converters
291 $(eval
$(call KernelPackage
,usb-serial-mct
))
294 define KernelPackage
/usb-serial-pl2303
295 $(call usbdep
,kmod-usb-serial
)
296 TITLE
:=Support for Prolific PL2303 devices
297 KCONFIG
:=CONFIG_USB_SERIAL_PL2303
298 FILES
:=$(LINUX_DIR
)/drivers
/usb
/serial
/pl2303.
$(LINUX_KMOD_SUFFIX
)
299 AUTOLOAD
:=$(call AutoLoad
,65,pl2303
)
302 define KernelPackage
/usb-serial-pl2303
/description
303 Kernel support for Prolific PL2303 USB-to-Serial converters
306 $(eval
$(call KernelPackage
,usb-serial-pl2303
))
309 define KernelPackage
/usb-serial-sierrawireless
310 $(call usbdep
,kmod-usb-serial @LINUX_2_6
)
311 TITLE
:=Support for Sierra Wireless devices
312 KCONFIG
:=CONFIG_USB_SERIAL_SIERRAWIRELESS
313 FILES
:=$(LINUX_DIR
)/drivers
/usb
/serial
/sierra.
$(LINUX_KMOD_SUFFIX
)
314 AUTOLOAD
:=$(call AutoLoad
,65,sierra
)
317 define KernelPackage
/usb-serial-sierrawireless
/description
318 Kernel support for Sierra Wireless devices
321 $(eval
$(call KernelPackage
,usb-serial-sierrawireless
))
324 define KernelPackage
/usb-serial-visor
325 $(call usbdep
,kmod-usb-serial
)
326 TITLE
:=Support for Handspring Visor devices
327 KCONFIG
:=CONFIG_USB_SERIAL_VISOR
328 FILES
:=$(LINUX_DIR
)/drivers
/usb
/serial
/visor.
$(LINUX_KMOD_SUFFIX
)
329 AUTOLOAD
:=$(call AutoLoad
,65,visor
)
332 define KernelPackage
/usb-serial-visor
/description
333 Kernel support for Handspring Visor PDAs
336 $(eval
$(call KernelPackage
,usb-serial-visor
))
339 define KernelPackage
/usb-serial-keyspan
340 $(call usbdep
,kmod-usb-serial
)
341 TITLE
:=Support for Keyspan USB-to-Serial devices
343 CONFIG_USB_SERIAL_KEYSPAN \
344 CONFIG_USB_SERIAL_KEYSPAN_USA28 \
345 CONFIG_USB_SERIAL_KEYSPAN_USA28X \
346 CONFIG_USB_SERIAL_KEYSPAN_USA28XA \
347 CONFIG_USB_SERIAL_KEYSPAN_USA28XB \
348 CONFIG_USB_SERIAL_KEYSPAN_USA19 \
349 CONFIG_USB_SERIAL_KEYSPAN_USA18X \
350 CONFIG_USB_SERIAL_KEYSPAN_USA19W \
351 CONFIG_USB_SERIAL_KEYSPAN_USA19QW \
352 CONFIG_USB_SERIAL_KEYSPAN_USA19QI \
353 CONFIG_USB_SERIAL_KEYSPAN_MPR \
354 CONFIG_USB_SERIAL_KEYSPAN_USA49W \
355 CONFIG_USB_SERIAL_KEYSPAN_USA49WLC
356 FILES
:=$(LINUX_DIR
)/drivers
/usb
/serial
/keyspan.
$(LINUX_KMOD_SUFFIX
)
357 AUTOLOAD
:=$(call AutoLoad
,65,keyspan
)
360 define KernelPackage
/usb-serial-keyspan
/description
361 Kernel support for Keyspan USB-to-Serial devices
364 $(eval
$(call KernelPackage
,usb-serial-keyspan
))
367 define KernelPackage
/usb-serial-option
368 $(call usbdep
,kmod-usb-serial @LINUX_2_6
)
369 TITLE
:=Support for Option HSDPA modems
370 KCONFIG
:=CONFIG_USB_SERIAL_OPTION
371 FILES
:=$(LINUX_DIR
)/drivers
/usb
/serial
/option.
$(LINUX_KMOD_SUFFIX
)
372 AUTOLOAD
:=$(call AutoLoad
,65,option
)
375 define KernelPackage
/usb-serial-option
/description
376 Kernel support for Option HSDPA modems
379 $(eval
$(call KernelPackage
,usb-serial-option
))
382 define KernelPackage
/usb-storage
383 $(call usbdep
,+kmod-scsi-core
)
384 TITLE
:=USB Storage support
385 KCONFIG
:=CONFIG_USB_STORAGE
386 FILES
:=$(LINUX_DIR
)/drivers
/usb
/storage
/usb-storage.
$(LINUX_KMOD_SUFFIX
)
387 AUTOLOAD
:=$(call AutoLoad
,60,scsi_mod sd_mod usb-storage
)
390 define KernelPackage
/usb-storage
/description
391 Kernel support for USB Mass Storage devices
394 $(eval
$(call KernelPackage
,usb-storage
))
397 define KernelPackage
/usb-atm
398 $(call usbdep
,@LINUX_2_6 kmod-atm
)
399 TITLE
:=Support for ATM on USB bus
400 KCONFIG
:=CONFIG_USB_ATM
401 FILES
:=$(LINUX_DIR
)/drivers
/usb
/atm
/usbatm.
$(LINUX_KMOD_SUFFIX
)
402 AUTOLOAD
:=$(call AutoLoad
,60,usbatm
)
405 define KernelPackage
/usb-atm
/description
406 Kernel support for USB DSL modems
409 $(eval
$(call KernelPackage
,usb-atm
))
412 define KernelPackage
/usb-speedtouch
413 $(call usbdep
,@LINUX_2_6 kmod-atm
)
414 TITLE
:=Support for SpeedTouch ADSL modems
415 KCONFIG
:=CONFIG_USB_SPEEDTOUCH
416 FILES
:=$(LINUX_DIR
)/drivers
/usb
/atm
/speedtch.
$(LINUX_KMOD_SUFFIX
)
417 AUTOLOAD
:=$(call AutoLoad
,70,speedtch
)
420 define KernelPackage
/usb-speedtouch
/description
421 Kernel support for SpeedTouch USB ADSL modems
424 $(eval
$(call KernelPackage
,usb-speedtouch
))
427 define KernelPackage
/ueagle-atm
428 $(call usbdep
,@LINUX_2_6 kmod-atm
)
429 TITLE
:=Driver for Eagle
8051 based USB ADSL modems
430 FILES
:=$(LINUX_DIR
)/drivers
/usb
/atm
/ueagle-atm.
$(LINUX_KMOD_SUFFIX
)
431 KCONFIG
:=CONFIG_USB_UEAGLEATM
432 AUTOLOAD
:=$(call AutoLoad
,70,ueagle-atm
)
435 define KernelPackage
/ueagle-atm
/description
436 Kernel support for Eagle
8051 based USB ADSL modems
439 $(eval
$(call KernelPackage
,ueagle-atm
))
442 define KernelPackage
/usb-pwc
443 $(call usbdep
,+kmod-videodev @LINUX_2_6
)
444 TITLE
:=Philips WebCam driver
445 KCONFIG
:=CONFIG_USB_PWC CONFIG_VIDEO_V4L1
=y CONFIG_VIDEO_CAPTURE_DRIVERS
=y CONFIG_V4L_USB_DRIVERS
=y CONFIG_USB_PWC_DEBUG
=n
446 FILES
:=$(LINUX_DIR
)/drivers
/media
/video
/pwc
/pwc.
$(LINUX_KMOD_SUFFIX
)
447 AUTOLOAD
:=$(call AutoLoad
,70,pwc
)
451 define KernelPackage
/usb-pwc
/description
452 Kernel modules for supporting Philips WebCam USB devices
455 $(eval
$(call KernelPackage
,usb-pwc
))
458 define KernelPackage
/cpia2
459 $(call usbdep
,+kmod-videodev @LINUX_2_6
)
460 TITLE
:=CPIA2 video driver
461 KCONFIG
:=CONFIG_VIDEO_CPIA2
462 FILES
:=$(LINUX_DIR
)/drivers
/media
/video
/cpia2
/cpia2.
$(LINUX_KMOD_SUFFIX
)
463 AUTOLOAD
:=$(call AutoLoad
,70,cpia2
)
466 define KernelPackage
/cpia2
/description
467 Kernel modules for CPIA2 WebCam devices
470 $(eval
$(call KernelPackage
,cpia2
))
473 define KernelPackage
/usb-net
475 TITLE
:=Kernel modules for USB-to-Ethernet convertors
476 KCONFIG
:=CONFIG_USB_USBNET
477 AUTOLOAD
:=$(call Autoload
,60, usbnet
)
480 define KernelPackage
/usb-net
/2.4
481 FILES
:=$(LINUX_DIR
)/drivers
/usb
/usbnet.
$(LINUX_KMOD_SUFFIX
)
484 define KernelPackage
/usb-net
/2.6
485 FILES
:=$(LINUX_DIR
)/drivers
/$(USBNET_DIR
)/usbnet.
$(LINUX_KMOD_SUFFIX
)
488 define KernelPackage
/usb-net
/description
489 Kernel modules for USB-to-Ethernet convertors
492 $(eval
$(call KernelPackage
,usb-net
))
495 define KernelPackage
/usb-net-asix
496 $(call usbdep
,kmod-usb-net @LINUX_2_6
)
497 TITLE
:=Kernel module for USB-to-Ethernet Asix convertors
498 KCONFIG
:=CONFIG_USB_NET_AX8817X
499 FILES
:=$(LINUX_DIR
)/drivers
/$(USBNET_DIR
)/asix.
$(LINUX_KMOD_SUFFIX
)
500 AUTOLOAD
:=$(call Autoload
,61,asix
)
503 define KernelPackage
/usb-net-asix
/description
504 Kernel module for USB-to-Ethernet Asix convertors
507 $(eval
$(call KernelPackage
,usb-net-asix
))
510 define KernelPackage
/usb-net-kaweth
511 $(call usbdep
,kmod-usb-net @LINUX_2_6
)
512 TITLE
:=Kernel module for USB-to-Ethernet Kaweth convertors
513 KCONFIG
:=CONFIG_USB_KAWETH
514 FILES
:=$(LINUX_DIR
)/drivers
/$(USBNET_DIR
)/kaweth.
$(LINUX_KMOD_SUFFIX
)
515 AUTOLOAD
:=$(call Autoload
,61,kaweth
)
518 define KernelPackage
/usb-net-kaweth
/description
519 Kernel module for USB-to-Ethernet Kaweth convertors
522 $(eval
$(call KernelPackage
,usb-net-kaweth
))
525 define KernelPackage
/usb-net-pegasus
526 $(call usbdep
,kmod-usb-net @LINUX_2_6
)
527 TITLE
:=Kernel module for USB-to-Ethernet Pegasus convertors
528 KCONFIG
:=CONFIG_USB_PEGASUS
529 FILES
:=$(LINUX_DIR
)/drivers
/$(USBNET_DIR
)/pegasus.
$(LINUX_KMOD_SUFFIX
)
530 AUTOLOAD
:=$(call Autoload
,61,pegasus
)
533 define KernelPackage
/usb-net-pegasus
/description
534 Kernel module for USB-to-Ethernet Pegasus convertors
537 $(eval
$(call KernelPackage
,usb-net-pegasus
))
540 define KernelPackage
/usb-hid
541 $(call usbdep
,@LINUX_2_6
+kmod-input-core
+kmod-input-evdev
)
542 TITLE
:=Support for USB Human Input Devices
543 KCONFIG
:=CONFIG_USB_HID
544 FILES
:=$(LINUX_DIR
)/drivers
/$(USBHID_DIR
)/usbhid.ko
545 AUTOLOAD
:=$(call AutoLoad
,70,usbhid
)
549 define KernelPackage
/usb-hid
/description
550 Kernel support for USB HID devices such
as keyboards and mice
553 $(eval
$(call KernelPackage
,usb-hid
))
556 define KernelPackage
/usb-yealink
557 $(call usbdep
,@LINUX_2_6
+kmod-input-core
+kmod-input-evdev
)
558 TITLE
:=USB Yealink VOIP phone
559 KCONFIG
:=CONFIG_USB_YEALINK CONFIG_INPUT_YEALINK CONFIG_INPUT
=m CONFIG_INPUT_MISC
=y
560 FILES
:=$(LINUX_DIR
)/drivers
/$(USBINPUT_DIR
)/yealink.ko
561 AUTOLOAD
:=$(call AutoLoad
,70,yealink
)
564 define KernelPackage
/usb-yealink
/description
565 Kernel support for Yealink VOIP phone
568 $(eval
$(call KernelPackage
,usb-yealink
))