xref: /openbsd-src/sys/dev/usb/files.usb (revision a28daedfc357b214be5c701aa8ba8adb29a7f1c2)
1#	$OpenBSD: files.usb,v 1.82 2009/03/23 21:53:57 damien 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
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
79device	ukbd: hid, wskbddev
80attach	ukbd at uhidbus
81file	dev/usb/ukbd.c			ukbd			needs-flag
82file	dev/usb/ukbdmap.c		ukbd
83
84# Mice
85device	ums: hid, wsmousedev
86attach	ums at uhidbus
87file	dev/usb/ums.c			ums
88
89# USB Touchscreen
90device	uts: wsmousedev
91attach	uts at uhub
92file	dev/usb/uts.c			uts
93
94# Cypress microcontroller based serial adpaters
95device	ucycom: hid, ucombus
96attach	ucycom at uhidbus
97file	dev/usb/ucycom.c		ucycom			needs-flag
98
99# Printers
100device	ulpt
101attach	ulpt at uhub
102file	dev/usb/ulpt.c			ulpt			needs-flag
103
104
105# Mass storage
106device	umass: scsi, atapi, ata
107attach	umass at uhub
108file	dev/usb/umass.c			umass
109file	dev/usb/umass_quirks.c		umass
110file	dev/usb/umass_scsi.c		umass & (scsibus | atapiscsi)
111
112
113# Misc
114# Gude Expert mouseCLOCK DCF77 time signal station receiver
115device	udcf
116attach	udcf at uhub
117file	dev/usb/udcf.c			udcf
118
119# Meinberg USB5131 DCF77 radio clock
120device	umbg
121attach	umbg at uhub
122file	dev/usb/umbg.c			umbg
123
124# Diamond Multimedia Rio 500
125device	urio
126attach	urio at uhub
127file	dev/usb/urio.c			urio			needs-flag
128
129# Handspring Visor
130device	uvisor: ucombus
131attach	uvisor at uhub
132file	dev/usb/uvisor.c		uvisor
133
134# YAP phone firmware loader
135device	uyap: ezload, firmload
136attach	uyap at uhub
137file	dev/usb/uyap.c			uyap
138
139# D-Link DSB-R100 FM radio
140device	udsbr: radiobus
141attach	udsbr at uhub
142file	dev/usb/udsbr.c			udsbr
143
144
145# Ethernet adapters
146# ADMtek AN986 Pegasus
147device	aue: ether, ifnet, mii, ifmedia
148attach	aue at uhub
149file	dev/usb/if_aue.c		aue
150
151# Ethernet adapters
152# ASIX Electronics AX88172
153device	axe: ether, ifnet, mii, ifmedia
154attach	axe at uhub
155file	dev/usb/if_axe.c		axe
156
157# CATC USB-EL1201A
158device	cue: ether, ifnet, ifmedia
159attach	cue at uhub
160file	dev/usb/if_cue.c		cue
161
162# Kawasaki LSI KL5KUSB101B
163device	kue: ether, ifnet, ifmedia, firmload
164attach	kue at uhub
165file	dev/usb/if_kue.c		kue
166
167# CDC Ethernet
168device	cdce: ether, ifnet, ifmedia
169attach	cdce at uhub
170file	dev/usb/if_cdce.c		cdce
171
172# Moschip MCS7x30 Ethernet
173device	mos: ether, ifnet, mii, ifmedia
174attach	mos at uhub
175file	dev/usb/if_mos.c		mos
176
177# Davicom DM9601
178device	udav: ether, ifnet, mii, ifmedia
179attach	udav at uhub
180file	dev/usb/if_udav.c		udav
181
182# Prolific PL2302 host-host
183device	upl: ifnet
184attach	upl at uhub
185file	dev/usb/if_upl.c		upl
186
187# Realtek RTL8150L(M)
188device	url: ether, ifnet, mii
189attach	url at uhub
190file	dev/usb/if_url.c		url
191
192
193# Serial drivers
194# Modems
195device	umodem: ucombus
196attach	umodem at uhub
197file	dev/usb/umodem.c		umodem
198
199# FTDI serial driver
200device	uftdi: ucombus
201attach	uftdi at uhub
202file	dev/usb/uftdi.c			uftdi
203
204# Prolific PL2303 serial driver
205device	uplcom: ucombus
206attach	uplcom at uhub
207file	dev/usb/uplcom.c		uplcom
208
209# MCT USB-232 serial driver
210device	umct: ucombus
211attach	umct at uhub
212file	dev/usb/umct.c			umct
213
214# SUNTAC Slipper U VS-10U driver
215device	uvscom: ucombus
216attach	uvscom at uhub
217file	dev/usb/uvscom.c		uvscom
218
219# Belkin & other serial driver
220device	ubsa: ucombus
221attach	ubsa at uhub
222file	dev/usb/ubsa.c			ubsa
223
224# Silicon Laboratories CP210x serial
225device	uslcom: ucombus
226attach	uslcom at uhub
227file	dev/usb/uslcom.c		uslcom
228
229# Arkmicro ARK3116 serial
230device	uark: ucombus
231attach	uark at uhub
232file	dev/usb/uark.c			uark
233
234# MosChip MCS7703 serial
235device	moscom: ucombus
236attach	moscom at uhub
237file	dev/usb/moscom.c		moscom
238
239# iPAQ PDAs
240# Generic ipaq support
241device	uipaq: ucombus
242attach	uipaq at uhub
243file	dev/usb/uipaq.c			uipaq
244
245# Qualcomm MSM EVDO
246device	umsm: ucombus
247attach	umsm at uhub
248file	dev/usb/umsm.c			umsm
249
250# WinChipHead CH341/340 serial
251device	uchcom: ucombus
252attach	uchcom at uhub
253file	dev/usb/uchcom.c		uchcom
254
255# TI TUSB3410 serial
256device	uticom: ucombus
257attach	uticom at uhub
258file	dev/usb/uticom.c		uticom
259
260# Scanners
261# Generic scanner support
262device	uscanner
263attach	uscanner at uhub
264file	dev/usb/uscanner.c		uscanner		needs-flag
265
266# Avision SCSI over USB, HP5300
267device	usscanner: scsi
268attach	usscanner at uhub
269file	dev/usb/usscanner.c		usscanner
270
271# Prism3 WI @ USB
272attach	wi at uhub with wi_usb
273file	dev/usb/if_wi_usb.c		wi_usb
274
275# Atmel AT76c503 / AT76c503a / AT76c505 / AT76c505a @ USB
276device	atu: ether, ifnet, ifmedia, wlan, firmload
277attach	atu at uhub
278file	dev/usb/if_atu.c		atu
279
280# Bluetooth
281device	ubt: btbus, bluetooth
282attach	ubt at uhub
283file	dev/usb/ubt.c			ubt
284
285# Ralink Technology RT2500USB
286device	ural: ether, ifnet, ifmedia, wlan
287attach	ural at uhub
288file	dev/usb/if_ral.c		ural
289
290# Ralink Technology RT2501USB
291device	rum: ether, ifnet, ifmedia, wlan, firmload
292attach	rum at uhub
293file	dev/usb/if_rum.c		rum
294
295# Ralink Technology RT2700U/RT2800U/RT3000U
296device	run: ether, ifnet, ifmedia, wlan, firmload
297attach	run at uhub
298file	dev/usb/if_run.c		run
299
300# Zydas ZD1211
301device	zyd: ether, ifnet, ifmedia, wlan, firmload
302attach	zyd at uhub
303file	dev/usb/if_zyd.c		zyd
304
305# PrismGT
306device	upgt: ether, ifnet, ifmedia, wlan, firmload
307attach	upgt at uhub
308file	dev/usb/if_upgt.c		upgt
309
310# RealTek 8187
311device	urtw: ether, ifnet, ifmedia, wlan
312attach	urtw at uhub
313file	dev/usb/if_urtw.c		urtw
314
315# Atheros AR9170
316device	otus: ether, ifnet, ifmedia, wlan, firmload
317attach	otus at uhub
318file	dev/usb/if_otus.c		otus
319
320# Analog Devices Eagle driver
321device	ueagle: atm, ifnet, ezload, firmload
322attach	ueagle at uhub
323file	dev/usb/ueagle.c		ueagle
324
325
326# USB logical device
327device	usbf {}
328attach	usbf at usbdev
329file	dev/usb/usbf.c			usbf			needs-flag
330file	dev/usb/usbf_subr.c		usbf
331
332# Communication Device Class Ethernet function
333device	cdcef {}
334attach	cdcef at usbf
335file	dev/usb/if_cdcef.c		cdcef
336
337
338# Atheros AR5005UG/AR5005UX
339device	uath: ether, ifnet, ifmedia, wlan, firmload
340attach	uath at uhub
341file	dev/usb/if_uath.c		uath
342
343# Maxim/Dallas DS2490 1-Wire adapter
344device	uow: onewirebus
345attach	uow at uhub
346file	dev/usb/uow.c			uow
347
348# Research In Motion Blackberry
349device	uberry {}
350attach	uberry at uhub
351file	dev/usb/uberry.c		uberry
352
353# DFU driver
354device	udfu {}
355attach	udfu at uhub
356file	dev/usb/udfu.c			udfu
357