files.usb revision 1.68
1#	$NetBSD: files.usb,v 1.68 2006/07/24 14:24:50 gdt 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
9device	usb { }
10attach	usb at usbus
11file	dev/usb/usb.c			usb			needs-flag
12file	dev/usb/usbdi.c			usb
13file	dev/usb/usbdi_util.c		usb
14file	dev/usb/usb_mem.c		usb
15file	dev/usb/usb_subr.c		usb
16file	dev/usb/usb_quirks.c		usb
17
18# Hub driver
19device	uhub { [port = -1], [configuration = -1], [interface = -1],
20               [vendor = -1], [product = -1], [release = -1] }
21attach	uhub at usb
22file	dev/usb/uhub.c			usb
23
24attach	uhub at uhub with uhub_uhub
25
26# Modem and com serial port "bus"
27define	ucombus {[ portno = -1 ]}
28
29# EZ-USB firmware loader
30define	ezload
31file	dev/usb/ezload.c		ezload
32
33# Audio devices
34device	uaudio: audiobus, auconv, mulaw, aurateconv
35attach	uaudio at uhub
36file	dev/usb/uaudio.c		uaudio
37
38# MIDI devices
39device	umidi: midibus
40attach	umidi at uhub
41file	dev/usb/umidi.c			umidi
42file	dev/usb/umidi_quirks.c		umidi
43
44# Modem and com serial port
45device	ucom
46attach	ucom at ucombus
47file	dev/usb/ucom.c			ucom | ucombus		needs-flag
48
49
50# Generic devices
51defflag UGEN_BULK_RA_WB
52device	ugen
53attach	ugen at uhub
54file	dev/usb/ugen.c			ugen			needs-flag
55
56
57# HID
58# HID "bus"
59define	uhidbus {[ reportid = -1 ]}
60
61# HID processing
62define	hid
63file	dev/usb/hid.c			hid
64
65# HID root device for multiple report IDs
66device	uhidev: hid, uhidbus
67attach	uhidev at uhub
68file	dev/usb/uhidev.c		uhidev
69
70# Generic HID devices
71device	uhid: hid
72attach	uhid at uhidbus
73file	dev/usb/uhid.c			uhid			needs-flag
74
75# Keyboards
76defparam	UKBD_LAYOUT
77device	ukbd: hid, wskbddev
78attach	ukbd at uhidbus
79file	dev/usb/ukbd.c			ukbd			needs-flag
80file	dev/usb/ukbdmap.c		ukbd | btkbd
81
82# Mice
83device	ums: hid, wsmousedev
84attach	ums at uhidbus
85file	dev/usb/ums.c			ums
86
87# eGalax USB Touch Panel
88device	uep: wsmousedev, tpcalib
89attach	uep at uhub
90file	dev/usb/uep.c			uep			needs-flag
91
92# Cypress microcontroller based serial adpaters
93device	ucycom: hid
94attach	ucycom at uhidbus
95file	dev/usb/ucycom.c		ucycom			needs-flag
96
97# Printers
98device	ulpt
99attach	ulpt at uhub
100file	dev/usb/ulpt.c			ulpt			needs-flag
101
102
103# Mass storage
104device	umass: scsi, atapi, ata_hl
105attach	umass at uhub
106file	dev/usb/umass.c			umass
107file	dev/usb/umass_isdata.c		umass & wd
108file	dev/usb/umass_quirks.c		umass
109file	dev/usb/umass_scsipi.c		umass & (scsibus | atapibus)
110
111
112# IrDA bridges
113device	uirda: irbus
114attach	uirda at uhub
115file	dev/usb/uirda.c			uirda
116
117# SigmaTel IrDA bridge
118device	ustir: irbus, irdasir
119attach	ustir at uhub
120file	dev/usb/ustir.c			ustir
121
122
123# Bluetooth controllers
124device	ubt: bluetooth
125attach	ubt at uhub
126file	dev/usb/ubt.c			ubt
127
128# BCM2033 firmware download
129device	ubtbcmfw
130attach	ubtbcmfw at uhub
131file	dev/usb/ubtbcmfw.c		ubtbcmfw		needs-flag
132
133
134# Misc
135# Diamond Multimedia Rio 500
136device	urio
137attach	urio at uhub
138file	dev/usb/urio.c			urio			needs-flag
139
140# Handspring Visor
141device	uvisor: ucombus
142attach	uvisor at uhub
143file	dev/usb/uvisor.c		uvisor
144
145# Generic Serial Adapter
146device	ugensa: ucombus
147attach	ugensa at uhub
148file	dev/usb/ugensa.c		ugensa
149
150# YAP phone firmware loader
151device	uyap: ezload
152attach	uyap at uhub
153file	dev/usb/uyap.c			uyap
154
155# D-Link DSB-R100 FM radio
156device	udsbr: radiodev
157attach	udsbr at uhub
158file	dev/usb/udsbr.c			udsbr
159
160
161# Ethernet adapters
162# ADMtek AN986 Pegasus
163device	aue: arp, ether, ifnet, mii, mii_phy
164attach	aue at uhub
165file	dev/usb/if_aue.c		aue
166
167# CDC Ethernet
168device  cdce: arp, ether, ifnet
169attach  cdce at uhub
170file    dev/usb/if_cdce.c                cdce
171
172# CATC USB-EL1201A
173device	cue: arp, ether, ifnet
174attach	cue at uhub
175file	dev/usb/if_cue.c		cue
176
177# Kawasaki LSI KL5KUSB101B
178device	kue: arp, ether, ifnet
179attach	kue at uhub
180file	dev/usb/if_kue.c		kue
181
182# Prolific PL2302 host-host
183device	upl: ifnet
184attach	upl at uhub
185file	dev/usb/if_upl.c		upl
186
187# Realtek RTL8150L(M)
188device	url: arp, ether, ifnet, mii
189attach	url at uhub
190file	dev/usb/if_url.c		url
191
192# ASIX AX88172
193device	axe: arp, ether, ifnet, mii, mii_phy
194attach	axe at uhub
195file	dev/usb/if_axe.c		axe
196
197# DAVICOM DM9601
198device	udav: arp, ether, ifnet, mii, mii_phy
199attach	udav at uhub
200file	dev/usb/if_udav.c		udav
201
202
203# Serial drivers
204# Modems
205define	umodem_common
206file	dev/usb/umodem_common.c		umodem_common
207device	umodem: ucombus, umodem_common
208attach	umodem at uhub
209file	dev/usb/umodem.c		umodem
210
211# FTDI serial driver
212device	uftdi: ucombus
213attach	uftdi at uhub
214file	dev/usb/uftdi.c			uftdi
215
216# Prolific PL2303 serial driver
217device	uplcom: ucombus
218attach	uplcom at uhub
219file	dev/usb/uplcom.c		uplcom
220
221# MCT USB-232 serial driver
222device	umct: ucombus
223attach	umct at uhub
224file	dev/usb/umct.c			umct
225
226# SUNTAC Slipper U VS-10U driver
227device	uvscom: ucombus
228attach	uvscom at uhub
229file	dev/usb/uvscom.c		uvscom
230
231# Belkin & other serial driver
232device	ubsa: ucombus
233attach	ubsa at uhub
234file	dev/usb/ubsa.c			ubsa
235
236# iPAQ PDAs
237device  uipaq: ucombus
238attach  uipaq at uhub
239file    dev/usb/uipaq.c			uipaq
240
241# Kyocera AIR-EDGE PHONE
242device	ukyopon: ucombus, umodem_common
243attach	ukyopon at uhub
244file	dev/usb/ukyopon.c		ukyopon
245
246
247# Scanners
248# Generic scanner support
249device	uscanner
250attach	uscanner at uhub
251file	dev/usb/uscanner.c		uscanner		needs-flag
252
253# Avision SCSI over USB, HP5300
254device	usscanner: scsi
255attach	usscanner at uhub
256file	dev/usb/usscanner.c		usscanner
257
258# Atmel AT76c503 / AT76c503a / AT76c505 / AT76c505a @ USB
259device	atu: ether, ifnet, arp, wlan
260attach	atu at uhub
261file	dev/usb/if_atu.c		atu
262
263# Ralink Technology RT2500USB
264attach	ral at uhub with ural
265file	dev/usb/if_ural.c		ural
266
267# Topfield digital PVRs
268device	utoppy
269attach	utoppy at uhub
270file	dev/usb/utoppy.c		utoppy
271