Annotation of sys/dev/usb/files.usb, Revision 1.1.1.1
1.1 nbrk 1: # $OpenBSD: files.usb,v 1.70 2007/05/30 12:16:24 gwk Exp $
2: # $NetBSD: files.usb,v 1.16 2000/02/14 20:29:54 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:
8: device usb {}
9: attach usb at usbus
10: file dev/usb/usb.c usb needs-flag
11: file dev/usb/usbdi.c usb
12: file dev/usb/usbdi_util.c usb
13: file dev/usb/usb_mem.c usb | usbf
14: file dev/usb/usb_subr.c usb
15: file dev/usb/usb_quirks.c usb
16:
17: # Hub driver
18: device uhub {[port = -1], [configuration = -1], [interface = -1],
19: [vendor = -1], [product = -1], [release = -1]}
20: attach uhub at usb
21: file dev/usb/uhub.c usb
22:
23: attach uhub at uhub with uhub_uhub
24:
25: # Modem and com serial port "bus"
26: define ucombus {[portno = -1]}
27:
28: # EZ-USB firmware loader
29: define ezload
30: file dev/usb/ezload.c ezload
31:
32: # Audio devices
33: device uaudio: audio, auconv, mulaw
34: attach uaudio at uhub
35: file dev/usb/uaudio.c uaudio
36:
37: # MIDI devices
38: device umidi: midibus
39: attach umidi at uhub
40: file dev/usb/umidi.c umidi
41: file dev/usb/umidi_quirks.c umidi
42:
43: # Modem and com serial port
44: device ucom
45: attach ucom at ucombus
46: file dev/usb/ucom.c ucom | ucombus needs-flag
47:
48:
49: # Generic devices
50: device ugen
51: attach ugen at uhub
52: file dev/usb/ugen.c ugen needs-flag
53:
54:
55: # HID
56: # HID "bus"
57: define uhidbus {[reportid = -1]}
58:
59: # HID processing
60: define hid
61: file dev/usb/hid.c hid
62:
63: # HID root device for multiple report IDs
64: device uhidev: hid, uhidbus
65: attach uhidev at uhub
66: file dev/usb/uhidev.c uhidev
67:
68: # Generic HID devices
69: device uhid: hid
70: attach uhid at uhidbus
71: file dev/usb/uhid.c uhid needs-flag
72:
73: # Keyboards
74: device ukbd: hid, wskbddev
75: attach ukbd at uhidbus
76: file dev/usb/ukbd.c ukbd needs-flag
77: file dev/usb/ukbdmap.c ukbd
78:
79: # Mice
80: device ums: hid, wsmousedev
81: attach ums at uhidbus
82: file dev/usb/ums.c ums
83:
84: # USB Touchscreen
85: device uts: wsmousedev
86: attach uts at uhub
87: file dev/usb/uts.c uts
88:
89: # Cypress microcontroller based serial adpaters
90: device ucycom: hid, ucombus
91: attach ucycom at uhidbus
92: file dev/usb/ucycom.c ucycom needs-flag
93:
94: # Printers
95: device ulpt
96: attach ulpt at uhub
97: file dev/usb/ulpt.c ulpt needs-flag
98:
99:
100: # Mass storage
101: device umass: scsi, atapi, ata
102: attach umass at uhub
103: file dev/usb/umass.c umass
104: file dev/usb/umass_quirks.c umass
105: file dev/usb/umass_scsi.c umass & (scsibus | atapiscsi)
106:
107:
108: # Misc
109: # Gude Expert mouseCLOCK DCF77 time signal station receiver
110: device udcf
111: attach udcf at uhub
112: file dev/usb/udcf.c udcf
113:
114: # Diamond Multimedia Rio 500
115: device urio
116: attach urio at uhub
117: file dev/usb/urio.c urio needs-flag
118:
119: # Handspring Visor
120: device uvisor: ucombus
121: attach uvisor at uhub
122: file dev/usb/uvisor.c uvisor
123:
124: # YAP phone firmware loader
125: device uyap: ezload, firmload
126: attach uyap at uhub
127: file dev/usb/uyap.c uyap
128:
129: # D-Link DSB-R100 FM radio
130: device udsbr: radiobus
131: attach udsbr at uhub
132: file dev/usb/udsbr.c udsbr
133:
134:
135: # Ethernet adapters
136: # ADMtek AN986 Pegasus
137: device aue: ether, ifnet, mii, ifmedia
138: attach aue at uhub
139: file dev/usb/if_aue.c aue
140:
141: # Ethernet adapters
142: # ASIX Electronics AX88172
143: device axe: ether, ifnet, mii, ifmedia
144: attach axe at uhub
145: file dev/usb/if_axe.c axe
146:
147: # CATC USB-EL1201A
148: device cue: ether, ifnet, ifmedia
149: attach cue at uhub
150: file dev/usb/if_cue.c cue
151:
152: # Kawasaki LSI KL5KUSB101B
153: device kue: ether, ifnet, ifmedia, firmload
154: attach kue at uhub
155: file dev/usb/if_kue.c kue
156:
157: # CDC Ethernet
158: device cdce: ether, ifnet, ifmedia
159: attach cdce at uhub
160: file dev/usb/if_cdce.c cdce
161:
162: # Davicom DM9601
163: device udav: ether, ifnet, mii, ifmedia
164: attach udav at uhub
165: file dev/usb/if_udav.c udav
166:
167: # Prolific PL2302 host-host
168: device upl: ifnet
169: attach upl at uhub
170: file dev/usb/if_upl.c upl
171:
172: # Realtek RTL8150L(M)
173: device url: ether, ifnet, mii
174: attach url at uhub
175: file dev/usb/if_url.c url
176:
177:
178: # Serial drivers
179: # Modems
180: device umodem: ucombus
181: attach umodem at uhub
182: file dev/usb/umodem.c umodem
183:
184: # FTDI serial driver
185: device uftdi: ucombus
186: attach uftdi at uhub
187: file dev/usb/uftdi.c uftdi
188:
189: # Prolific PL2303 serial driver
190: device uplcom: ucombus
191: attach uplcom at uhub
192: file dev/usb/uplcom.c uplcom
193:
194: # MCT USB-232 serial driver
195: device umct: ucombus
196: attach umct at uhub
197: file dev/usb/umct.c umct
198:
199: # SUNTAC Slipper U VS-10U driver
200: device uvscom: ucombus
201: attach uvscom at uhub
202: file dev/usb/uvscom.c uvscom
203:
204: # Belkin & other serial driver
205: device ubsa: ucombus
206: attach ubsa at uhub
207: file dev/usb/ubsa.c ubsa
208:
209: # Silicon Laboratories CP210x serial
210: device uslcom: ucombus
211: attach uslcom at uhub
212: file dev/usb/uslcom.c uslcom
213:
214: # Arkmicro ARK3116 serial
215: device uark: ucombus
216: attach uark at uhub
217: file dev/usb/uark.c uark
218:
219: # MosChip MCS7703 serial
220: device moscom: ucombus
221: attach moscom at uhub
222: file dev/usb/moscom.c moscom
223:
224: # iPAQ PDAs
225: # Generic ipaq support
226: device uipaq: ucombus
227: attach uipaq at uhub
228: file dev/usb/uipaq.c uipaq
229:
230: # Qualcomm MSM EVDO
231: device umsm: ucombus
232: attach umsm at uhub
233: file dev/usb/umsm.c umsm
234:
235: # Scanners
236: # Generic scanner support
237: device uscanner
238: attach uscanner at uhub
239: file dev/usb/uscanner.c uscanner needs-flag
240:
241: # Avision SCSI over USB, HP5300
242: device usscanner: scsi
243: attach usscanner at uhub
244: file dev/usb/usscanner.c usscanner
245:
246: # Prism3 WI @ USB
247: attach wi at uhub with wi_usb
248: file dev/usb/if_wi_usb.c wi_usb
249:
250: # Atmel AT76c503 / AT76c503a / AT76c505 / AT76c505a @ USB
251: device atu: ether, ifnet, ifmedia, wlan, firmload
252: attach atu at uhub
253: file dev/usb/if_atu.c atu
254:
255: # Bluetooth
256: device ubt: btbus, bluetooth
257: attach ubt at uhub
258: file dev/usb/ubt.c ubt
259:
260: # Ralink Technology RT2500USB
261: device ural: ether, ifnet, ifmedia, wlan
262: attach ural at uhub
263: file dev/usb/if_ral.c ural
264:
265: # Ralink Technology RT2501USB
266: device rum: ether, ifnet, ifmedia, wlan, firmload
267: attach rum at uhub
268: file dev/usb/if_rum.c rum
269:
270: # Zydas ZD1211
271: device zyd: ether, ifnet, ifmedia, wlan, firmload
272: attach zyd at uhub
273: file dev/usb/if_zyd.c zyd
274:
275: # Analog Devices Eagle driver
276: device ueagle: atm, ifnet, ezload, firmload
277: attach ueagle at uhub
278: file dev/usb/ueagle.c ueagle
279:
280:
281: # USB logical device
282: device usbf {}
283: attach usbf at usbdev
284: file dev/usb/usbf.c usbf needs-flag
285: file dev/usb/usbf_subr.c usbf
286:
287: # Communication Device Class Ethernet function
288: device cdcef {}
289: attach cdcef at usbf
290: file dev/usb/if_cdcef.c cdcef
291:
292:
293: # Atheros AR5005UG/AR5005UX
294: device uath: ether, ifnet, ifmedia, wlan, firmload
295: attach uath at uhub
296: file dev/usb/if_uath.c uath
297:
298: # Maxim/Dallas DS2490 1-Wire adapter
299: device uow: onewirebus
300: attach uow at uhub
301: file dev/usb/uow.c uow
302:
303: # Research In Motion Blackberry
304: device uberry {}
305: attach uberry at uhub
306: file dev/usb/uberry.c uberry
CVSweb