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