files.usb revision 1.24
1#	$NetBSD: files.usb,v 1.24 2001/01/02 18:52:44 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
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# Generic devices
45device	ugen
46attach	ugen at uhub
47file	dev/usb/ugen.c			ugen		needs-flag
48
49# Generic HID devices
50device	uhid
51attach	uhid at uhub
52file	dev/usb/uhid.c			uhid		needs-flag
53
54# Keyboards
55device	ukbd: wskbddev
56attach	ukbd at uhub
57file	dev/usb/ukbd.c			ukbd		needs-flag
58file	dev/usb/ukbdmap.c		ukbd
59
60# Printers
61device	ulpt
62attach	ulpt at uhub
63file	dev/usb/ulpt.c			ulpt		needs-flag
64
65# Mass storage
66device	umass: scsi, atapi
67attach	umass at uhub
68file	dev/usb/umass.c			umass
69
70# Modems
71device	umodem: ucombus
72attach	umodem at uhub
73file	dev/usb/umodem.c		umodem
74
75# Mice
76device	ums: wsmousedev
77attach	ums at uhub
78file	dev/usb/ums.c			ums
79
80# Diamond Multimedia Rio 500
81device	urio
82attach	urio at uhub
83file	dev/usb/urio.c			urio		needs-flag
84
85# Handspring Visor
86device	uvisor: ucombus
87attach	uvisor at uhub
88file	dev/usb/uvisor.c		uvisor
89
90# Ethernet adapters
91# ADMtek AN986 Pegasus
92device	aue: arp, ether, ifnet, mii, mii_phy
93attach	aue at uhub
94file	dev/usb/if_aue.c		aue
95
96# CATC USB-EL1201A
97device	cue: arp, ether, ifnet
98attach	cue at uhub
99file	dev/usb/if_cue.c		cue
100
101# Kawasaki LSI KL5KUSB101B
102device	kue: arp, ether, ifnet
103attach	kue at uhub
104file	dev/usb/if_kue.c		kue
105
106# Prolific PL2302 host-host
107device	upl: ifnet
108attach	upl at uhub
109file	dev/usb/if_upl.c		upl
110
111# Serial drivers
112# FTDI serial driver
113device	uftdi: ucombus
114attach	uftdi at uhub
115file	dev/usb/uftdi.c			uftdi
116
117# Scanners
118device	uscanner
119attach	uscanner at uhub
120file	dev/usb/uscanner.c		uscanner	needs-flag
121
122# YAP phone firmware loader
123device	uyap: ezload
124attach	uyap at uhub
125file	dev/usb/uyap.c			uyap
126