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
34 PROVIDES
:=usb-controller
38 define KernelPackage
/usb-uhci
/2.4
39 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/usb
/host
/uhci.o
40 KCONFIG
:=$(CONFIG_USB_UHCI_ALT
)
41 AUTOLOAD
:=$(call AutoLoad
,50,uhci
)
44 define KernelPackage
/usb-uhci
/2.6
45 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/usb
/host
/uhci-hcd.ko
46 KCONFIG
:=$(CONFIG_USB_UHCI_HCD
)
47 AUTOLOAD
:=$(call AutoLoad
,50,uhci-hcd
)
49 $(eval
$(call KernelPackage
,usb-uhci
))
52 define KernelPackage
/usb-ohci
53 TITLE
:=Support for OHCI controllers
54 DESCRIPTION
:=Kernel support for USB OHCI controllers
55 DEPENDS
:=kmod-usb-core
56 PROVIDES
:=usb-controller
60 define KernelPackage
/usb-ohci
/2.4
61 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/usb
/host
/usb-ohci.o
62 KCONFIG
:=$(CONFIG_USB_OHCI
)
63 AUTOLOAD
:=$(call AutoLoad
,50,usb-ohci
)
66 define KernelPackage
/usb-ohci
/2.6
67 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/usb
/host
/ohci-hcd.ko
68 KCONFIG
:=$(CONFIG_USB_OHCI_HCD
)
69 AUTOLOAD
:=$(call AutoLoad
,50,ohci-hcd
)
71 $(eval
$(call KernelPackage
,usb-ohci
))
74 define KernelPackage
/usb2
75 TITLE
:=Support for USB2 controllers
76 DESCRIPTION
:=Kernel support for USB2
(EHCI
) controllers
77 DEPENDS
:=kmod-usb-core
78 PROVIDES
:=usb-controller
79 KCONFIG
:=$(CONFIG_USB
)
81 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/usb
/host
/ehci-hcd.
$(LINUX_KMOD_SUFFIX
)
82 KCONFIG
:=$(CONFIG_USB_EHCI_HCD
)
83 AUTOLOAD
:=$(call AutoLoad
,50,ehci-hcd
)
85 $(eval
$(call KernelPackage
,usb2
))
90 DEPENDS
:=kmod-usb-core usb-controller
$(1)
94 define KernelPackage
/usb-acm
96 TITLE
:=Support for modems
/isdn controllers
97 DESCRIPTION
:=Kernel support for USB ACM devices
(modems
/isdn controllers
)
98 KCONFIG
:=$(CONFIG_USB_ACM
)
101 define KernelPackage
/usb-acm
/2.4
102 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/usb
/acm.o
103 AUTOLOAD
:=$(call AutoLoad
,60,acm
)
106 define KernelPackage
/usb-acm
/2.6
107 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/usb
/class
/cdc-acm.ko
108 AUTOLOAD
:=$(call AutoLoad
,60,cdc-acm
)
110 $(eval
$(call KernelPackage
,usb-acm
))
113 define KernelPackage
/usb-audio
114 $(call usbdep
,+kmod-soundcore
)
115 TITLE
:=Support for audio devices
116 DESCRIPTION
:=Kernel support for USB audio devices
117 KCONFIG
:=$(CONFIG_USB_AUDIO
)
118 AUTOLOAD
:=$(call AutoLoad
,60,audio
)
121 define KernelPackage
/usb-audio
/2.4
122 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/usb
/audio.o
125 define KernelPackage
/usb-audio
/2.6
126 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/usb
/class
/audio.ko
128 $(eval
$(call KernelPackage
,usb-audio
))
131 define KernelPackage
/usb-printer
133 TITLE
:=Support for printers
134 DESCRIPTION
:=Kernel support for USB printers
135 KCONFIG
:=$(CONFIG_USB_PRINTER
)
138 define KernelPackage
/usb-printer
/2.4
139 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/usb
/printer.o
140 AUTOLOAD
:=$(call AutoLoad
,60,printer
)
143 define KernelPackage
/usb-printer
/2.6
144 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/usb
/class
/usblp.ko
145 AUTOLOAD
:=$(call AutoLoad
,60,usblp
)
147 $(eval
$(call KernelPackage
,usb-printer
))
150 define KernelPackage
/usb-serial
152 TITLE
:=Support for USB-to-Serial converters
153 DESCRIPTION
:=Kernel support for USB-to-Serial converters
154 KCONFIG
:=$(CONFIG_USB_SERIAL
)
155 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/usb
/serial
/usbserial.
$(LINUX_KMOD_SUFFIX
)
156 AUTOLOAD
:=$(call AutoLoad
,60,usbserial
)
158 $(eval
$(call KernelPackage
,usb-serial
))
161 define KernelPackage
/usb-serial-belkin
162 TITLE
:=Support for Belkin devices
163 DESCRIPTION
:=Kernel support for Belkin USB-to-Serial converters
164 DEPENDS
:=kmod-usb-serial
166 KCONFIG
:=$(CONFIG_USB_SERIAL_BELKIN
)
167 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/usb
/serial
/belkin_sa.
$(LINUX_KMOD_SUFFIX
)
168 AUTOLOAD
:=$(call AutoLoad
,65,belkin_sa
)
170 $(eval
$(call KernelPackage
,usb-serial-belkin
))
173 define KernelPackage
/usb-serial-ftdi
174 TITLE
:=Support for FTDI devices
175 DESCRIPTION
:=Kernel support for FTDI USB-to-Serial converters
176 DEPENDS
:=kmod-usb-serial
178 KCONFIG
:=$(CONFIG_USB_SERIAL_FTDI_SIO
)
179 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/usb
/serial
/ftdi_sio.
$(LINUX_KMOD_SUFFIX
)
180 AUTOLOAD
:=$(call AutoLoad
,65,ftdi_sio
)
182 $(eval
$(call KernelPackage
,usb-serial-ftdi
))
185 define KernelPackage
/usb-serial-mct
186 TITLE
:=Support for Magic Control Tech. devices
187 DESCRIPTION
:=Kernel support for Magic Control Technology USB-to-Serial converters
188 DEPENDS
:=kmod-usb-serial
190 KCONFIG
:=$(CONFIG_USB_SERIAL_MCT_U232
)
191 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/usb
/serial
/mct_u232.
$(LINUX_KMOD_SUFFIX
)
192 AUTOLOAD
:=$(call AutoLoad
,65,mct_u232
)
194 $(eval
$(call KernelPackage
,usb-serial-mct
))
196 define KernelPackage
/usb-serial-pl2303
197 TITLE
:=Support for Prolific PL2303 devices
198 DESCRIPTION
:=Kernel support for Prolific PL2303 USB-to-Serial converters
199 DEPENDS
:=kmod-usb-serial
201 KCONFIG
:=$(CONFIG_USB_SERIAL_PL2303
)
202 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/usb
/serial
/pl2303.
$(LINUX_KMOD_SUFFIX
)
203 AUTOLOAD
:=$(call AutoLoad
,65,pl2303
)
205 $(eval
$(call KernelPackage
,usb-serial-pl2303
))
208 define KernelPackage
/usb-serial-visor
209 TITLE
:=Support for Handspring Visor devices
210 DESCRIPTION
:=Kernel support for Handspring Visor PDAs
211 DEPENDS
:=kmod-usb-serial
213 KCONFIG
:=$(CONFIG_USB_SERIAL_VISOR
)
214 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/usb
/serial
/visor.
$(LINUX_KMOD_SUFFIX
)
215 AUTOLOAD
:=$(call AutoLoad
,65,visor
)
217 $(eval
$(call KernelPackage
,usb-serial-visor
))
220 define KernelPackage
/usb-storage
222 TITLE
:=USB Storage support
223 DESCRIPTION
:=Kernel support for USB Mass Storage devices
224 KCONFIG
:=$(CONFIG_USB_STORAGE
)
226 $(MODULES_DIR
)/kernel
/drivers
/scsi
/scsi_mod.
$(LINUX_KMOD_SUFFIX
) \
227 $(MODULES_DIR
)/kernel
/drivers
/scsi
/sd_mod.
$(LINUX_KMOD_SUFFIX
) \
228 $(MODULES_DIR
)/kernel
/drivers
/usb
/storage
/usb-storage.
$(LINUX_KMOD_SUFFIX
)
229 AUTOLOAD
:=$(call AutoLoad
,60,scsi_mod sd_mod usb-storage
)
231 $(eval
$(call KernelPackage
,usb-storage
))
235 define KernelPackage
/usb-speedtouch
236 $(call usbdep
,@LINUX_2_6 kmod-atm
)
237 TITLE
:=Support for SpeedTouch ADSL modems
238 DESCRIPTION
:=Kernel support for SpeedTouch USB ADSL modems
239 KCONFIG
:=$(CONFIG_USB_SPEEDTOUCH
)
241 $(MODULES_DIR
)/kernel
/drivers
/usb
/atm
/usbatm.
$(LINUX_KMOD_SUFFIX
) \
242 $(MODULES_DIR
)/kernel
/drivers
/usb
/atm
/speedtch.
$(LINUX_KMOD_SUFFIX
)
243 AUTOLOAD
:=$(call AutoLoad
,70,usbatm speedtch
)
245 $(eval
$(call KernelPackage
,usb-speedtouch
))
248 define KernelPackage
/usb-pwc
249 $(call usbdep
,+kmod-videodev
)
250 TITLE
:=Philips WebCam driver
251 DESCRIPTION
:=Kernel modules for supporting Philips WebCam USB devices
252 KCONFIG
:=$(CONFIG_USB_PWC
)
253 AUTOLOAD
:=$(call AutoLoad
,70,pwc
)
256 define KernelPackage
/usb-pwc
/2.4
257 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/usb
/pwc.
$(LINUX_KMOD_SUFFIX
)
260 define KernelPackage
/usb-pwc
/2.6
261 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/usb
/media
/pwc.
$(LINUX_KMOD_SUFFIX
)
263 $(eval
$(call KernelPackage
,usb-pwc
))