xref: /openbsd/sys/dev/usb/files.usb (revision d864fd98)
1#	$OpenBSD: files.usb,v 1.130 2016/09/03 13:37:45 guenther 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
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# Audio devices
29device	uaudio: audio
30attach	uaudio at uhub
31file	dev/usb/uaudio.c		uaudio
32
33# Video devices
34device	uvideo: video, firmload
35attach	uvideo at uhub
36file	dev/usb/uvideo.c		uvideo
37
38# USBTV007 devices
39device	utvfu: video, audio
40attach	utvfu at uhub
41file	dev/usb/utvfu.c			utvfu
42
43device	udl: wsemuldisplaydev, rasops16, edid
44attach	udl at uhub
45file	dev/usb/udl.c			udl
46
47# MIDI devices
48device	umidi: midibus
49attach	umidi at uhub
50file	dev/usb/umidi.c			umidi
51file	dev/usb/umidi_quirks.c		umidi
52
53# Modem and com serial port
54device	ucom
55attach	ucom at ucombus
56file	dev/usb/ucom.c			ucom | ucombus		needs-flag
57
58
59# Generic devices
60device	ugen
61attach	ugen at uhub
62file	dev/usb/ugen.c			ugen			needs-flag
63
64
65# HID
66# HID "bus"
67define	uhidbus {[reportid = -1]}
68
69# HID root device for multiple report IDs
70device	uhidev: hid, uhidbus
71attach	uhidev at uhub
72file	dev/usb/uhidev.c		uhidev
73
74# Generic HID devices
75device	uhid: hid
76attach	uhid at uhidbus
77file	dev/usb/uhid.c			uhid			needs-flag
78
79# Keyboards
80file	dev/usb/ukbdmap.c		hidkbd
81device	ukbd: hid, hidkbd, wskbddev
82attach	ukbd at uhidbus
83file	dev/usb/ukbd.c			ukbd			needs-flag
84
85# Mice
86device	ums: hid, hidms, wsmousedev
87attach	ums at uhidbus
88file	dev/usb/ums.c			ums
89
90# USB Touchscreen
91device	uts: wsmousedev
92attach	uts at uhub
93file	dev/usb/uts.c			uts
94
95# Apple USB Touchpad
96device	utpms: hid, wsmousedev
97attach	utpms at uhidbus
98file	dev/usb/utpms.c			utpms
99
100# Broadcom touchpad
101device	ubcmtp: wsmousedev
102attach	ubcmtp at uhub
103file	dev/usb/ubcmtp.c		ubcmtp
104
105# Cypress microcontroller based serial adpaters
106device	ucycom: hid, ucombus
107attach	ucycom at uhidbus
108file	dev/usb/ucycom.c		ucycom			needs-flag
109
110# Silicon Labs USB HID based UART controller
111device	uslhcom: hid, ucombus
112attach	uslhcom at uhidbus
113file	dev/usb/uslhcom.c		uslhcom			needs-flag
114
115# Printers
116device	ulpt: firmload
117attach	ulpt at uhub
118file	dev/usb/ulpt.c			ulpt			needs-flag
119
120
121# Mass storage
122device	umass: scsi
123attach	umass at uhub
124file	dev/usb/umass.c			umass
125file	dev/usb/umass_quirks.c		umass
126file	dev/usb/umass_scsi.c		umass & scsibus
127
128
129# Sensors
130# TEMPerHUM HID
131device	uthum: hid
132attach	uthum at uhidbus
133file	dev/usb/uthum.c			uthum
134
135# gold TEMPer
136device	ugold: hid
137attach	ugold at uhidbus
138file	dev/usb/ugold.c			ugold
139
140# Strawberry Linux USBRH
141device	utrh: hid
142attach	utrh at uhidbus
143file	dev/usb/utrh.c			utrh
144
145# Fujitsu Compnent Smart Power Strip FX-5204PS
146device	usps
147attach	usps at uhub
148file	dev/usb/usps.c			usps
149
150# Toradex OAK common
151define	uoak
152file	dev/usb/uoak_subr.c		uoakrh | uoaklux | uoakv
153
154# Toradex OAK series USB RH sensor
155device	uoakrh: hid, uoak
156attach	uoakrh at uhidbus
157file	dev/usb/uoakrh.c		uoakrh
158
159# Toradex OAK series USB LUX sensor
160device	uoaklux: hid, uoak
161attach	uoaklux at uhidbus
162file	dev/usb/uoaklux.c		uoaklux
163
164# Toradex OAK series USB 10V sensor
165device	uoakv: hid, uoak
166attach	uoakv at uhidbus
167file	dev/usb/uoakv.c			uoakv
168
169# Misc
170# Araneus Alea II TRNG
171device	ualea
172attach	ualea at uhub
173file	dev/usb/ualea.c			ualea
174
175# Moonbase Otago OneRNG TRNG
176device	uonerng
177attach	uonerng at uhub
178file	dev/usb/uonerng.c		uonerng
179
180# Gude Expert mouseCLOCK DCF77 time signal station receiver
181device	udcf
182attach	udcf at uhub
183file	dev/usb/udcf.c			udcf
184
185# Meinberg USB5131 DCF77 radio clock
186device	umbg
187attach	umbg at uhub
188file	dev/usb/umbg.c			umbg
189
190# Handspring Visor
191device	uvisor: ucombus
192attach	uvisor at uhub
193file	dev/usb/uvisor.c		uvisor
194
195# D-Link DSB-R100 FM radio
196device	udsbr: radiobus
197attach	udsbr at uhub
198file	dev/usb/udsbr.c			udsbr
199
200# Maywa-denki/Kayac YUREX
201device	utwitch: hid
202attach	utwitch at uhidbus
203file	dev/usb/utwitch.c		utwitch
204
205# Ethernet adapters
206# ADMtek AN986 Pegasus
207device	aue: ether, ifnet, mii, ifmedia
208attach	aue at uhub
209file	dev/usb/if_aue.c		aue
210
211# Ethernet adapters
212# ASIX Electronics AX88172
213device	axe: ether, ifnet, mii, ifmedia
214attach	axe at uhub
215file	dev/usb/if_axe.c		axe
216
217# Ethernet adapters
218# ASIX Electronics AX88178a and AX88179
219device	axen: ether, ifnet, mii, ifmedia
220attach	axen at uhub
221file	dev/usb/if_axen.c		axen
222
223# SMSC LAN95xx
224device	smsc: ether, ifnet, mii, ifmedia
225attach	smsc at uhub
226file	dev/usb/if_smsc.c		smsc
227
228# CATC USB-EL1201A
229device	cue: ether, ifnet, ifmedia
230attach	cue at uhub
231file	dev/usb/if_cue.c		cue
232
233# Kawasaki LSI KL5KUSB101B
234device	kue: ether, ifnet, ifmedia, firmload
235attach	kue at uhub
236file	dev/usb/if_kue.c		kue
237
238# CDC Ethernet
239device	cdce: ether, ifnet, ifmedia
240attach	cdce at uhub
241file	dev/usb/if_cdce.c		cdce
242
243# RNDIS
244device urndis: ether, ifnet, ifmedia
245attach urndis at uhub
246file	dev/usb/if_urndis.c		urndis
247
248# Moschip MCS7x30 Ethernet
249device	mos: ether, ifnet, mii, ifmedia
250attach	mos at uhub
251file	dev/usb/if_mos.c		mos
252
253# Davicom DM9601
254device	udav: ether, ifnet, mii, ifmedia
255attach	udav at uhub
256file	dev/usb/if_udav.c		udav
257
258# Prolific PL2302 host-host
259device	upl: ifnet
260attach	upl at uhub
261file	dev/usb/if_upl.c		upl
262
263# Genesys Logic GL620USB-A host-host
264device	ugl: ether, ifnet, ifmedia
265attach	ugl at uhub
266file	dev/usb/if_ugl.c		ugl
267
268# Realtek RTL8150L(M)
269device	url: ether, ifnet, mii
270attach	url at uhub
271file	dev/usb/if_url.c		url
272
273# Realtek RTL8152
274device	ure: ether, ifnet, mii
275attach	ure at uhub
276file	dev/usb/if_ure.c		ure
277
278
279# Serial drivers
280# Modems
281device	umodem: ucombus
282attach	umodem at uhub
283file	dev/usb/umodem.c		umodem
284
285# FTDI serial driver
286device	uftdi: ucombus
287attach	uftdi at uhub
288file	dev/usb/uftdi.c			uftdi
289
290# Prolific PL2303 serial driver
291device	uplcom: ucombus
292attach	uplcom at uhub
293file	dev/usb/uplcom.c		uplcom
294
295# MCT USB-232 serial driver
296device	umct: ucombus
297attach	umct at uhub
298file	dev/usb/umct.c			umct
299
300# SUNTAC Slipper U VS-10U driver
301device	uvscom: ucombus
302attach	uvscom at uhub
303file	dev/usb/uvscom.c		uvscom
304
305# Belkin & other serial driver
306device	ubsa: ucombus
307attach	ubsa at uhub
308file	dev/usb/ubsa.c			ubsa
309
310# Silicon Laboratories CP210x serial
311device	uslcom: ucombus
312attach	uslcom at uhub
313file	dev/usb/uslcom.c		uslcom
314
315# Arkmicro ARK3116 serial
316device	uark: ucombus
317attach	uark at uhub
318file	dev/usb/uark.c			uark
319
320# MosChip MCS7703 serial
321device	moscom: ucombus
322attach	moscom at uhub
323file	dev/usb/moscom.c		moscom
324
325# MosChip MCS78x0 serials
326device	umcs: ucombus
327attach	umcs at uhub
328file	dev/usb/umcs.c			umcs
329
330# simple serial
331device	uscom: ucombus
332attach	uscom at uhub
333file	dev/usb/uscom.c			uscom
334
335# iPAQ PDAs
336# Generic ipaq support
337device	uipaq: ucombus
338attach	uipaq at uhub
339file	dev/usb/uipaq.c			uipaq
340
341# Qualcomm MSM EVDO
342device	umsm: ucombus
343attach	umsm at uhub
344file	dev/usb/umsm.c			umsm
345
346# WinChipHead CH341/340 serial
347device	uchcom: ucombus
348attach	uchcom at uhub
349file	dev/usb/uchcom.c		uchcom
350
351# TI TUSB3410 serial
352device	uticom: ucombus
353attach	uticom at uhub
354file	dev/usb/uticom.c		uticom
355
356# Prism3 WI @ USB
357attach	wi at uhub with wi_usb
358file	dev/usb/if_wi_usb.c		wi_usb
359
360# Atmel AT76c503 / AT76c503a / AT76c505 / AT76c505a @ USB
361device	atu: ether, ifnet, ifmedia, wlan, firmload
362attach	atu at uhub
363file	dev/usb/if_atu.c		atu
364
365# Ralink Technology RT2500USB
366device	ural: ether, ifnet, ifmedia, wlan
367attach	ural at uhub
368file	dev/usb/if_ral.c		ural
369
370# Ralink Technology RT2501USB
371device	rum: ether, ifnet, ifmedia, wlan, firmload
372attach	rum at uhub
373file	dev/usb/if_rum.c		rum
374
375# Ralink Technology RT2700U/RT2800U/RT3000U
376device	run: ether, ifnet, ifmedia, wlan, firmload
377attach	run at uhub
378file	dev/usb/if_run.c		run
379
380# Zydas ZD1211
381device	zyd: ether, ifnet, ifmedia, wlan, firmload
382attach	zyd at uhub
383file	dev/usb/if_zyd.c		zyd
384
385# PrismGT
386device	upgt: ether, ifnet, ifmedia, wlan, firmload
387attach	upgt at uhub
388file	dev/usb/if_upgt.c		upgt
389
390# Realtek 8187
391device	urtw: ether, ifnet, ifmedia, wlan
392attach	urtw at uhub
393file	dev/usb/if_urtw.c		urtw
394
395# Realtek RTL8188CU/RTL8192CU
396device	urtwn: ether, ifnet, ifmedia, wlan, firmload
397attach	urtwn at uhub
398file	dev/usb/if_urtwn.c		urtwn
399
400# Realtek RTL8188SU/RTL8191SU/RTL8192SU
401device	rsu: ether, ifnet, ifmedia, wlan, firmload
402attach	rsu at uhub
403file	dev/usb/if_rsu.c		rsu
404
405# Atheros AR9170
406device	otus: ether, ifnet, ifmedia, wlan, firmload
407attach	otus at uhub
408file	dev/usb/if_otus.c		otus
409
410# Mobile Broadband Interface Model
411device	umb: ifnet, ifmedia
412attach	umb at uhub
413file	dev/usb/if_umb.c		umb
414
415# Atheros AR5005UG/AR5005UX
416device	uath: ether, ifnet, ifmedia, wlan, firmload
417attach	uath at uhub
418file	dev/usb/if_uath.c		uath
419
420# Atheros AR9002U
421attach	athn at uhub with athn_usb: firmload
422file	dev/usb/if_athn_usb.c		athn_usb		needs-flag
423
424# Maxim/Dallas DS2490 1-Wire adapter
425device	uow: onewirebus
426attach	uow at uhub
427file	dev/usb/uow.c			uow
428
429# Research In Motion BlackBerry
430device	uberry {}
431attach	uberry at uhub
432file	dev/usb/uberry.c		uberry
433
434# USB Power Devices
435device upd: hid
436attach upd at uhidbus
437file   dev/usb/upd.c			upd
438