files.usb revision 1.96
1#	$NetBSD: files.usb,v 1.96 2010/03/06 21:05:37 plunky 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
57device	ugen
58attach	ugen at usbdevif
59file	dev/usb/ugen.c			ugen			needs-flag
60
61
62# HID
63# HID "bus"
64define	uhidbus {[ reportid = -1 ]}
65
66# HID root device for multiple report IDs
67device	uhidev: hid, uhidbus
68attach	uhidev at usbifif
69file	dev/usb/uhidev.c		uhidev
70
71# Generic HID devices
72device	uhid: hid
73attach	uhid at uhidbus
74file	dev/usb/uhid.c			uhid			needs-flag
75
76# Keyboards
77defparam	UKBD_LAYOUT
78device	ukbd: hid, wskbddev
79attach	ukbd at uhidbus
80file	dev/usb/ukbd.c			ukbd			needs-flag
81file	dev/usb/ukbdmap.c		ukbd | btkbd
82
83# Mice
84device	ums: hid, wsmousedev
85attach	ums at uhidbus
86file	dev/usb/ums.c			ums
87
88# eGalax USB Touch Panel
89device	uep: wsmousedev, tpcalib
90attach	uep at usbdevif
91file	dev/usb/uep.c			uep			needs-flag
92
93# Cypress microcontroller based serial adpaters
94device	ucycom: hid
95attach	ucycom at uhidbus
96file	dev/usb/ucycom.c		ucycom			needs-flag
97
98# Printers
99device	ulpt
100attach	ulpt at usbifif
101file	dev/usb/ulpt.c			ulpt			needs-flag
102
103
104# Mass storage
105device	umass: scsi, atapi, ata_hl
106attach	umass at usbifif
107file	dev/usb/umass.c			umass
108file	dev/usb/umass_isdata.c		umass & wd
109file	dev/usb/umass_quirks.c		umass
110file	dev/usb/umass_scsipi.c		umass & (scsibus | atapibus)
111
112
113# IrDA bridges
114device	uirda: irbus
115attach	uirda at usbifif
116file	dev/usb/uirda.c			uirda | stuirda
117
118# SigmaTel not quite UIRDA IrDA bridge
119device	stuirda: irbus,firmload
120attach	stuirda at usbifif
121file	dev/usb/stuirda.c		stuirda
122
123# SigmaTel IrDA bridge
124device	ustir: irbus, irdasir
125attach	ustir at usbdevif
126file	dev/usb/ustir.c			ustir
127
128
129# Bluetooth controllers
130device	ubt: btbus, bluetooth
131attach	ubt at usbdevif
132file	dev/usb/ubt.c			ubt
133
134#
135# Capture devices
136#
137
138# Sony PLAYSTATION(R) Eye
139device	pseye: videobus
140attach	pseye at usbifif
141file	dev/usb/pseye.c			pseye
142
143# USB Video Class capture devices
144device	uvideo: videobus
145attach	uvideo at usbifif
146file	dev/usb/uvideo.c		uvideo
147
148#
149# Misc
150#
151
152# Diamond Multimedia Rio 500
153device	urio
154attach	urio at usbdevif
155file	dev/usb/urio.c			urio			needs-flag
156
157# BlackBerries
158device	uberry
159attach	uberry at usbdevif
160file	dev/usb/uberry.c			uberry
161
162# Handspring Visor
163device	uvisor: ucombus
164attach	uvisor at usbdevif
165file	dev/usb/uvisor.c		uvisor
166
167# Generic Serial Adapter
168device	ugensa: ucombus
169attach	ugensa at usbdevif
170file	dev/usb/ugensa.c		ugensa
171
172# 3G Modem
173device	u3g: ucombus
174attach	u3g at usbifif
175device	u3ginit
176attach	u3ginit at usbdevif
177file	dev/usb/u3g.c			u3g | u3ginit
178
179# YAP phone firmware loader
180device	uyap: ezload
181attach	uyap at usbdevif
182file	dev/usb/uyap.c			uyap
183
184# D-Link DSB-R100 FM radio
185device	udsbr: radiodev
186attach	udsbr at usbdevif
187file	dev/usb/udsbr.c			udsbr
188
189# TEMPerHUM HID
190device	uthum: hid
191attach	uthum at uhidbus
192file	dev/usb/uthum.c			uthum
193
194# Ethernet adapters
195# ADMtek AN986 Pegasus
196device	aue: arp, ether, ifnet, mii, mii_phy
197attach	aue at usbdevif
198file	dev/usb/if_aue.c		aue
199
200# CDC Ethernet
201device  cdce: arp, ether, ifnet
202attach  cdce at usbifif
203file    dev/usb/if_cdce.c                cdce
204
205# CATC USB-EL1201A
206device	cue: arp, ether, ifnet
207attach	cue at usbdevif
208file	dev/usb/if_cue.c		cue
209
210# Kawasaki LSI KL5KUSB101B
211device	kue: arp, ether, ifnet
212attach	kue at usbdevif
213file	dev/usb/if_kue.c		kue
214
215# Prolific PL2302 host-host
216device	upl: ifnet
217attach	upl at usbdevif
218file	dev/usb/if_upl.c		upl
219
220# Realtek RTL8150L(M)
221device	url: arp, ether, ifnet, mii
222attach	url at usbdevif
223file	dev/usb/if_url.c		url
224
225# ASIX AX88172
226device	axe: arp, ether, ifnet, mii, mii_phy
227attach	axe at usbdevif
228file	dev/usb/if_axe.c		axe
229
230# DAVICOM DM9601
231device	udav: arp, ether, ifnet, mii, mii_phy
232attach	udav at usbdevif
233file	dev/usb/if_udav.c		udav
234
235
236# Serial drivers
237# Modems
238define	umodem_common
239file	dev/usb/umodem_common.c		umodem_common
240device	umodem: ucombus, umodem_common
241attach	umodem at usbifif
242file	dev/usb/umodem.c		umodem
243
244# FTDI serial driver
245device	uftdi: ucombus
246attach	uftdi at usbdevif
247file	dev/usb/uftdi.c			uftdi
248
249# Prolific PL2303 serial driver
250device	uplcom: ucombus
251attach	uplcom at usbdevif
252file	dev/usb/uplcom.c		uplcom
253
254# MCT USB-232 serial driver
255device	umct: ucombus
256attach	umct at usbdevif
257file	dev/usb/umct.c			umct
258
259# MOSCHIP MCS7xxx serial driver
260device	moscom: ucombus
261attach	moscom at usbdevif
262file	dev/usb/moscom.c		moscom
263
264# SUNTAC Slipper U VS-10U driver
265device	uvscom: ucombus
266attach	uvscom at usbdevif
267file	dev/usb/uvscom.c		uvscom
268
269# Belkin & other serial driver
270define	ubsa_common
271file	dev/usb/ubsa_common.c		ubsa_common
272device	ubsa: ucombus, ubsa_common
273attach	ubsa at usbdevif
274file	dev/usb/ubsa.c			ubsa
275
276# Huawei E220 3G/HSDPA modem (ubsa)
277device	uhmodem: ucombus, ubsa_common
278attach	uhmodem at usbifif
279file	dev/usb/uhmodem.c		uhmodem
280
281# iPAQ PDAs
282device  uipaq: ucombus
283attach  uipaq at usbdevif
284file    dev/usb/uipaq.c			uipaq
285
286# Kyocera AIR-EDGE PHONE
287device	ukyopon: ucombus, umodem_common
288attach	ukyopon at usbifif
289file	dev/usb/ukyopon.c		ukyopon
290
291# Silicon Labs CP210x serial driver
292device	uslsa: ucombus
293attach	uslsa at usbdevif
294file	dev/usb/uslsa.c			uslsa
295
296# WinChipHead CH341/340 serial driver
297device	uchcom: ucombus
298attach	uchcom at usbdevif
299file	dev/usb/uchcom.c		uchcom
300
301# Scanners
302# Generic scanner support
303device	uscanner
304attach	uscanner at usbdevif
305file	dev/usb/uscanner.c		uscanner		needs-flag
306
307# Avision SCSI over USB, HP5300
308device	usscanner: scsi
309attach	usscanner at usbdevif
310file	dev/usb/usscanner.c		usscanner
311
312# Atmel AT76c503 / AT76c503a / AT76c505 / AT76c505a @ USB
313device	atu: ether, ifnet, arp, wlan
314attach	atu at usbdevif
315file	dev/usb/if_atu.c		atu
316
317# Ralink Technology RT2500USB
318attach	ral at usbdevif with ural
319file	dev/usb/if_ural.c		ural
320
321device	rum: ether, ifnet, arp, wlan, firmload
322attach	rum at usbdevif
323file	dev/usb/if_rum.c		rum
324
325# Topfield digital PVRs
326device	utoppy
327attach	utoppy at usbdevif
328file	dev/usb/utoppy.c		utoppy
329
330# Microsoft Xbox controller (gamepad)
331device	xboxcontroller: wsmousedev
332attach	xboxcontroller at usbdevif
333file	dev/usb/xboxcontroller.c	xboxcontroller
334
335# Zydas ZD1211
336device	zyd: ether, ifnet, arp, wlan, firmload
337attach	zyd at usbdevif
338file	dev/usb/if_zyd.c		zyd
339
340# DisplayLink DL-1x0/DL-1x5
341device	udl: wsemuldisplaydev, rasops16, edid, firmload
342attach	udl at usbdevif
343file	dev/usb/udl.c			udl
344
345# Wireless WAN modems from Option N.V.
346device	uhso: ifnet
347attach	uhso at usbdevif
348file	dev/usb/uhso.c			uhso
349