xref: /openbsd-src/sys/dev/usb/files.usb (revision d874cce4b1d9fe6b41c9e4f2117a77d8a4a37b92)
1#	$OpenBSD: files.usb,v 1.76 2008/04/09 19:49:55 robert 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
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# Davicom DM9601
173device	udav: ether, ifnet, mii, ifmedia
174attach	udav at uhub
175file	dev/usb/if_udav.c		udav
176
177# Prolific PL2302 host-host
178device	upl: ifnet
179attach	upl at uhub
180file	dev/usb/if_upl.c		upl
181
182# Realtek RTL8150L(M)
183device	url: ether, ifnet, mii
184attach	url at uhub
185file	dev/usb/if_url.c		url
186
187
188# Serial drivers
189# Modems
190device	umodem: ucombus
191attach	umodem at uhub
192file	dev/usb/umodem.c		umodem
193
194# FTDI serial driver
195device	uftdi: ucombus
196attach	uftdi at uhub
197file	dev/usb/uftdi.c			uftdi
198
199# Prolific PL2303 serial driver
200device	uplcom: ucombus
201attach	uplcom at uhub
202file	dev/usb/uplcom.c		uplcom
203
204# MCT USB-232 serial driver
205device	umct: ucombus
206attach	umct at uhub
207file	dev/usb/umct.c			umct
208
209# SUNTAC Slipper U VS-10U driver
210device	uvscom: ucombus
211attach	uvscom at uhub
212file	dev/usb/uvscom.c		uvscom
213
214# Belkin & other serial driver
215device	ubsa: ucombus
216attach	ubsa at uhub
217file	dev/usb/ubsa.c			ubsa
218
219# Silicon Laboratories CP210x serial
220device	uslcom: ucombus
221attach	uslcom at uhub
222file	dev/usb/uslcom.c		uslcom
223
224# Arkmicro ARK3116 serial
225device	uark: ucombus
226attach	uark at uhub
227file	dev/usb/uark.c			uark
228
229# MosChip MCS7703 serial
230device	moscom: ucombus
231attach	moscom at uhub
232file	dev/usb/moscom.c		moscom
233
234# iPAQ PDAs
235# Generic ipaq support
236device	uipaq: ucombus
237attach	uipaq at uhub
238file	dev/usb/uipaq.c			uipaq
239
240# Qualcomm MSM EVDO
241device	umsm: ucombus
242attach	umsm at uhub
243file	dev/usb/umsm.c			umsm
244
245# WinChipHead CH341/340 serial
246device	uchcom: ucombus
247attach	uchcom at uhub
248file	dev/usb/uchcom.c		uchcom
249
250# TI TUSB3410 serial
251device	uticom: ucombus
252attach	uticom at uhub
253file	dev/usb/uticom.c		uticom
254
255# Scanners
256# Generic scanner support
257device	uscanner
258attach	uscanner at uhub
259file	dev/usb/uscanner.c		uscanner		needs-flag
260
261# Avision SCSI over USB, HP5300
262device	usscanner: scsi
263attach	usscanner at uhub
264file	dev/usb/usscanner.c		usscanner
265
266# Prism3 WI @ USB
267attach	wi at uhub with wi_usb
268file	dev/usb/if_wi_usb.c		wi_usb
269
270# Atmel AT76c503 / AT76c503a / AT76c505 / AT76c505a @ USB
271device	atu: ether, ifnet, ifmedia, wlan, firmload
272attach	atu at uhub
273file	dev/usb/if_atu.c		atu
274
275# Bluetooth
276device	ubt: btbus, bluetooth
277attach	ubt at uhub
278file	dev/usb/ubt.c			ubt
279
280# Ralink Technology RT2500USB
281device	ural: ether, ifnet, ifmedia, wlan
282attach	ural at uhub
283file	dev/usb/if_ral.c		ural
284
285# Ralink Technology RT2501USB
286device	rum: ether, ifnet, ifmedia, wlan, firmload
287attach	rum at uhub
288file	dev/usb/if_rum.c		rum
289
290# Zydas ZD1211
291device	zyd: ether, ifnet, ifmedia, wlan, firmload
292attach	zyd at uhub
293file	dev/usb/if_zyd.c		zyd
294
295# PrismGT
296device	upgt: ether, ifnet, ifmedia, wlan, firmload
297attach	upgt at uhub
298file	dev/usb/if_upgt.c		upgt
299
300# Analog Devices Eagle driver
301device	ueagle: atm, ifnet, ezload, firmload
302attach	ueagle at uhub
303file	dev/usb/ueagle.c		ueagle
304
305
306# USB logical device
307device	usbf {}
308attach	usbf at usbdev
309file	dev/usb/usbf.c			usbf			needs-flag
310file	dev/usb/usbf_subr.c		usbf
311
312# Communication Device Class Ethernet function
313device	cdcef {}
314attach	cdcef at usbf
315file	dev/usb/if_cdcef.c		cdcef
316
317
318# Atheros AR5005UG/AR5005UX
319device	uath: ether, ifnet, ifmedia, wlan, firmload
320attach	uath at uhub
321file	dev/usb/if_uath.c		uath
322
323# Maxim/Dallas DS2490 1-Wire adapter
324device	uow: onewirebus
325attach	uow at uhub
326file	dev/usb/uow.c			uow
327
328# Research In Motion Blackberry
329device	uberry {}
330attach	uberry at uhub
331file	dev/usb/uberry.c		uberry
332