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