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