1 # $NetBSD: files.usb,v 1.93 2009/12/23 01:04:45 pooka Exp $
3 # Config file and device description for machine-independent USB code.
4 # Included by ports that need it. Ports that use it must provide
5 # their own "major" declarations for the appropriate devices.
9 defflag opt_uvideo.h UVIDEO_DEBUG
11 define usbroothubif { }
12 define usbdevif { [port = -1], [configuration = -1], [interface = -1],
13 [vendor = -1], [product = -1], [release = -1] }
14 define usbifif { [port = -1], [configuration = -1], [interface = -1],
15 [vendor = -1], [product = -1], [release = -1] }
17 device usb: usbroothubif
19 file dev/usb/usb.c usb needs-flag
20 file dev/usb/usbdi.c usb
21 file dev/usb/usbdi_util.c usb
22 file dev/usb/usb_mem.c usb
23 file dev/usb/usb_subr.c usb
24 file dev/usb/usb_quirks.c usb
27 device uhub: usbdevif, usbifif
28 attach uhub at usbroothubif with uroothub
29 attach uhub at usbdevif
30 file dev/usb/uhub.c usb
32 # Modem and com serial port "bus"
33 define ucombus {[ portno = -1 ]}
35 # EZ-USB firmware loader
37 file dev/usb/ezload.c ezload
40 device uaudio: audiobus, auconv, mulaw, aurateconv
41 attach uaudio at usbifif
42 file dev/usb/uaudio.c uaudio
46 attach umidi at usbifif
47 file dev/usb/umidi.c umidi
48 file dev/usb/umidi_quirks.c umidi
50 # Modem and com serial port
52 attach ucom at ucombus
53 file dev/usb/ucom.c ucom | ucombus needs-flag
58 attach ugen at usbdevif
59 file dev/usb/ugen.c ugen needs-flag
64 define uhidbus {[ reportid = -1 ]}
66 # HID root device for multiple report IDs
67 device uhidev: hid, uhidbus
68 attach uhidev at usbifif
69 file dev/usb/uhidev.c uhidev
73 attach uhid at uhidbus
74 file dev/usb/uhid.c uhid needs-flag
78 device ukbd: hid, wskbddev
79 attach ukbd at uhidbus
80 file dev/usb/ukbd.c ukbd needs-flag
81 file dev/usb/ukbdmap.c ukbd | btkbd
84 device ums: hid, wsmousedev
86 file dev/usb/ums.c ums
88 # eGalax USB Touch Panel
89 device uep: wsmousedev, tpcalib
90 attach uep at usbdevif
91 file dev/usb/uep.c uep needs-flag
93 # Cypress microcontroller based serial adpaters
95 attach ucycom at uhidbus
96 file dev/usb/ucycom.c ucycom needs-flag
100 attach ulpt at usbifif
101 file dev/usb/ulpt.c ulpt needs-flag
105 device umass: scsi, atapi, ata_hl
106 attach umass at usbifif
107 file dev/usb/umass.c umass
108 file dev/usb/umass_isdata.c umass & wd
109 file dev/usb/umass_quirks.c umass
110 file dev/usb/umass_scsipi.c umass & (scsibus | atapibus)
115 attach uirda at usbifif
116 file dev/usb/uirda.c uirda | stuirda
118 # SigmaTel not quite UIRDA IrDA bridge
119 device stuirda: irbus,firmload
120 attach stuirda at usbifif
121 file dev/usb/stuirda.c stuirda
123 # SigmaTel IrDA bridge
124 device ustir: irbus, irdasir
125 attach ustir at usbdevif
126 file dev/usb/ustir.c ustir
129 # Bluetooth controllers
130 device ubt: btbus, bluetooth
131 attach ubt at usbdevif
132 file dev/usb/ubt.c ubt
138 # Sony PLAYSTATION(R) Eye
139 device pseye: videobus
140 attach pseye at usbifif
141 file dev/usb/pseye.c pseye
143 # USB Video Class capture devices
144 device uvideo: videobus
145 attach uvideo at usbifif
146 file dev/usb/uvideo.c uvideo
152 # Diamond Multimedia Rio 500
154 attach urio at usbdevif
155 file dev/usb/urio.c urio needs-flag
159 attach uberry at usbdevif
160 file dev/usb/uberry.c uberry
163 device uvisor: ucombus
164 attach uvisor at usbdevif
165 file dev/usb/uvisor.c uvisor
167 # Generic Serial Adapter
168 device ugensa: ucombus
169 attach ugensa at usbdevif
170 file dev/usb/ugensa.c ugensa
174 attach u3g at usbifif
176 attach u3ginit at usbdevif
177 file dev/usb/u3g.c u3g | u3ginit
179 # YAP phone firmware loader
181 attach uyap at usbdevif
182 file dev/usb/uyap.c uyap
184 # D-Link DSB-R100 FM radio
185 device udsbr: radiodev
186 attach udsbr at usbdevif
187 file dev/usb/udsbr.c udsbr
191 # ADMtek AN986 Pegasus
192 device aue: arp, ether, ifnet, mii, mii_phy
193 attach aue at usbdevif
194 file dev/usb/if_aue.c aue
197 device cdce: arp, ether, ifnet
198 attach cdce at usbifif
199 file dev/usb/if_cdce.c cdce
202 device cue: arp, ether, ifnet
203 attach cue at usbdevif
204 file dev/usb/if_cue.c cue
206 # Kawasaki LSI KL5KUSB101B
207 device kue: arp, ether, ifnet
208 attach kue at usbdevif
209 file dev/usb/if_kue.c kue
211 # Prolific PL2302 host-host
213 attach upl at usbdevif
214 file dev/usb/if_upl.c upl
216 # Realtek RTL8150L(M)
217 device url: arp, ether, ifnet, mii
218 attach url at usbdevif
219 file dev/usb/if_url.c url
222 device axe: arp, ether, ifnet, mii, mii_phy
223 attach axe at usbdevif
224 file dev/usb/if_axe.c axe
227 device udav: arp, ether, ifnet, mii, mii_phy
228 attach udav at usbdevif
229 file dev/usb/if_udav.c udav
235 file dev/usb/umodem_common.c umodem_common
236 device umodem: ucombus, umodem_common
237 attach umodem at usbifif
238 file dev/usb/umodem.c umodem
241 device uftdi: ucombus
242 attach uftdi at usbdevif
243 file dev/usb/uftdi.c uftdi
245 # Prolific PL2303 serial driver
246 device uplcom: ucombus
247 attach uplcom at usbdevif
248 file dev/usb/uplcom.c uplcom
250 # MCT USB-232 serial driver
252 attach umct at usbdevif
253 file dev/usb/umct.c umct
255 # MOSCHIP MCS7xxx serial driver
256 device moscom: ucombus
257 attach moscom at usbdevif
258 file dev/usb/moscom.c moscom
260 # SUNTAC Slipper U VS-10U driver
261 device uvscom: ucombus
262 attach uvscom at usbdevif
263 file dev/usb/uvscom.c uvscom
265 # Belkin & other serial driver
267 file dev/usb/ubsa_common.c ubsa_common
268 device ubsa: ucombus, ubsa_common
269 attach ubsa at usbdevif
270 file dev/usb/ubsa.c ubsa
272 # Huawei E220 3G/HSDPA modem (ubsa)
273 device uhmodem: ucombus, ubsa_common
274 attach uhmodem at usbifif
275 file dev/usb/uhmodem.c uhmodem
278 device uipaq: ucombus
279 attach uipaq at usbdevif
280 file dev/usb/uipaq.c uipaq
282 # Kyocera AIR-EDGE PHONE
283 device ukyopon: ucombus, umodem_common
284 attach ukyopon at usbifif
285 file dev/usb/ukyopon.c ukyopon
287 # Silicon Labs CP210x serial driver
288 device uslsa: ucombus
289 attach uslsa at usbdevif
290 file dev/usb/uslsa.c uslsa
292 # WinChipHead CH341/340 serial driver
293 device uchcom: ucombus
294 attach uchcom at usbdevif
295 file dev/usb/uchcom.c uchcom
298 # Generic scanner support
300 attach uscanner at usbdevif
301 file dev/usb/uscanner.c uscanner needs-flag
303 # Avision SCSI over USB, HP5300
304 device usscanner: scsi
305 attach usscanner at usbdevif
306 file dev/usb/usscanner.c usscanner
308 # Atmel AT76c503 / AT76c503a / AT76c505 / AT76c505a @ USB
309 device atu: ether, ifnet, arp, wlan
310 attach atu at usbdevif
311 file dev/usb/if_atu.c atu
313 # Ralink Technology RT2500USB
314 attach ral at usbdevif with ural
315 file dev/usb/if_ural.c ural
317 device rum: ether, ifnet, arp, wlan, firmload
318 attach rum at usbdevif
319 file dev/usb/if_rum.c rum
321 # Topfield digital PVRs
323 attach utoppy at usbdevif
324 file dev/usb/utoppy.c utoppy
326 # Microsoft Xbox controller (gamepad)
327 device xboxcontroller: wsmousedev
328 attach xboxcontroller at usbdevif
329 file dev/usb/xboxcontroller.c xboxcontroller
332 device zyd: ether, ifnet, arp, wlan, firmload
333 attach zyd at usbdevif
334 file dev/usb/if_zyd.c zyd
336 # DisplayLink DL-1x0/DL-1x5
337 device udl: wsemuldisplaydev, rasops16, edid, firmload
338 attach udl at usbdevif
339 file dev/usb/udl.c udl