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