xref: /openbsd-src/sys/dev/usb/files.usb (revision 48950c12d106c85f315112191a0228d7b83b9510)
1#	$OpenBSD: files.usb,v 1.103 2012/09/20 15:10:39 deraadt Exp $
2#	$NetBSD: files.usb,v 1.16 2000/02/14 20:29:54 augustss Exp $
3#
4# Config file and device description for machine-independent USB code.
5# Included by ports that need it.  Ports that use it must provide
6# their own "major" declarations for the appropriate devices.
7
8device	usb {}
9attach	usb at usbus
10file	dev/usb/usb.c			usb			needs-flag
11file	dev/usb/usbdi.c			usb
12file	dev/usb/usbdi_util.c		usb
13file	dev/usb/usb_mem.c		usb | usbf
14file	dev/usb/usb_subr.c		usb
15file	dev/usb/usb_quirks.c		usb
16
17# Hub driver
18device	uhub {[port = -1], [configuration = -1], [interface = -1],
19	      [vendor = -1], [product = -1], [release = -1]}
20attach	uhub at usb
21file	dev/usb/uhub.c			usb
22
23attach	uhub at uhub with uhub_uhub
24
25# Modem and com serial port "bus"
26define	ucombus {[portno = -1]}
27
28# EZ-USB firmware loader
29define	ezload
30file	dev/usb/ezload.c		ezload
31
32# Audio devices
33device	uaudio: audio, auconv, mulaw
34attach	uaudio at uhub
35file	dev/usb/uaudio.c		uaudio
36
37# Video devices
38device	uvideo: video, firmload
39attach	uvideo at uhub
40file	dev/usb/uvideo.c		uvideo
41
42device	udl: wsemuldisplaydev, rasops16, edid
43attach	udl at uhub
44file	dev/usb/udl.c			udl
45
46# MIDI devices
47device	umidi: midibus
48attach	umidi at uhub
49file	dev/usb/umidi.c			umidi
50file	dev/usb/umidi_quirks.c		umidi
51
52# Modem and com serial port
53device	ucom
54attach	ucom at ucombus
55file	dev/usb/ucom.c			ucom | ucombus		needs-flag
56
57
58# Generic devices
59device	ugen
60attach	ugen at uhub
61file	dev/usb/ugen.c			ugen			needs-flag
62
63
64# HID
65# HID "bus"
66define	uhidbus {[reportid = -1]}
67
68# HID processing
69define	hid
70file	dev/usb/hid.c			hid
71
72# HID root device for multiple report IDs
73device	uhidev: hid, uhidbus
74attach	uhidev at uhub
75file	dev/usb/uhidev.c		uhidev
76
77# Generic HID devices
78device	uhid: hid
79attach	uhid at uhidbus
80file	dev/usb/uhid.c			uhid			needs-flag
81
82# Keyboards
83define	hidkbd
84file	dev/usb/hidkbd.c		hidkbd			needs-flag
85file	dev/usb/ukbdmap.c		hidkbd
86device	ukbd: hid, hidkbd, wskbddev
87attach	ukbd at uhidbus
88file	dev/usb/ukbd.c			ukbd			needs-flag
89
90# Mice
91define	hidms
92file	dev/usb/hidms.c			hidms
93device	ums: hid, hidms, wsmousedev
94attach	ums at uhidbus
95file	dev/usb/ums.c			ums
96
97# USB Touchscreen
98device	uts: wsmousedev
99attach	uts at uhub
100file	dev/usb/uts.c			uts
101
102device	uhts: wsmousedev
103attach	uhts at uhidbus
104file	dev/usb/uhts.c			uhts
105
106# Cypress microcontroller based serial adpaters
107device	ucycom: hid, ucombus
108attach	ucycom at uhidbus
109file	dev/usb/ucycom.c		ucycom			needs-flag
110
111# Printers
112device	ulpt
113attach	ulpt at uhub
114file	dev/usb/ulpt.c			ulpt			needs-flag
115
116
117# Mass storage
118device	umass: scsi
119attach	umass at uhub
120file	dev/usb/umass.c			umass
121file	dev/usb/umass_quirks.c		umass
122file	dev/usb/umass_scsi.c		umass & scsibus
123
124
125# Sensors
126# TEMPerHUM HID
127device	uthum: hid
128attach	uthum at uhidbus
129file	dev/usb/uthum.c			uthum
130
131# Strawberry Linux USBRH
132device	utrh: hid
133attach	utrh at uhidbus
134file	dev/usb/utrh.c			utrh
135
136# Fujitsu Compnent Smart Power Strip FX-5204PS
137device	usps
138attach	usps at uhub
139file	dev/usb/usps.c			usps
140
141# Toradex OAK common
142define	uoak
143file	dev/usb/uoak_subr.c		uoakrh | uoaklux | uoakv
144
145# Toradex OAK series USB RH sensor
146device	uoakrh: hid, uoak
147attach	uoakrh at uhidbus
148file	dev/usb/uoakrh.c		uoakrh
149
150# Toradex OAK series USB LUX sensor
151device	uoaklux: hid, uoak
152attach	uoaklux at uhidbus
153file	dev/usb/uoaklux.c		uoaklux
154
155# Toradex OAK series USB 10V sensor
156device	uoakv: hid, uoak
157attach	uoakv at uhidbus
158file	dev/usb/uoakv.c			uoakv
159
160# Misc
161# Gude Expert mouseCLOCK DCF77 time signal station receiver
162device	udcf
163attach	udcf at uhub
164file	dev/usb/udcf.c			udcf
165
166# Meinberg USB5131 DCF77 radio clock
167device	umbg
168attach	umbg at uhub
169file	dev/usb/umbg.c			umbg
170
171# Diamond Multimedia Rio 500
172device	urio
173attach	urio at uhub
174file	dev/usb/urio.c			urio			needs-flag
175
176# Handspring Visor
177device	uvisor: ucombus
178attach	uvisor at uhub
179file	dev/usb/uvisor.c		uvisor
180
181# YAP phone firmware loader
182device	uyap: ezload, firmload
183attach	uyap at uhub
184file	dev/usb/uyap.c			uyap
185
186# D-Link DSB-R100 FM radio
187device	udsbr: radiobus
188attach	udsbr at uhub
189file	dev/usb/udsbr.c			udsbr
190
191# Maywa-denki/Kayac YUREX
192device	utwitch: hid
193attach	utwitch at uhidbus
194file	dev/usb/utwitch.c		utwitch
195
196# Ethernet adapters
197# ADMtek AN986 Pegasus
198device	aue: ether, ifnet, mii, ifmedia
199attach	aue at uhub
200file	dev/usb/if_aue.c		aue
201
202# Ethernet adapters
203# ASIX Electronics AX88172
204device	axe: ether, ifnet, mii, ifmedia
205attach	axe at uhub
206file	dev/usb/if_axe.c		axe
207
208# SMSC LAN95xx
209device	smsc: ether, ifnet, mii, ifmedia
210attach	smsc at uhub
211file	dev/usb/if_smsc.c		smsc
212
213# CATC USB-EL1201A
214device	cue: ether, ifnet, ifmedia
215attach	cue at uhub
216file	dev/usb/if_cue.c		cue
217
218# Kawasaki LSI KL5KUSB101B
219device	kue: ether, ifnet, ifmedia, firmload
220attach	kue at uhub
221file	dev/usb/if_kue.c		kue
222
223# CDC Ethernet
224device	cdce: ether, ifnet, ifmedia
225attach	cdce at uhub
226file	dev/usb/if_cdce.c		cdce
227
228# RNDIS
229device urndis: ether, ifnet, ifmedia
230attach urndis at uhub
231file	dev/usb/if_urndis.c		urndis
232
233# Moschip MCS7x30 Ethernet
234device	mos: ether, ifnet, mii, ifmedia
235attach	mos at uhub
236file	dev/usb/if_mos.c		mos
237
238# Davicom DM9601
239device	udav: ether, ifnet, mii, ifmedia
240attach	udav at uhub
241file	dev/usb/if_udav.c		udav
242
243# Prolific PL2302 host-host
244device	upl: ifnet
245attach	upl at uhub
246file	dev/usb/if_upl.c		upl
247
248# Realtek RTL8150L(M)
249device	url: ether, ifnet, mii
250attach	url at uhub
251file	dev/usb/if_url.c		url
252
253
254# Serial drivers
255# Modems
256device	umodem: ucombus
257attach	umodem at uhub
258file	dev/usb/umodem.c		umodem
259
260# FTDI serial driver
261device	uftdi: ucombus
262attach	uftdi at uhub
263file	dev/usb/uftdi.c			uftdi
264
265# Prolific PL2303 serial driver
266device	uplcom: ucombus
267attach	uplcom at uhub
268file	dev/usb/uplcom.c		uplcom
269
270# MCT USB-232 serial driver
271device	umct: ucombus
272attach	umct at uhub
273file	dev/usb/umct.c			umct
274
275# SUNTAC Slipper U VS-10U driver
276device	uvscom: ucombus
277attach	uvscom at uhub
278file	dev/usb/uvscom.c		uvscom
279
280# Belkin & other serial driver
281device	ubsa: ucombus
282attach	ubsa at uhub
283file	dev/usb/ubsa.c			ubsa
284
285# Silicon Laboratories CP210x serial
286device	uslcom: ucombus
287attach	uslcom at uhub
288file	dev/usb/uslcom.c		uslcom
289
290# Arkmicro ARK3116 serial
291device	uark: ucombus
292attach	uark at uhub
293file	dev/usb/uark.c			uark
294
295# MosChip MCS7703 serial
296device	moscom: ucombus
297attach	moscom at uhub
298file	dev/usb/moscom.c		moscom
299
300# iPAQ PDAs
301# Generic ipaq support
302device	uipaq: ucombus
303attach	uipaq at uhub
304file	dev/usb/uipaq.c			uipaq
305
306# Qualcomm MSM EVDO
307device	umsm: ucombus
308attach	umsm at uhub
309file	dev/usb/umsm.c			umsm
310
311# WinChipHead CH341/340 serial
312device	uchcom: ucombus
313attach	uchcom at uhub
314file	dev/usb/uchcom.c		uchcom
315
316# TI TUSB3410 serial
317device	uticom: ucombus
318attach	uticom at uhub
319file	dev/usb/uticom.c		uticom
320
321# Scanners
322# Generic scanner support
323device	uscanner
324attach	uscanner at uhub
325file	dev/usb/uscanner.c		uscanner		needs-flag
326
327# Prism3 WI @ USB
328attach	wi at uhub with wi_usb
329file	dev/usb/if_wi_usb.c		wi_usb
330
331# Atmel AT76c503 / AT76c503a / AT76c505 / AT76c505a @ USB
332device	atu: ether, ifnet, ifmedia, wlan, firmload
333attach	atu at uhub
334file	dev/usb/if_atu.c		atu
335
336# Bluetooth
337device	ubt: btbus, bluetooth
338attach	ubt at uhub
339file	dev/usb/ubt.c			ubt
340
341# Ralink Technology RT2500USB
342device	ural: ether, ifnet, ifmedia, wlan
343attach	ural at uhub
344file	dev/usb/if_ral.c		ural
345
346# Ralink Technology RT2501USB
347device	rum: ether, ifnet, ifmedia, wlan, firmload
348attach	rum at uhub
349file	dev/usb/if_rum.c		rum
350
351# Ralink Technology RT2700U/RT2800U/RT3000U
352device	run: ether, ifnet, ifmedia, wlan, firmload
353attach	run at uhub
354file	dev/usb/if_run.c		run
355
356# Zydas ZD1211
357device	zyd: ether, ifnet, ifmedia, wlan, firmload
358attach	zyd at uhub
359file	dev/usb/if_zyd.c		zyd
360
361# PrismGT
362device	upgt: ether, ifnet, ifmedia, wlan, firmload
363attach	upgt at uhub
364file	dev/usb/if_upgt.c		upgt
365
366# RealTek 8187
367device	urtw: ether, ifnet, ifmedia, wlan
368attach	urtw at uhub
369file	dev/usb/if_urtw.c		urtw
370
371# Realtek RTL8188CU/RTL8192CU
372device	urtwn: ether, ifnet, ifmedia, wlan, firmload
373attach	urtwn at uhub
374file	dev/usb/if_urtwn.c		urtwn
375
376# Realtek RTL8188SU/RTL8191SU/RTL8192SU
377device	rsu: ether, ifnet, ifmedia, wlan, firmload
378attach	rsu at uhub
379file	dev/usb/if_rsu.c		rsu
380
381# Atheros AR9170
382device	otus: ether, ifnet, ifmedia, wlan, firmload
383attach	otus at uhub
384file	dev/usb/if_otus.c		otus
385
386# Analog Devices Eagle driver
387device	ueagle: atm, ifnet, ezload, firmload
388attach	ueagle at uhub
389file	dev/usb/ueagle.c		ueagle
390
391
392# USB logical device
393device	usbf {}
394attach	usbf at usbdev
395file	dev/usb/usbf.c			usbf			needs-flag
396file	dev/usb/usbf_subr.c		usbf
397
398# Communication Device Class Ethernet function
399device	cdcef {}
400attach	cdcef at usbf
401file	dev/usb/if_cdcef.c		cdcef
402
403# Atheros AR5005UG/AR5005UX
404device	uath: ether, ifnet, ifmedia, wlan, firmload
405attach	uath at uhub
406file	dev/usb/if_uath.c		uath
407
408# Atheros AR9002U
409attach	athn at uhub with athn_usb: firmload
410file	dev/usb/if_athn_usb.c		athn_usb		needs-flag
411
412# Maxim/Dallas DS2490 1-Wire adapter
413device	uow: onewirebus
414attach	uow at uhub
415file	dev/usb/uow.c			uow
416
417# Research In Motion Blackberry
418device	uberry {}
419attach	uberry at uhub
420file	dev/usb/uberry.c		uberry
421
422# DFU driver
423device	udfu {}
424attach	udfu at uhub
425file	dev/usb/udfu.c			udfu
426