xref: /openbsd-src/sys/dev/usb/files.usb (revision 1fc27e414118cd8922c6b93fbaeb7a5246bfd593)
1#	$OpenBSD: files.usb,v 1.5 1999/09/27 18:03:54 fgsch Exp $
2#	$NetBSD: files.usb,v 1.8 1999/06/30 06:44:22 augustss Exp $
3#
4# Config file and device description for machine-independent USB code.
5# Included by ports that need it.  Ports that use it must provide
6# their own "major" declarations for the appropriate devices.
7
8device	usb { }
9attach	usb at usbus
10file	dev/usb/hid.c			usb
11file	dev/usb/usb.c			usb		needs-flag
12file	dev/usb/usbdi.c			usb
13file	dev/usb/usbdi_util.c		usb
14file	dev/usb/usb_mem.c		usb
15file	dev/usb/usb_subr.c		usb
16file	dev/usb/usb_quirks.c		usb
17
18# Hub driver
19device	uhub { [port = -1], [configuration = -1], [interface = -1],
20               [vendor = -1], [product = -1], [release = -1] }
21attach	uhub at usb
22file	dev/usb/uhub.c			usb
23
24attach	uhub at uhub with uhub_uhub
25
26# Audio devices
27device	uaudio: audio, auconv, mulaw
28attach	uaudio at uhub
29file	dev/usb/uaudio.c		uaudio
30
31# Generic devices
32device	ugen
33attach	ugen at uhub
34file	dev/usb/ugen.c			ugen		needs-flag
35
36# Generic HID devices
37device	uhid
38attach	uhid at uhub
39file	dev/usb/uhid.c			uhid		needs-flag
40
41# Keyboards
42#device	ukbd: wskbddev
43#attach	ukbd at uhub
44#file	dev/usb/ukbd.c			ukbd		needs-flag
45#file	dev/usb/ukbdmap.c		ukbd
46
47# Printers
48#device	ulpt
49#attach	ulpt at uhub
50#file	dev/usb/ulpt.c			ulpt		needs-flag
51
52# Mass storage
53device	umass: scsi
54attach	umass at uhub
55file	dev/usb/umass.c			umass
56
57# Modems
58device	umodem
59attach	umodem at uhub
60file	dev/usb/umodem.c		umodem		needs-flag
61
62# Mice
63#device	ums: wsmousedev
64#attach	ums at uhub
65#file	dev/usb/ums.c			ums		needs-flag
66
67