files.usb revision 1.61
1#	$NetBSD: files.usb,v 1.61 2005/06/13 16:41:44 cube 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
51device	ugen
52attach	ugen at uhub
53file	dev/usb/ugen.c			ugen			needs-flag
54
55
56# HID
57# HID "bus"
58define	uhidbus {[ reportid = -1 ]}
59
60# HID processing
61define	hid
62file	dev/usb/hid.c			hid
63
64# HID root device for multiple report IDs
65device	uhidev: hid, uhidbus
66attach	uhidev at uhub
67file	dev/usb/uhidev.c		uhidev
68
69# Generic HID devices
70device	uhid: hid
71attach	uhid at uhidbus
72file	dev/usb/uhid.c			uhid			needs-flag
73
74# Keyboards
75defparam	UKBD_LAYOUT
76device	ukbd: hid, wskbddev
77attach	ukbd at uhidbus
78file	dev/usb/ukbd.c			ukbd			needs-flag
79file	dev/usb/ukbdmap.c		ukbd
80
81# Mice
82device	ums: hid, wsmousedev
83attach	ums at uhidbus
84file	dev/usb/ums.c			ums
85
86# eGalax USB Touch Panel
87device	uep: wsmousedev, tpcalib
88attach	uep at uhub
89file	dev/usb/uep.c			uep			needs-flag
90
91# Printers
92device	ulpt
93attach	ulpt at uhub
94file	dev/usb/ulpt.c			ulpt			needs-flag
95
96
97# Mass storage
98device	umass: scsi, atapi, ata_hl
99attach	umass at uhub
100file	dev/usb/umass.c			umass
101file	dev/usb/umass_isdata.c		umass & wd
102file	dev/usb/umass_quirks.c		umass
103file	dev/usb/umass_scsipi.c		umass & (scsibus | atapibus)
104
105
106# IrDA bridges
107device	uirda: irbus
108attach	uirda at uhub
109file	dev/usb/uirda.c			uirda
110
111# SigmaTel IrDA bridge
112device	ustir: irbus, irdasir
113attach	ustir at uhub
114file	dev/usb/ustir.c			ustir
115
116
117# Bluetooth bridges
118device	ubt: btbus
119attach	ubt at uhub
120file	dev/usb/ubt.c			ubt
121
122# BCM2033 firmware download
123device	ubtbcmfw
124attach	ubtbcmfw at uhub
125file	dev/usb/ubtbcmfw.c		ubtbcmfw		needs-flag
126
127
128# Misc
129# Diamond Multimedia Rio 500
130device	urio
131attach	urio at uhub
132file	dev/usb/urio.c			urio			needs-flag
133
134# Handspring Visor
135device	uvisor: ucombus
136attach	uvisor at uhub
137file	dev/usb/uvisor.c		uvisor
138
139# Generic Serial Adapter
140device	ugensa: ucombus
141attach	ugensa at uhub
142file	dev/usb/ugensa.c		ugensa
143
144# YAP phone firmware loader
145device	uyap: ezload
146attach	uyap at uhub
147file	dev/usb/uyap.c			uyap
148
149# D-Link DSB-R100 FM radio
150device	udsbr: radiodev
151attach	udsbr at uhub
152file	dev/usb/udsbr.c			udsbr
153
154
155# Ethernet adapters
156# ADMtek AN986 Pegasus
157device	aue: arp, ether, ifnet, mii, mii_phy
158attach	aue at uhub
159file	dev/usb/if_aue.c		aue
160
161# CDC Ethernet
162device  cdce: arp, ether, ifnet
163attach  cdce at uhub
164file    dev/usb/if_cdce.c                cdce
165
166# CATC USB-EL1201A
167device	cue: arp, ether, ifnet
168attach	cue at uhub
169file	dev/usb/if_cue.c		cue
170
171# Kawasaki LSI KL5KUSB101B
172device	kue: arp, ether, ifnet
173attach	kue at uhub
174file	dev/usb/if_kue.c		kue
175
176# Prolific PL2302 host-host
177device	upl: ifnet
178attach	upl at uhub
179file	dev/usb/if_upl.c		upl
180
181# Realtek RTL8150L(M)
182device	url: arp, ether, ifnet, mii
183attach	url at uhub
184file	dev/usb/if_url.c		url
185
186# ASIX AX88172
187device	axe: arp, ether, ifnet, mii, mii_phy
188attach	axe at uhub
189file	dev/usb/if_axe.c		axe
190
191# DAVICOM DM9601
192device	udav: arp, ether, ifnet, mii, mii_phy
193attach	udav at uhub
194file	dev/usb/if_udav.c		udav
195
196
197# Serial drivers
198# Modems
199define	umodem_common
200file	dev/usb/umodem_common.c		umodem_common
201device	umodem: ucombus, umodem_common
202attach	umodem at uhub
203file	dev/usb/umodem.c		umodem
204
205# FTDI serial driver
206device	uftdi: ucombus
207attach	uftdi at uhub
208file	dev/usb/uftdi.c			uftdi
209
210# Prolific PL2303 serial driver
211device	uplcom: ucombus
212attach	uplcom at uhub
213file	dev/usb/uplcom.c		uplcom
214
215# MCT USB-232 serial driver
216device	umct: ucombus
217attach	umct at uhub
218file	dev/usb/umct.c			umct
219
220# SUNTAC Slipper U VS-10U driver
221device	uvscom: ucombus
222attach	uvscom at uhub
223file	dev/usb/uvscom.c		uvscom
224
225# Belkin & other serial driver
226device	ubsa: ucombus
227attach	ubsa at uhub
228file	dev/usb/ubsa.c			ubsa
229
230# Kyocera AIR-EDGE PHONE
231device	ukyopon: ucombus, umodem_common
232attach	ukyopon at uhub
233file	dev/usb/ukyopon.c		ukyopon
234
235
236# Scanners
237# Generic scanner support
238device	uscanner
239attach	uscanner at uhub
240file	dev/usb/uscanner.c		uscanner		needs-flag
241
242# Avision SCSI over USB, HP5300
243device	usscanner: scsi
244attach	usscanner at uhub
245file	dev/usb/usscanner.c		usscanner
246
247# Atmel AT76c503 / AT76c503a / AT76c505 / AT76c505a @ USB
248device	atu: ether, ifnet, arp, wlan
249attach	atu at uhub
250file	dev/usb/if_atu.c		atu
251