files.usb revision 1.22
1#	$NetBSD: files.usb,v 1.22 2000/09/23 04:32:23 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# Audio devices
31device	uaudio: audio, auconv, mulaw
32attach	uaudio at uhub
33file	dev/usb/uaudio.c		uaudio
34
35# Modem and com serial port
36device	ucom
37attach	ucom at ucombus
38file	dev/usb/ucom.c			ucom | ucombus	needs-flag
39
40# Generic devices
41device	ugen
42attach	ugen at uhub
43file	dev/usb/ugen.c			ugen		needs-flag
44
45# Generic HID devices
46device	uhid
47attach	uhid at uhub
48file	dev/usb/uhid.c			uhid		needs-flag
49
50# Keyboards
51device	ukbd: wskbddev
52attach	ukbd at uhub
53file	dev/usb/ukbd.c			ukbd		needs-flag
54file	dev/usb/ukbdmap.c		ukbd
55
56# Printers
57device	ulpt
58attach	ulpt at uhub
59file	dev/usb/ulpt.c			ulpt		needs-flag
60
61# Mass storage
62device	umass: scsi, atapi
63attach	umass at uhub
64file	dev/usb/umass.c			umass
65
66# Modems
67device	umodem: ucombus
68attach	umodem at uhub
69file	dev/usb/umodem.c		umodem
70
71# Mice
72device	ums: wsmousedev
73attach	ums at uhub
74file	dev/usb/ums.c			ums
75
76# Diamond Multimedia Rio 500
77device	urio
78attach	urio at uhub
79file	dev/usb/urio.c			urio		needs-flag
80
81# Handspring Visor
82device	uvisor: ucombus
83attach	uvisor at uhub
84file	dev/usb/uvisor.c		uvisor
85
86# Ethernet adapters
87# ADMtek AN986 Pegasus
88device	aue: arp, ether, ifnet, mii, mii_phy
89attach	aue at uhub
90file	dev/usb/if_aue.c		aue
91
92# CATC USB-EL1201A
93device	cue: arp, ether, ifnet
94attach	cue at uhub
95file	dev/usb/if_cue.c		cue
96
97# Kawasaki LSI KL5KUSB101B
98device	kue: arp, ether, ifnet
99attach	kue at uhub
100file	dev/usb/if_kue.c		kue
101
102# Prolific PL2302 host-host
103device	upl: ifnet
104attach	upl at uhub
105file	dev/usb/if_upl.c		upl
106
107# Serial drivers
108# FTDI serial driver
109device	uftdi: ucombus
110attach	uftdi at uhub
111file	dev/usb/uftdi.c			uftdi
112
113# Scanners
114device	uscanner
115attach	uscanner at uhub
116file	dev/usb/uscanner.c		uscanner	needs-flag
117