files.usb revision 1.27
1#	$NetBSD: files.usb,v 1.27 2001/01/30 23:26:47 tshiozak 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
7defopt	USBVERBOSE
8
9device	usb { }
10attach	usb at usbus
11file	dev/usb/hid.c			usb
12file	dev/usb/usb.c			usb		needs-flag
13file	dev/usb/usbdi.c			usb
14file	dev/usb/usbdi_util.c		usb
15file	dev/usb/usb_mem.c		usb
16file	dev/usb/usb_subr.c		usb
17file	dev/usb/usb_quirks.c		usb
18
19# Hub driver
20device	uhub { [port = -1], [configuration = -1], [interface = -1],
21               [vendor = -1], [product = -1], [release = -1] }
22attach	uhub at usb
23file	dev/usb/uhub.c			usb
24
25attach	uhub at uhub with uhub_uhub
26
27# Modem and com serial port "bus"
28define	ucombus {[ portno = -1 ]}
29
30# EZ-USB firmware loader
31define	ezload
32file	dev/usb/ezload.c		ezload
33
34# Audio devices
35device	uaudio: audio, auconv, mulaw
36attach	uaudio at uhub
37file	dev/usb/uaudio.c		uaudio
38
39# MIDI devices
40device	umidi: midibus
41attach	umidi at uhub
42file	dev/usb/umidi.c			umidi
43file	dev/usb/umidi_quirks.c		umidi
44
45# Modem and com serial port
46device	ucom
47attach	ucom at ucombus
48file	dev/usb/ucom.c			ucom | ucombus	needs-flag
49
50
51# Generic devices
52device	ugen
53attach	ugen at uhub
54file	dev/usb/ugen.c			ugen		needs-flag
55
56
57# HID
58# Generic HID devices
59device	uhid
60attach	uhid at uhub
61file	dev/usb/uhid.c			uhid		needs-flag
62
63# Keyboards
64device	ukbd: wskbddev
65attach	ukbd at uhub
66file	dev/usb/ukbd.c			ukbd		needs-flag
67file	dev/usb/ukbdmap.c		ukbd
68
69# Mice
70device	ums: wsmousedev
71attach	ums at uhub
72file	dev/usb/ums.c			ums
73
74
75# Printers
76device	ulpt
77attach	ulpt at uhub
78file	dev/usb/ulpt.c			ulpt		needs-flag
79
80
81# Mass storage
82device	umass: scsi, atapi
83attach	umass at uhub
84file	dev/usb/umass.c			umass
85
86
87# Misc
88# Diamond Multimedia Rio 500
89device	urio
90attach	urio at uhub
91file	dev/usb/urio.c			urio		needs-flag
92
93# Handspring Visor
94device	uvisor: ucombus
95attach	uvisor at uhub
96file	dev/usb/uvisor.c		uvisor
97
98# YAP phone firmware loader
99device	uyap: ezload
100attach	uyap at uhub
101file	dev/usb/uyap.c			uyap
102
103
104# Ethernet adapters
105# ADMtek AN986 Pegasus
106device	aue: arp, ether, ifnet, mii, mii_phy
107attach	aue at uhub
108file	dev/usb/if_aue.c		aue
109
110# CATC USB-EL1201A
111device	cue: arp, ether, ifnet
112attach	cue at uhub
113file	dev/usb/if_cue.c		cue
114
115# Kawasaki LSI KL5KUSB101B
116device	kue: arp, ether, ifnet
117attach	kue at uhub
118file	dev/usb/if_kue.c		kue
119
120# Prolific PL2302 host-host
121device	upl: ifnet
122attach	upl at uhub
123file	dev/usb/if_upl.c		upl
124
125
126# Serial drivers
127# Modems
128device	umodem: ucombus
129attach	umodem at uhub
130file	dev/usb/umodem.c		umodem
131
132# FTDI serial driver
133device	uftdi: ucombus
134attach	uftdi at uhub
135file	dev/usb/uftdi.c			uftdi
136
137# Prolific PL2303 serial driver
138device	uplcom: ucombus
139attach	uplcom at uhub
140file	dev/usb/uplcom.c		uplcom
141
142# Scanners
143# Generic scanner support
144device	uscanner
145attach	uscanner at uhub
146file	dev/usb/uscanner.c		uscanner	needs-flag
147
148# Avision SCSI over USB, HP5300
149device	usscanner: scsi
150attach	usscanner at uhub
151file	dev/usb/usscanner.c		usscanner
152