xref: /openbsd-src/sys/dev/usb/files.usb (revision cf2525843d483a385de106a1361b2b9c18d96583)
1#	$OpenBSD: files.usb,v 1.64 2006/09/27 08:54:44 grange 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
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# MIDI devices
38device	umidi: midibus
39attach	umidi at uhub
40file	dev/usb/umidi.c			umidi
41file	dev/usb/umidi_quirks.c		umidi
42
43# Modem and com serial port
44device	ucom
45attach	ucom at ucombus
46file	dev/usb/ucom.c			ucom | ucombus		needs-flag
47
48
49# Generic devices
50device	ugen
51attach	ugen at uhub
52file	dev/usb/ugen.c			ugen			needs-flag
53
54
55# HID
56# HID "bus"
57define	uhidbus {[reportid = -1]}
58
59# HID processing
60define	hid
61file	dev/usb/hid.c			hid
62
63# HID root device for multiple report IDs
64device	uhidev: hid, uhidbus
65attach	uhidev at uhub
66file	dev/usb/uhidev.c		uhidev
67
68# Generic HID devices
69device	uhid: hid
70attach	uhid at uhidbus
71file	dev/usb/uhid.c			uhid			needs-flag
72
73# Keyboards
74device	ukbd: hid, wskbddev
75attach	ukbd at uhidbus
76file	dev/usb/ukbd.c			ukbd			needs-flag
77file	dev/usb/ukbdmap.c		ukbd
78
79# Mice
80device	ums: hid, wsmousedev
81attach	ums at uhidbus
82file	dev/usb/ums.c			ums
83
84# Cypress microcontroller based serial adpaters
85device	ucycom: hid, ucombus
86attach	ucycom at uhidbus
87file	dev/usb/ucycom.c		ucycom			needs-flag
88
89# Printers
90device	ulpt
91attach	ulpt at uhub
92file	dev/usb/ulpt.c			ulpt			needs-flag
93
94
95# Mass storage
96device	umass: scsi, atapi, ata
97attach	umass at uhub
98file	dev/usb/umass.c			umass
99file	dev/usb/umass_quirks.c		umass
100file	dev/usb/umass_scsi.c		umass & (scsibus | atapiscsi)
101
102
103# Misc
104# Gude Expert mouseCLOCK DCF77 time signal station receiver
105device	udcf
106attach	udcf at uhub
107file	dev/usb/udcf.c			udcf
108
109# Diamond Multimedia Rio 500
110device	urio
111attach	urio at uhub
112file	dev/usb/urio.c			urio			needs-flag
113
114# Handspring Visor
115device	uvisor: ucombus
116attach	uvisor at uhub
117file	dev/usb/uvisor.c		uvisor
118
119# YAP phone firmware loader
120device	uyap: ezload, firmload
121attach	uyap at uhub
122file	dev/usb/uyap.c			uyap
123
124# D-Link DSB-R100 FM radio
125device	udsbr: radiobus
126attach	udsbr at uhub
127file	dev/usb/udsbr.c			udsbr
128
129
130# Ethernet adapters
131# ADMtek AN986 Pegasus
132device	aue: ether, ifnet, mii, ifmedia
133attach	aue at uhub
134file	dev/usb/if_aue.c		aue
135
136# Ethernet adapters
137# ASIX Electronics AX88172
138device	axe: ether, ifnet, mii, ifmedia
139attach	axe at uhub
140file	dev/usb/if_axe.c		axe
141
142# CATC USB-EL1201A
143device	cue: ether, ifnet, ifmedia
144attach	cue at uhub
145file	dev/usb/if_cue.c		cue
146
147# Kawasaki LSI KL5KUSB101B
148device	kue: ether, ifnet, ifmedia, firmload
149attach	kue at uhub
150file	dev/usb/if_kue.c		kue
151
152# CDC Ethernet
153device	cdce: ether, ifnet, ifmedia
154attach	cdce at uhub
155file	dev/usb/if_cdce.c		cdce
156
157# Davicom DM9601
158device	udav: ether, ifnet, mii, ifmedia
159attach	udav at uhub
160file	dev/usb/if_udav.c		udav
161
162# Prolific PL2302 host-host
163device	upl: ifnet
164attach	upl at uhub
165file	dev/usb/if_upl.c		upl
166
167# Realtek RTL8150L(M)
168device	url: ether, ifnet, mii
169attach	url at uhub
170file	dev/usb/if_url.c		url
171
172
173# Serial drivers
174# Modems
175device	umodem: ucombus
176attach	umodem at uhub
177file	dev/usb/umodem.c		umodem
178
179# FTDI serial driver
180device	uftdi: ucombus
181attach	uftdi at uhub
182file	dev/usb/uftdi.c			uftdi
183
184# Prolific PL2303 serial driver
185device	uplcom: ucombus
186attach	uplcom at uhub
187file	dev/usb/uplcom.c		uplcom
188
189# MCT USB-232 serial driver
190device	umct: ucombus
191attach	umct at uhub
192file	dev/usb/umct.c			umct
193
194# SUNTAC Slipper U VS-10U driver
195device	uvscom: ucombus
196attach	uvscom at uhub
197file	dev/usb/uvscom.c		uvscom
198
199# Belkin & other serial driver
200device	ubsa: ucombus
201attach	ubsa at uhub
202file	dev/usb/ubsa.c			ubsa
203
204# Silicon Laboratories CP210x serial
205device	uslcom: ucombus
206attach	uslcom at uhub
207file	dev/usb/uslcom.c		uslcom
208
209# Arkmicro ARK3116 serial
210device	uark: ucombus
211attach	uark at uhub
212file	dev/usb/uark.c			uark
213
214# iPAQ PDAs
215# Generic ipaq support
216device	uipaq: ucombus
217attach	uipaq at uhub
218file	dev/usb/uipaq.c			uipaq
219
220# Qualcomm MSM EVDO
221device	umsm: ucombus
222attach	umsm at uhub
223file	dev/usb/umsm.c			umsm
224
225# Scanners
226# Generic scanner support
227device	uscanner
228attach	uscanner at uhub
229file	dev/usb/uscanner.c		uscanner		needs-flag
230
231# Avision SCSI over USB, HP5300
232device	usscanner: scsi
233attach	usscanner at uhub
234file	dev/usb/usscanner.c		usscanner
235
236# Prism3 WI @ USB
237attach	wi at uhub with wi_usb
238file	dev/usb/if_wi_usb.c		wi_usb
239
240# Atmel AT76c503 / AT76c503a / AT76c505 / AT76c505a @ USB
241device	atu: ether, ifnet, ifmedia, wlan, firmload
242attach	atu at uhub
243file	dev/usb/if_atu.c		atu
244
245# Bluetooth
246device	ubt: ifnet, bluetooth
247attach	ubt at uhub
248file	dev/usb/if_ubt.c		ubt
249
250# Ralink Technology RT2500USB
251device	ural: ether, ifnet, ifmedia, wlan
252attach	ural at uhub
253file	dev/usb/if_ral.c		ural
254
255# Ralink Technology RT2501USB
256device	rum: ether, ifnet, ifmedia, wlan, firmload
257attach	rum at uhub
258file	dev/usb/if_rum.c		rum
259
260# Zydas ZD1211
261device	zyd: ether, ifnet, ifmedia, wlan, firmload
262attach	zyd at uhub
263file	dev/usb/if_zyd.c		zyd
264
265# Analog Devices Eagle driver
266device	ueagle: atm, ifnet, ezload, firmload
267attach	ueagle at uhub
268file	dev/usb/ueagle.c		ueagle
269
270# Atheros AR5005UG/AR5005UX
271device	uath: ether, ifnet, ifmedia, wlan, firmload
272attach	uath at uhub
273file	dev/usb/if_uath.c		uath
274
275# Maxim/Dallas DS2490 1-Wire adapter
276device	uow: onewirebus
277attach	uow at uhub
278file	dev/usb/uow.c			uow
279