files.usb revision 1.93
1#	$NetBSD: files.usb,v 1.93 2009/12/23 01:04:45 pooka 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# Generic Serial Adapter
173device	u3g: ucombus
174attach	u3g at usbdevif
175file	dev/usb/u3g.c			u3g
176
177# YAP phone firmware loader
178device	uyap: ezload
179attach	uyap at usbdevif
180file	dev/usb/uyap.c			uyap
181
182# D-Link DSB-R100 FM radio
183device	udsbr: radiodev
184attach	udsbr at usbdevif
185file	dev/usb/udsbr.c			udsbr
186
187
188# Ethernet adapters
189# ADMtek AN986 Pegasus
190device	aue: arp, ether, ifnet, mii, mii_phy
191attach	aue at usbdevif
192file	dev/usb/if_aue.c		aue
193
194# CDC Ethernet
195device  cdce: arp, ether, ifnet
196attach  cdce at usbifif
197file    dev/usb/if_cdce.c                cdce
198
199# CATC USB-EL1201A
200device	cue: arp, ether, ifnet
201attach	cue at usbdevif
202file	dev/usb/if_cue.c		cue
203
204# Kawasaki LSI KL5KUSB101B
205device	kue: arp, ether, ifnet
206attach	kue at usbdevif
207file	dev/usb/if_kue.c		kue
208
209# Prolific PL2302 host-host
210device	upl: ifnet
211attach	upl at usbdevif
212file	dev/usb/if_upl.c		upl
213
214# Realtek RTL8150L(M)
215device	url: arp, ether, ifnet, mii
216attach	url at usbdevif
217file	dev/usb/if_url.c		url
218
219# ASIX AX88172
220device	axe: arp, ether, ifnet, mii, mii_phy
221attach	axe at usbdevif
222file	dev/usb/if_axe.c		axe
223
224# DAVICOM DM9601
225device	udav: arp, ether, ifnet, mii, mii_phy
226attach	udav at usbdevif
227file	dev/usb/if_udav.c		udav
228
229
230# Serial drivers
231# Modems
232define	umodem_common
233file	dev/usb/umodem_common.c		umodem_common
234device	umodem: ucombus, umodem_common
235attach	umodem at usbifif
236file	dev/usb/umodem.c		umodem
237
238# FTDI serial driver
239device	uftdi: ucombus
240attach	uftdi at usbdevif
241file	dev/usb/uftdi.c			uftdi
242
243# Prolific PL2303 serial driver
244device	uplcom: ucombus
245attach	uplcom at usbdevif
246file	dev/usb/uplcom.c		uplcom
247
248# MCT USB-232 serial driver
249device	umct: ucombus
250attach	umct at usbdevif
251file	dev/usb/umct.c			umct
252
253# MOSCHIP MCS7xxx serial driver
254device	moscom: ucombus
255attach	moscom at usbdevif
256file	dev/usb/moscom.c		moscom
257
258# SUNTAC Slipper U VS-10U driver
259device	uvscom: ucombus
260attach	uvscom at usbdevif
261file	dev/usb/uvscom.c		uvscom
262
263# Belkin & other serial driver
264define	ubsa_common
265file	dev/usb/ubsa_common.c		ubsa_common
266device	ubsa: ucombus, ubsa_common
267attach	ubsa at usbdevif
268file	dev/usb/ubsa.c			ubsa
269
270# Huawei E220 3G/HSDPA modem (ubsa)
271device	uhmodem: ucombus, ubsa_common
272attach	uhmodem at usbifif
273file	dev/usb/uhmodem.c		uhmodem
274
275# iPAQ PDAs
276device  uipaq: ucombus
277attach  uipaq at usbdevif
278file    dev/usb/uipaq.c			uipaq
279
280# Kyocera AIR-EDGE PHONE
281device	ukyopon: ucombus, umodem_common
282attach	ukyopon at usbifif
283file	dev/usb/ukyopon.c		ukyopon
284
285# Silicon Labs CP210x serial driver
286device	uslsa: ucombus
287attach	uslsa at usbdevif
288file	dev/usb/uslsa.c			uslsa
289
290# WinChipHead CH341/340 serial driver
291device	uchcom: ucombus
292attach	uchcom at usbdevif
293file	dev/usb/uchcom.c		uchcom
294
295# Scanners
296# Generic scanner support
297device	uscanner
298attach	uscanner at usbdevif
299file	dev/usb/uscanner.c		uscanner		needs-flag
300
301# Avision SCSI over USB, HP5300
302device	usscanner: scsi
303attach	usscanner at usbdevif
304file	dev/usb/usscanner.c		usscanner
305
306# Atmel AT76c503 / AT76c503a / AT76c505 / AT76c505a @ USB
307device	atu: ether, ifnet, arp, wlan
308attach	atu at usbdevif
309file	dev/usb/if_atu.c		atu
310
311# Ralink Technology RT2500USB
312attach	ral at usbdevif with ural
313file	dev/usb/if_ural.c		ural
314
315device	rum: ether, ifnet, arp, wlan, firmload
316attach	rum at usbdevif
317file	dev/usb/if_rum.c		rum
318
319# Topfield digital PVRs
320device	utoppy
321attach	utoppy at usbdevif
322file	dev/usb/utoppy.c		utoppy
323
324# Microsoft Xbox controller (gamepad)
325device	xboxcontroller: wsmousedev
326attach	xboxcontroller at usbdevif
327file	dev/usb/xboxcontroller.c	xboxcontroller
328
329# Zydas ZD1211
330device	zyd: ether, ifnet, arp, wlan, firmload
331attach	zyd at usbdevif
332file	dev/usb/if_zyd.c		zyd
333
334# DisplayLink DL-1x0/DL-1x5
335device	udl: wsemuldisplaydev, rasops16, edid, firmload
336attach	udl at usbdevif
337file	dev/usb/udl.c			udl
338