files.usb revision 1.17
1#	$NetBSD: files.usb,v 1.17 2000/03/30 16:56:19 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
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# Handspring Visor
77device	uvisor: ucombus
78attach	uvisor at uhub
79file	dev/usb/uvisor.c		uvisor
80
81# Ethernet adapters
82# ADMtek AN986 Pegasus
83device	aue: arp, ether, ifnet, mii, mii_phy
84attach	aue at uhub
85file	dev/usb/if_aue.c		aue
86
87# CATC USB-EL1201A
88device	cue: arp, ether, ifnet
89attach	cue at uhub
90file	dev/usb/if_cue.c		cue
91
92# Kawasaki LSI KL5KUSB101B
93device	kue: arp, ether, ifnet
94attach	kue at uhub
95file	dev/usb/if_kue.c		kue
96