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