files.usb revision 1.37
1#	$NetBSD: files.usb,v 1.37 2001/12/29 10:50:55 augustss 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: audio, auconv, mulaw
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
75device	ukbd: hid, wskbddev
76attach	ukbd at uhidbus
77file	dev/usb/ukbd.c			ukbd			needs-flag
78file	dev/usb/ukbdmap.c		ukbd
79
80# Mice
81device	ums: hid, wsmousedev
82attach	ums at uhidbus
83file	dev/usb/ums.c			ums
84
85
86# Printers
87device	ulpt
88attach	ulpt at uhub
89file	dev/usb/ulpt.c			ulpt			needs-flag
90
91
92# Mass storage
93device	umass: scsi, atapi, ata
94attach	umass at uhub
95file	dev/usb/umass.c			umass
96file	dev/usb/umass_isdata.c		umass & wd
97file	dev/usb/umass_quirks.c		umass
98file	dev/usb/umass_scsipi.c		umass & (scsibus | atapibus)
99
100
101# IrDA bridges
102device	uirda: irbus
103attach	uirda at uhub
104file	dev/usb/uirda.c			uirda
105
106
107# Misc
108# Diamond Multimedia Rio 500
109device	urio
110attach	urio at uhub
111file	dev/usb/urio.c			urio			needs-flag
112
113# Handspring Visor
114device	uvisor: ucombus
115attach	uvisor at uhub
116file	dev/usb/uvisor.c		uvisor
117
118# YAP phone firmware loader
119device	uyap: ezload
120attach	uyap at uhub
121file	dev/usb/uyap.c			uyap
122
123
124# Ethernet adapters
125# ADMtek AN986 Pegasus
126device	aue: arp, ether, ifnet, mii, mii_phy
127attach	aue at uhub
128file	dev/usb/if_aue.c		aue
129
130# CATC USB-EL1201A
131device	cue: arp, ether, ifnet
132attach	cue at uhub
133file	dev/usb/if_cue.c		cue
134
135# Kawasaki LSI KL5KUSB101B
136device	kue: arp, ether, ifnet
137attach	kue at uhub
138file	dev/usb/if_kue.c		kue
139
140# Prolific PL2302 host-host
141device	upl: ifnet
142attach	upl at uhub
143file	dev/usb/if_upl.c		upl
144
145
146# Serial drivers
147# Modems
148device	umodem: ucombus
149attach	umodem at uhub
150file	dev/usb/umodem.c		umodem
151
152# FTDI serial driver
153device	uftdi: ucombus
154attach	uftdi at uhub
155file	dev/usb/uftdi.c			uftdi
156
157# Prolific PL2303 serial driver
158device	uplcom: ucombus
159attach	uplcom at uhub
160file	dev/usb/uplcom.c		uplcom
161
162# MCT USB-232 serial driver
163device	umct: ucombus
164attach	umct at uhub
165file	dev/usb/umct.c			umct
166
167
168# Scanners
169# Generic scanner support
170device	uscanner
171attach	uscanner at uhub
172file	dev/usb/uscanner.c		uscanner		needs-flag
173
174# Avision SCSI over USB, HP5300
175device	usscanner: scsi
176attach	usscanner at uhub
177file	dev/usb/usscanner.c		usscanner
178