1# $OpenBSD: files.usb,v 1.126 2016/01/08 15:54:13 jcs 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 8device usb {} 9attach usb at usbus 10file dev/usb/usb.c usb needs-flag 11file dev/usb/usbdi.c usb 12file dev/usb/usbdi_util.c usb 13file dev/usb/usb_mem.c usb | usbf 14file dev/usb/usb_subr.c usb 15file dev/usb/usb_quirks.c usb 16 17# Hub driver 18device uhub {[port = -1], [configuration = -1], [interface = -1], 19 [vendor = -1], [product = -1], [release = -1]} 20attach uhub at usb 21file dev/usb/uhub.c usb 22 23attach uhub at uhub with uhub_uhub 24 25# Modem and com serial port "bus" 26define ucombus {[portno = -1]} 27 28# Audio devices 29device uaudio: audio 30attach uaudio at uhub 31file dev/usb/uaudio.c uaudio 32 33# Video devices 34device uvideo: video, firmload 35attach uvideo at uhub 36file dev/usb/uvideo.c uvideo 37 38device udl: wsemuldisplaydev, rasops16, edid 39attach udl at uhub 40file dev/usb/udl.c udl 41 42# MIDI devices 43device umidi: midibus 44attach umidi at uhub 45file dev/usb/umidi.c umidi 46file dev/usb/umidi_quirks.c umidi 47 48# Modem and com serial port 49device ucom 50attach ucom at ucombus 51file dev/usb/ucom.c ucom | ucombus needs-flag 52 53 54# Generic devices 55device ugen 56attach ugen at uhub 57file dev/usb/ugen.c ugen needs-flag 58 59 60# HID 61# HID "bus" 62define uhidbus {[reportid = -1]} 63 64# HID root device for multiple report IDs 65device uhidev: hid, uhidbus 66attach uhidev at uhub 67file dev/usb/uhidev.c uhidev 68 69# Generic HID devices 70device uhid: hid 71attach uhid at uhidbus 72file dev/usb/uhid.c uhid needs-flag 73 74# Keyboards 75file dev/usb/ukbdmap.c hidkbd 76device ukbd: hid, hidkbd, wskbddev 77attach ukbd at uhidbus 78file dev/usb/ukbd.c ukbd needs-flag 79 80# Mice 81device ums: hid, hidms, wsmousedev 82attach ums at uhidbus 83file dev/usb/ums.c ums 84 85# USB Touchscreen 86device uts: wsmousedev 87attach uts at uhub 88file dev/usb/uts.c uts 89 90# Apple USB Touchpad 91device utpms: hid, wsmousedev 92attach utpms at uhidbus 93file dev/usb/utpms.c utpms 94 95# Broadcom touchpad 96device ubcmtp: wsmousedev 97attach ubcmtp at uhub 98file dev/usb/ubcmtp.c ubcmtp 99 100# Cypress microcontroller based serial adpaters 101device ucycom: hid, ucombus 102attach ucycom at uhidbus 103file dev/usb/ucycom.c ucycom needs-flag 104 105# Silicon Labs USB HID based UART controller 106device uslhcom: hid, ucombus 107attach uslhcom at uhidbus 108file dev/usb/uslhcom.c uslhcom needs-flag 109 110# Printers 111device ulpt: firmload 112attach ulpt at uhub 113file dev/usb/ulpt.c ulpt needs-flag 114 115 116# Mass storage 117device umass: scsi 118attach umass at uhub 119file dev/usb/umass.c umass 120file dev/usb/umass_quirks.c umass 121file dev/usb/umass_scsi.c umass & scsibus 122 123 124# Sensors 125# TEMPerHUM HID 126device uthum: hid 127attach uthum at uhidbus 128file dev/usb/uthum.c uthum 129 130# gold TEMPer 131device ugold: hid 132attach ugold at uhidbus 133file dev/usb/ugold.c ugold 134 135# Strawberry Linux USBRH 136device utrh: hid 137attach utrh at uhidbus 138file dev/usb/utrh.c utrh 139 140# Fujitsu Compnent Smart Power Strip FX-5204PS 141device usps 142attach usps at uhub 143file dev/usb/usps.c usps 144 145# Toradex OAK common 146define uoak 147file dev/usb/uoak_subr.c uoakrh | uoaklux | uoakv 148 149# Toradex OAK series USB RH sensor 150device uoakrh: hid, uoak 151attach uoakrh at uhidbus 152file dev/usb/uoakrh.c uoakrh 153 154# Toradex OAK series USB LUX sensor 155device uoaklux: hid, uoak 156attach uoaklux at uhidbus 157file dev/usb/uoaklux.c uoaklux 158 159# Toradex OAK series USB 10V sensor 160device uoakv: hid, uoak 161attach uoakv at uhidbus 162file dev/usb/uoakv.c uoakv 163 164# Misc 165# Araneus Alea II TRNG 166device ualea 167attach ualea at uhub 168file dev/usb/ualea.c ualea 169 170# Moonbase Otago OneRNG TRNG 171device uonerng 172attach uonerng at uhub 173file dev/usb/uonerng.c uonerng 174 175# Gude Expert mouseCLOCK DCF77 time signal station receiver 176device udcf 177attach udcf at uhub 178file dev/usb/udcf.c udcf 179 180# Meinberg USB5131 DCF77 radio clock 181device umbg 182attach umbg at uhub 183file dev/usb/umbg.c umbg 184 185# Handspring Visor 186device uvisor: ucombus 187attach uvisor at uhub 188file dev/usb/uvisor.c uvisor 189 190# D-Link DSB-R100 FM radio 191device udsbr: radiobus 192attach udsbr at uhub 193file dev/usb/udsbr.c udsbr 194 195# Maywa-denki/Kayac YUREX 196device utwitch: hid 197attach utwitch at uhidbus 198file dev/usb/utwitch.c utwitch 199 200# Ethernet adapters 201# ADMtek AN986 Pegasus 202device aue: ether, ifnet, mii, ifmedia 203attach aue at uhub 204file dev/usb/if_aue.c aue 205 206# Ethernet adapters 207# ASIX Electronics AX88172 208device axe: ether, ifnet, mii, ifmedia 209attach axe at uhub 210file dev/usb/if_axe.c axe 211 212# Ethernet adapters 213# ASIX Electronics AX88178a and AX88179 214device axen: ether, ifnet, mii, ifmedia 215attach axen at uhub 216file dev/usb/if_axen.c axen 217 218# SMSC LAN95xx 219device smsc: ether, ifnet, mii, ifmedia 220attach smsc at uhub 221file dev/usb/if_smsc.c smsc 222 223# CATC USB-EL1201A 224device cue: ether, ifnet, ifmedia 225attach cue at uhub 226file dev/usb/if_cue.c cue 227 228# Kawasaki LSI KL5KUSB101B 229device kue: ether, ifnet, ifmedia, firmload 230attach kue at uhub 231file dev/usb/if_kue.c kue 232 233# CDC Ethernet 234device cdce: ether, ifnet, ifmedia 235attach cdce at uhub 236file dev/usb/if_cdce.c cdce 237 238# RNDIS 239device urndis: ether, ifnet, ifmedia 240attach urndis at uhub 241file dev/usb/if_urndis.c urndis 242 243# Moschip MCS7x30 Ethernet 244device mos: ether, ifnet, mii, ifmedia 245attach mos at uhub 246file dev/usb/if_mos.c mos 247 248# Davicom DM9601 249device udav: ether, ifnet, mii, ifmedia 250attach udav at uhub 251file dev/usb/if_udav.c udav 252 253# Prolific PL2302 host-host 254device upl: ifnet 255attach upl at uhub 256file dev/usb/if_upl.c upl 257 258# Genesys Logic GL620USB-A host-host 259device ugl: ether, ifnet, ifmedia 260attach ugl at uhub 261file dev/usb/if_ugl.c ugl 262 263# Realtek RTL8150L(M) 264device url: ether, ifnet, mii 265attach url at uhub 266file dev/usb/if_url.c url 267 268 269# Serial drivers 270# Modems 271device umodem: ucombus 272attach umodem at uhub 273file dev/usb/umodem.c umodem 274 275# FTDI serial driver 276device uftdi: ucombus 277attach uftdi at uhub 278file dev/usb/uftdi.c uftdi 279 280# Prolific PL2303 serial driver 281device uplcom: ucombus 282attach uplcom at uhub 283file dev/usb/uplcom.c uplcom 284 285# MCT USB-232 serial driver 286device umct: ucombus 287attach umct at uhub 288file dev/usb/umct.c umct 289 290# SUNTAC Slipper U VS-10U driver 291device uvscom: ucombus 292attach uvscom at uhub 293file dev/usb/uvscom.c uvscom 294 295# Belkin & other serial driver 296device ubsa: ucombus 297attach ubsa at uhub 298file dev/usb/ubsa.c ubsa 299 300# Silicon Laboratories CP210x serial 301device uslcom: ucombus 302attach uslcom at uhub 303file dev/usb/uslcom.c uslcom 304 305# Arkmicro ARK3116 serial 306device uark: ucombus 307attach uark at uhub 308file dev/usb/uark.c uark 309 310# MosChip MCS7703 serial 311device moscom: ucombus 312attach moscom at uhub 313file dev/usb/moscom.c moscom 314 315# MosChip MCS78x0 serials 316device umcs: ucombus 317attach umcs at uhub 318file dev/usb/umcs.c umcs 319 320# simple serial 321device uscom: ucombus 322attach uscom at uhub 323file dev/usb/uscom.c uscom 324 325# iPAQ PDAs 326# Generic ipaq support 327device uipaq: ucombus 328attach uipaq at uhub 329file dev/usb/uipaq.c uipaq 330 331# Qualcomm MSM EVDO 332device umsm: ucombus 333attach umsm at uhub 334file dev/usb/umsm.c umsm 335 336# WinChipHead CH341/340 serial 337device uchcom: ucombus 338attach uchcom at uhub 339file dev/usb/uchcom.c uchcom 340 341# TI TUSB3410 serial 342device uticom: ucombus 343attach uticom at uhub 344file dev/usb/uticom.c uticom 345 346# Prism3 WI @ USB 347attach wi at uhub with wi_usb 348file dev/usb/if_wi_usb.c wi_usb 349 350# Atmel AT76c503 / AT76c503a / AT76c505 / AT76c505a @ USB 351device atu: ether, ifnet, ifmedia, wlan, firmload 352attach atu at uhub 353file dev/usb/if_atu.c atu 354 355# Ralink Technology RT2500USB 356device ural: ether, ifnet, ifmedia, wlan 357attach ural at uhub 358file dev/usb/if_ral.c ural 359 360# Ralink Technology RT2501USB 361device rum: ether, ifnet, ifmedia, wlan, firmload 362attach rum at uhub 363file dev/usb/if_rum.c rum 364 365# Ralink Technology RT2700U/RT2800U/RT3000U 366device run: ether, ifnet, ifmedia, wlan, firmload 367attach run at uhub 368file dev/usb/if_run.c run 369 370# Zydas ZD1211 371device zyd: ether, ifnet, ifmedia, wlan, firmload 372attach zyd at uhub 373file dev/usb/if_zyd.c zyd 374 375# PrismGT 376device upgt: ether, ifnet, ifmedia, wlan, firmload 377attach upgt at uhub 378file dev/usb/if_upgt.c upgt 379 380# Realtek 8187 381device urtw: ether, ifnet, ifmedia, wlan 382attach urtw at uhub 383file dev/usb/if_urtw.c urtw 384 385# Realtek RTL8188CU/RTL8192CU 386device urtwn: ether, ifnet, ifmedia, wlan, firmload 387attach urtwn at uhub 388file dev/usb/if_urtwn.c urtwn 389 390# Realtek RTL8188SU/RTL8191SU/RTL8192SU 391device rsu: ether, ifnet, ifmedia, wlan, firmload 392attach rsu at uhub 393file dev/usb/if_rsu.c rsu 394 395# Atheros AR9170 396device otus: ether, ifnet, ifmedia, wlan, firmload 397attach otus at uhub 398file dev/usb/if_otus.c otus 399 400# USB logical device 401device usbf {} 402attach usbf at usbdev 403file dev/usb/usbf.c usbf needs-flag 404file dev/usb/usbf_subr.c usbf 405 406# Communication Device Class Ethernet function 407device cdcef {} 408attach cdcef at usbf 409file dev/usb/if_cdcef.c cdcef 410 411# Atheros AR5005UG/AR5005UX 412device uath: ether, ifnet, ifmedia, wlan, firmload 413attach uath at uhub 414file dev/usb/if_uath.c uath 415 416# Atheros AR9002U 417attach athn at uhub with athn_usb: firmload 418file dev/usb/if_athn_usb.c athn_usb needs-flag 419 420# Maxim/Dallas DS2490 1-Wire adapter 421device uow: onewirebus 422attach uow at uhub 423file dev/usb/uow.c uow 424 425# Research In Motion BlackBerry 426device uberry {} 427attach uberry at uhub 428file dev/usb/uberry.c uberry 429 430# USB Power Devices 431device upd: hid 432attach upd at uhidbus 433file dev/usb/upd.c upd 434