files.usb revision 1.26
1#	$NetBSD: files.usb,v 1.26 2001/01/23 01:24:10 ichiro 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# Modem and com serial port
40device	ucom
41attach	ucom at ucombus
42file	dev/usb/ucom.c			ucom | ucombus	needs-flag
43
44
45# Generic devices
46device	ugen
47attach	ugen at uhub
48file	dev/usb/ugen.c			ugen		needs-flag
49
50
51# HID
52# Generic HID devices
53device	uhid
54attach	uhid at uhub
55file	dev/usb/uhid.c			uhid		needs-flag
56
57# Keyboards
58device	ukbd: wskbddev
59attach	ukbd at uhub
60file	dev/usb/ukbd.c			ukbd		needs-flag
61file	dev/usb/ukbdmap.c		ukbd
62
63# Mice
64device	ums: wsmousedev
65attach	ums at uhub
66file	dev/usb/ums.c			ums
67
68
69# Printers
70device	ulpt
71attach	ulpt at uhub
72file	dev/usb/ulpt.c			ulpt		needs-flag
73
74
75# Mass storage
76device	umass: scsi, atapi
77attach	umass at uhub
78file	dev/usb/umass.c			umass
79
80
81# Misc
82# Diamond Multimedia Rio 500
83device	urio
84attach	urio at uhub
85file	dev/usb/urio.c			urio		needs-flag
86
87# Handspring Visor
88device	uvisor: ucombus
89attach	uvisor at uhub
90file	dev/usb/uvisor.c		uvisor
91
92# YAP phone firmware loader
93device	uyap: ezload
94attach	uyap at uhub
95file	dev/usb/uyap.c			uyap
96
97
98# Ethernet adapters
99# ADMtek AN986 Pegasus
100device	aue: arp, ether, ifnet, mii, mii_phy
101attach	aue at uhub
102file	dev/usb/if_aue.c		aue
103
104# CATC USB-EL1201A
105device	cue: arp, ether, ifnet
106attach	cue at uhub
107file	dev/usb/if_cue.c		cue
108
109# Kawasaki LSI KL5KUSB101B
110device	kue: arp, ether, ifnet
111attach	kue at uhub
112file	dev/usb/if_kue.c		kue
113
114# Prolific PL2302 host-host
115device	upl: ifnet
116attach	upl at uhub
117file	dev/usb/if_upl.c		upl
118
119
120# Serial drivers
121# Modems
122device	umodem: ucombus
123attach	umodem at uhub
124file	dev/usb/umodem.c		umodem
125
126# FTDI serial driver
127device	uftdi: ucombus
128attach	uftdi at uhub
129file	dev/usb/uftdi.c			uftdi
130
131# Prolific PL2303 serial driver
132device	uplcom: ucombus
133attach	uplcom at uhub
134file	dev/usb/uplcom.c		uplcom
135
136# Scanners
137# Generic scanner support
138device	uscanner
139attach	uscanner at uhub
140file	dev/usb/uscanner.c		uscanner	needs-flag
141
142# Avision SCSI over USB, HP5300
143device	usscanner: scsi
144attach	usscanner at uhub
145file	dev/usb/usscanner.c		usscanner
146