summaryrefslogtreecommitdiff
path: root/sys/dev/usb/files.usb
blob: f5fd7406e346e28e772bc375dace56f631892461 (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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
#	$OpenBSD: files.usb,v 1.25 2002/05/09 15:06:29 nate 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/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 ]}

# EZ-USB firmware loader
define	ezload
file	dev/usb/ezload.c		ezload

# 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

# HID
# HID "bus"
define	uhidbus {[ reportid = -1 ]}

# HID processing
define	hid
file	dev/usb/hid.c			hid

# HID root device for multiple report IDs
device	uhidev: hid, uhidbus
attach	uhidev at uhub
file	dev/usb/uhidev.c		uhidev
 
# Generic HID devices
device	uhid: hid
attach	uhid at uhidbus
file	dev/usb/uhid.c			uhid			needs-flag
 
# Keyboards
device	ukbd: hid, wskbddev
attach	ukbd at uhidbus
file	dev/usb/ukbd.c			ukbd			needs-flag
file	dev/usb/ukbdmap.c		ukbd

# Mice
device	ums: hid, wsmousedev
attach	ums at uhidbus
file	dev/usb/ums.c			ums


# 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

# Diamond Multimedia Rio 500
device	urio
attach	urio at uhub
file	dev/usb/urio.c			urio		needs-flag

# Handspring Visor
device	uvisor: ucombus
attach	uvisor at uhub
file	dev/usb/uvisor.c		uvisor

# YAP firmware loader
device	uyap: ezload
attach	uyap at uhub
file	dev/usb/uyap.c			uyap

# 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

# Prolific PL2302 host-host
device	upl: ifnet
attach	upl at uhub
file	dev/usb/if_upl.c		upl

# Realtek RTL8150L(M)
device	url: ether, ifnet, mii
attach	url at uhub
file	dev/usb/if_url.c		url


# Serial drivers
# FTDI serial driver
device	uftdi: ucombus
attach	uftdi at uhub
file	dev/usb/uftdi.c			uftdi

# Prolific PL2303 serial driver
device  uplcom: ucombus
attach  uplcom at uhub
file    dev/usb/uplcom.c                uplcom

# Scanners
device	uscanner
attach	uscanner at uhub
file	dev/usb/uscanner.c		uscanner	needs-flag

# Avision SCSI over USB, HP5300
device	usscanner: scsi
attach	usscanner at uhub
file	dev/usb/usscanner.c		usscanner