FreeBSD/Linux Kernel Cross Reference
sys/dev/usb/files.usb
1 # $NetBSD: files.usb,v 1.52 2003/10/08 20:58:00 bouyer 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
7 defflag USBVERBOSE
8
9 device usb { }
10 attach usb at usbus
11 file dev/usb/usb.c usb needs-flag
12 file dev/usb/usbdi.c usb
13 file dev/usb/usbdi_util.c usb
14 file dev/usb/usb_mem.c usb
15 file dev/usb/usb_subr.c usb
16 file dev/usb/usb_quirks.c usb
17
18 # Hub driver
19 device uhub { [port = -1], [configuration = -1], [interface = -1],
20 [vendor = -1], [product = -1], [release = -1] }
21 attach uhub at usb
22 file dev/usb/uhub.c usb
23
24 attach uhub at uhub with uhub_uhub
25
26 # Modem and com serial port "bus"
27 define ucombus {[ portno = -1 ]}
28
29 # EZ-USB firmware loader
30 define ezload
31 file dev/usb/ezload.c ezload
32
33 # Audio devices
34 device uaudio: audiobus, auconv, mulaw, aurateconv
35 attach uaudio at uhub
36 file dev/usb/uaudio.c uaudio
37
38 # MIDI devices
39 device umidi: midibus
40 attach umidi at uhub
41 file dev/usb/umidi.c umidi
42 file dev/usb/umidi_quirks.c umidi
43
44 # Modem and com serial port
45 device ucom
46 attach ucom at ucombus
47 file dev/usb/ucom.c ucom | ucombus needs-flag
48
49
50 # Generic devices
51 device ugen
52 attach ugen at uhub
53 file dev/usb/ugen.c ugen needs-flag
54
55
56 # HID
57 # HID "bus"
58 define uhidbus {[ reportid = -1 ]}
59
60 # HID processing
61 define hid
62 file dev/usb/hid.c hid
63
64 # HID root device for multiple report IDs
65 device uhidev: hid, uhidbus
66 attach uhidev at uhub
67 file dev/usb/uhidev.c uhidev
68
69 # Generic HID devices
70 device uhid: hid
71 attach uhid at uhidbus
72 file dev/usb/uhid.c uhid needs-flag
73
74 # Keyboards
75 device ukbd: hid, wskbddev
76 attach ukbd at uhidbus
77 file dev/usb/ukbd.c ukbd needs-flag
78 file dev/usb/ukbdmap.c ukbd
79
80 # Mice
81 device ums: hid, wsmousedev
82 attach ums at uhidbus
83 file dev/usb/ums.c ums
84
85
86 # Printers
87 device ulpt
88 attach ulpt at uhub
89 file dev/usb/ulpt.c ulpt needs-flag
90
91
92 # Mass storage
93 device umass: scsi, atapi, ata_hl
94 attach umass at uhub
95 file dev/usb/umass.c umass
96 file dev/usb/umass_isdata.c umass & wd
97 file dev/usb/umass_quirks.c umass
98 file dev/usb/umass_scsipi.c umass & (scsibus | atapibus)
99
100
101 # IrDA bridges
102 device uirda: irbus
103 attach uirda at uhub
104 file dev/usb/uirda.c uirda
105
106 # SigmaTel IrDA bridge
107 device ustir: irbus, irdasir
108 attach ustir at uhub
109 file dev/usb/ustir.c ustir
110
111
112 # Bluetooth bridges
113 device ubt: btbus
114 attach ubt at uhub
115 file dev/usb/ubt.c ubt
116
117 # BCM2033 firmware download
118 device ubtbcmfw
119 attach ubtbcmfw at uhub
120 file dev/usb/ubtbcmfw.c ubtbcmfw needs-flag
121
122
123 # Misc
124 # Diamond Multimedia Rio 500
125 device urio
126 attach urio at uhub
127 file dev/usb/urio.c urio needs-flag
128
129 # Handspring Visor
130 device uvisor: ucombus
131 attach uvisor at uhub
132 file dev/usb/uvisor.c uvisor
133
134 # YAP phone firmware loader
135 device uyap: ezload
136 attach uyap at uhub
137 file dev/usb/uyap.c uyap
138
139 # D-Link DSB-R100 FM radio
140 device udsbr: radiodev
141 attach udsbr at uhub
142 file dev/usb/udsbr.c udsbr
143
144
145 # Ethernet adapters
146 # ADMtek AN986 Pegasus
147 device aue: arp, ether, ifnet, mii, mii_phy
148 attach aue at uhub
149 file dev/usb/if_aue.c aue
150
151 # CATC USB-EL1201A
152 device cue: arp, ether, ifnet
153 attach cue at uhub
154 file dev/usb/if_cue.c cue
155
156 # Kawasaki LSI KL5KUSB101B
157 device kue: arp, ether, ifnet
158 attach kue at uhub
159 file dev/usb/if_kue.c kue
160
161 # Prolific PL2302 host-host
162 device upl: ifnet
163 attach upl at uhub
164 file dev/usb/if_upl.c upl
165
166 # Realtek RTL8150L(M)
167 device url: arp, ether, ifnet, mii
168 attach url at uhub
169 file dev/usb/if_url.c url
170
171 # ASIX AX88172
172 device uax: arp, ether, ifnet, mii, mii_phy
173 attach uax at uhub
174 file dev/usb/if_uax.c uax
175
176 # DAVICOM DM9601
177 device udav: arp, ether, ifnet, mii, mii_phy
178 attach udav at uhub
179 file dev/usb/if_udav.c udav
180
181
182 # Serial drivers
183 # Modems
184 device umodem: ucombus
185 attach umodem at uhub
186 file dev/usb/umodem.c umodem
187
188 # FTDI serial driver
189 device uftdi: ucombus
190 attach uftdi at uhub
191 file dev/usb/uftdi.c uftdi
192
193 # Prolific PL2303 serial driver
194 device uplcom: ucombus
195 attach uplcom at uhub
196 file dev/usb/uplcom.c uplcom
197
198 # MCT USB-232 serial driver
199 device umct: ucombus
200 attach umct at uhub
201 file dev/usb/umct.c umct
202
203 # SUNTAC Slipper U VS-10U driver
204 device uvscom: ucombus
205 attach uvscom at uhub
206 file dev/usb/uvscom.c uvscom
207
208 # Belkin & other serial driver
209 device ubsa: ucombus
210 attach ubsa at uhub
211 file dev/usb/ubsa.c ubsa
212
213
214 # Scanners
215 # Generic scanner support
216 device uscanner
217 attach uscanner at uhub
218 file dev/usb/uscanner.c uscanner needs-flag
219
220 # Avision SCSI over USB, HP5300
221 device usscanner: scsi
222 attach usscanner at uhub
223 file dev/usb/usscanner.c usscanner
Cache object: ba6d13a615be02467aaa8b94be1a1e48
|