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