files.usb revision 1.88
1#	$NetBSD: files.usb,v 1.88 2008/09/18 16:40:37 jmcneill Exp $
2#
3# Config file and device description for machine-independent USB code.
4# Included by ports that need it.  Ports that use it must provide
5# their own "major" declarations for the appropriate devices.
6
7defflag	USBVERBOSE
8
9defflag	opt_uvideo.h	UVIDEO_DEBUG
10
11define	usbroothubif { }
12define	usbdevif { [port = -1], [configuration = -1], [interface = -1],
13		   [vendor = -1], [product = -1], [release = -1] }
14define	usbifif { [port = -1], [configuration = -1], [interface = -1],
15		  [vendor = -1], [product = -1], [release = -1] }
16
17device	usb: usbroothubif
18attach	usb at usbus
19file	dev/usb/usb.c			usb			needs-flag
20file	dev/usb/usbdi.c			usb
21file	dev/usb/usbdi_util.c		usb
22file	dev/usb/usb_mem.c		usb
23file	dev/usb/usb_subr.c		usb
24file	dev/usb/usb_quirks.c		usb
25
26# Hub driver
27device	uhub: usbdevif, usbifif
28attach	uhub at usbroothubif with uroothub
29attach	uhub at usbdevif
30file	dev/usb/uhub.c			usb
31
32# Modem and com serial port "bus"
33define	ucombus {[ portno = -1 ]}
34
35# EZ-USB firmware loader
36define	ezload
37file	dev/usb/ezload.c		ezload
38
39# Audio devices
40device	uaudio: audiobus, auconv, mulaw, aurateconv
41attach	uaudio at usbifif
42file	dev/usb/uaudio.c		uaudio
43
44# MIDI devices
45device	umidi: midibus
46attach	umidi at usbifif
47file	dev/usb/umidi.c			umidi
48file	dev/usb/umidi_quirks.c		umidi
49
50# Modem and com serial port
51device	ucom
52attach	ucom at ucombus
53file	dev/usb/ucom.c			ucom | ucombus		needs-flag
54
55
56# Generic devices
57defflag UGEN_BULK_RA_WB
58device	ugen
59attach	ugen at usbdevif
60file	dev/usb/ugen.c			ugen			needs-flag
61
62
63# HID
64# HID "bus"
65define	uhidbus {[ reportid = -1 ]}
66
67# HID root device for multiple report IDs
68device	uhidev: hid, uhidbus
69attach	uhidev at usbifif
70file	dev/usb/uhidev.c		uhidev
71
72# Generic HID devices
73device	uhid: hid
74attach	uhid at uhidbus
75file	dev/usb/uhid.c			uhid			needs-flag
76
77# Keyboards
78defparam	UKBD_LAYOUT
79device	ukbd: hid, wskbddev
80attach	ukbd at uhidbus
81file	dev/usb/ukbd.c			ukbd			needs-flag
82file	dev/usb/ukbdmap.c		ukbd | btkbd
83
84# Mice
85device	ums: hid, wsmousedev
86attach	ums at uhidbus
87file	dev/usb/ums.c			ums
88
89# eGalax USB Touch Panel
90device	uep: wsmousedev, tpcalib
91attach	uep at usbdevif
92file	dev/usb/uep.c			uep			needs-flag
93
94# Cypress microcontroller based serial adpaters
95device	ucycom: hid
96attach	ucycom at uhidbus
97file	dev/usb/ucycom.c		ucycom			needs-flag
98
99# Printers
100device	ulpt
101attach	ulpt at usbifif
102file	dev/usb/ulpt.c			ulpt			needs-flag
103
104
105# Mass storage
106device	umass: scsi, atapi, ata_hl
107attach	umass at usbifif
108file	dev/usb/umass.c			umass
109file	dev/usb/umass_isdata.c		umass & wd
110file	dev/usb/umass_quirks.c		umass
111file	dev/usb/umass_scsipi.c		umass & (scsibus | atapibus)
112
113
114# IrDA bridges
115device	uirda: irbus
116attach	uirda at usbifif
117file	dev/usb/uirda.c			uirda | stuirda
118
119# SigmaTel not quite UIRDA IrDA bridge
120device	stuirda: irbus,firmload
121attach	stuirda at usbifif
122file	dev/usb/stuirda.c		stuirda
123
124# SigmaTel IrDA bridge
125device	ustir: irbus, irdasir
126attach	ustir at usbdevif
127file	dev/usb/ustir.c			ustir
128
129
130# Bluetooth controllers
131device	ubt: btbus, bluetooth
132attach	ubt at usbdevif
133file	dev/usb/ubt.c			ubt
134
135#
136# Capture devices
137#
138
139# Sony PLAYSTATION(R) Eye
140device	pseye: videobus
141attach	pseye at usbifif
142file	dev/usb/pseye.c			pseye
143
144# Logitech QuickCam Messenger
145device	qcm: videobus
146attach	qcm at usbifif
147file	dev/usb/qcm.c			qcm
148
149# USB Video Class capture devices
150device	uvideo: videobus
151attach	uvideo at usbifif
152file	dev/usb/uvideo.c		uvideo
153
154#
155# Misc
156#
157
158# Diamond Multimedia Rio 500
159device	urio
160attach	urio at usbdevif
161file	dev/usb/urio.c			urio			needs-flag
162
163# BlackBerries
164device	uberry
165attach	uberry at usbdevif
166file	dev/usb/uberry.c			uberry
167
168# Handspring Visor
169device	uvisor: ucombus
170attach	uvisor at usbdevif
171file	dev/usb/uvisor.c		uvisor
172
173# Generic Serial Adapter
174device	ugensa: ucombus
175attach	ugensa at usbdevif
176file	dev/usb/ugensa.c		ugensa
177
178# YAP phone firmware loader
179device	uyap: ezload
180attach	uyap at usbdevif
181file	dev/usb/uyap.c			uyap
182
183# D-Link DSB-R100 FM radio
184device	udsbr: radiodev
185attach	udsbr at usbdevif
186file	dev/usb/udsbr.c			udsbr
187
188
189# Ethernet adapters
190# ADMtek AN986 Pegasus
191device	aue: arp, ether, ifnet, mii, mii_phy
192attach	aue at usbdevif
193file	dev/usb/if_aue.c		aue
194
195# CDC Ethernet
196device  cdce: arp, ether, ifnet
197attach  cdce at usbifif
198file    dev/usb/if_cdce.c                cdce
199
200# CATC USB-EL1201A
201device	cue: arp, ether, ifnet
202attach	cue at usbdevif
203file	dev/usb/if_cue.c		cue
204
205# Kawasaki LSI KL5KUSB101B
206device	kue: arp, ether, ifnet
207attach	kue at usbdevif
208file	dev/usb/if_kue.c		kue
209
210# Prolific PL2302 host-host
211device	upl: ifnet
212attach	upl at usbdevif
213file	dev/usb/if_upl.c		upl
214
215# Realtek RTL8150L(M)
216device	url: arp, ether, ifnet, mii
217attach	url at usbdevif
218file	dev/usb/if_url.c		url
219
220# ASIX AX88172
221device	axe: arp, ether, ifnet, mii, mii_phy
222attach	axe at usbdevif
223file	dev/usb/if_axe.c		axe
224
225# DAVICOM DM9601
226device	udav: arp, ether, ifnet, mii, mii_phy
227attach	udav at usbdevif
228file	dev/usb/if_udav.c		udav
229
230
231# Serial drivers
232# Modems
233define	umodem_common
234file	dev/usb/umodem_common.c		umodem_common
235device	umodem: ucombus, umodem_common
236attach	umodem at usbifif
237file	dev/usb/umodem.c		umodem
238
239# FTDI serial driver
240device	uftdi: ucombus
241attach	uftdi at usbdevif
242file	dev/usb/uftdi.c			uftdi
243
244# Prolific PL2303 serial driver
245device	uplcom: ucombus
246attach	uplcom at usbdevif
247file	dev/usb/uplcom.c		uplcom
248
249# MCT USB-232 serial driver
250device	umct: ucombus
251attach	umct at usbdevif
252file	dev/usb/umct.c			umct
253
254# SUNTAC Slipper U VS-10U driver
255device	uvscom: ucombus
256attach	uvscom at usbdevif
257file	dev/usb/uvscom.c		uvscom
258
259# Belkin & other serial driver
260define	ubsa_common
261file	dev/usb/ubsa_common.c		ubsa_common
262device	ubsa: ucombus, ubsa_common
263attach	ubsa at usbdevif
264file	dev/usb/ubsa.c			ubsa
265
266# Huawei E220 3G/HSDPA modem (ubsa)
267device	uhmodem: ucombus, ubsa_common
268attach	uhmodem at usbifif
269file	dev/usb/uhmodem.c		uhmodem
270
271# iPAQ PDAs
272device  uipaq: ucombus
273attach  uipaq at usbdevif
274file    dev/usb/uipaq.c			uipaq
275
276# Kyocera AIR-EDGE PHONE
277device	ukyopon: ucombus, umodem_common
278attach	ukyopon at usbifif
279file	dev/usb/ukyopon.c		ukyopon
280
281# Silicon Labs CP210x serial driver
282device	uslsa: ucombus
283attach	uslsa at usbdevif
284file	dev/usb/uslsa.c			uslsa
285
286# WinChipHead CH341/340 serial driver
287device	uchcom: ucombus
288attach	uchcom at usbdevif
289file	dev/usb/uchcom.c		uchcom
290
291# Scanners
292# Generic scanner support
293device	uscanner
294attach	uscanner at usbdevif
295file	dev/usb/uscanner.c		uscanner		needs-flag
296
297# Avision SCSI over USB, HP5300
298device	usscanner: scsi
299attach	usscanner at usbdevif
300file	dev/usb/usscanner.c		usscanner
301
302# Atmel AT76c503 / AT76c503a / AT76c505 / AT76c505a @ USB
303device	atu: ether, ifnet, arp, wlan
304attach	atu at usbdevif
305file	dev/usb/if_atu.c		atu
306
307# Ralink Technology RT2500USB
308attach	ral at usbdevif with ural
309file	dev/usb/if_ural.c		ural
310
311device	rum: ether, ifnet, arp, wlan, firmload
312attach	rum at usbdevif
313file	dev/usb/if_rum.c		rum
314
315# Topfield digital PVRs
316device	utoppy
317attach	utoppy at usbdevif
318file	dev/usb/utoppy.c		utoppy
319
320# Microsoft Xbox controller (gamepad)
321device	xboxcontroller: wsmousedev
322attach	xboxcontroller at usbdevif
323file	dev/usb/xboxcontroller.c	xboxcontroller
324
325# Zydas ZD1211
326device	zyd: ether, ifnet, arp, wlan, firmload
327attach	zyd at usbdevif
328file	dev/usb/if_zyd.c		zyd
329