summaryrefslogtreecommitdiff
path: root/sys/dev/usb/files.usb
blob: a4d1fae5602c20776833b6aa4004a41e3ca71524 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#	$OpenBSD: files.usb,v 1.10 2000/04/05 00:29:14 aaron Exp $
#	$NetBSD: files.usb,v 1.16 2000/02/14 20:29:54 augustss Exp $
#
# Config file and device description for machine-independent USB code.
# Included by ports that need it.  Ports that use it must provide
# their own "major" declarations for the appropriate devices.

device	usb { }
attach	usb at usbus
file	dev/usb/hid.c			usb
file	dev/usb/usb.c			usb		needs-flag
file	dev/usb/usbdi.c			usb
file	dev/usb/usbdi_util.c		usb
file	dev/usb/usb_mem.c		usb
file	dev/usb/usb_subr.c		usb
file	dev/usb/usb_quirks.c		usb

# Hub driver
device	uhub { [port = -1], [configuration = -1], [interface = -1],
               [vendor = -1], [product = -1], [release = -1] }
attach	uhub at usb
file	dev/usb/uhub.c			usb

attach	uhub at uhub with uhub_uhub

# Modem and com serial port "bus"
define	ucombus {[ portno = -1 ]}

# Audio devices
device	uaudio: audio, auconv, mulaw
attach	uaudio at uhub
file	dev/usb/uaudio.c		uaudio

# Modem and com serial port
device	ucom
attach	ucom at ucombus
file	dev/usb/ucom.c			ucom | ucombus	needs-flag

# Generic devices
device	ugen
attach	ugen at uhub
file	dev/usb/ugen.c			ugen		needs-flag

# Generic HID devices
device	uhid
attach	uhid at uhub
file	dev/usb/uhid.c			uhid		needs-flag

# Printers
device	ulpt
attach	ulpt at uhub
file	dev/usb/ulpt.c			ulpt		needs-flag

# Mass storage
device	umass: scsi, atapi
attach	umass at uhub
file	dev/usb/umass.c			umass

# Modems
device	umodem: ucombus
attach	umodem at uhub
file	dev/usb/umodem.c		umodem

# Ethernet adapters
# ADMtek AN986 Pegasus
device	aue: ether, ifnet, mii, ifmedia
attach	aue at uhub
file	dev/usb/if_aue.c		aue

# CATC USB-EL1201A
device	cue: ether, ifnet, ifmedia
attach	cue at uhub
file	dev/usb/if_cue.c		cue

# Kawasaki LSI KL5KUSB101B
device	kue: ether, ifnet, ifmedia
attach	kue at uhub
file	dev/usb/if_kue.c		kue