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