1# $OpenBSD: files.usb,v 1.99 2011/09/16 15:48:19 yuo 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# Cypress microcontroller based serial adpaters 107device ucycom: hid, ucombus 108attach ucycom at uhidbus 109file dev/usb/ucycom.c ucycom needs-flag 110 111# Printers 112device ulpt 113attach ulpt at uhub 114file dev/usb/ulpt.c ulpt needs-flag 115 116 117# Mass storage 118device umass: scsi 119attach umass at uhub 120file dev/usb/umass.c umass 121file dev/usb/umass_quirks.c umass 122file dev/usb/umass_scsi.c umass & scsibus 123 124 125# Misc 126# Gude Expert mouseCLOCK DCF77 time signal station receiver 127device udcf 128attach udcf at uhub 129file dev/usb/udcf.c udcf 130 131# Meinberg USB5131 DCF77 radio clock 132device umbg 133attach umbg at uhub 134file dev/usb/umbg.c umbg 135 136# Diamond Multimedia Rio 500 137device urio 138attach urio at uhub 139file dev/usb/urio.c urio needs-flag 140 141# Handspring Visor 142device uvisor: ucombus 143attach uvisor at uhub 144file dev/usb/uvisor.c uvisor 145 146# YAP phone firmware loader 147device uyap: ezload, firmload 148attach uyap at uhub 149file dev/usb/uyap.c uyap 150 151# D-Link DSB-R100 FM radio 152device udsbr: radiobus 153attach udsbr at uhub 154file dev/usb/udsbr.c udsbr 155 156# TEMPerHUM HID 157device uthum: hid 158attach uthum at uhidbus 159file dev/usb/uthum.c uthum 160 161# Strawberry Linux USBRH 162device utrh: hid 163attach utrh at uhidbus 164file dev/usb/utrh.c utrh 165 166# Maywa-denki/Kayac YUREX 167device utwitch: hid 168attach utwitch at uhidbus 169file dev/usb/utwitch.c utwitch 170 171# Fujitsu Compnent Smart Power Strip FX-5204PS 172device usps 173attach usps at uhub 174file dev/usb/usps.c usps 175 176# Ethernet adapters 177# ADMtek AN986 Pegasus 178device aue: ether, ifnet, mii, ifmedia 179attach aue at uhub 180file dev/usb/if_aue.c aue 181 182# Ethernet adapters 183# ASIX Electronics AX88172 184device axe: ether, ifnet, mii, ifmedia 185attach axe at uhub 186file dev/usb/if_axe.c axe 187 188# CATC USB-EL1201A 189device cue: ether, ifnet, ifmedia 190attach cue at uhub 191file dev/usb/if_cue.c cue 192 193# Kawasaki LSI KL5KUSB101B 194device kue: ether, ifnet, ifmedia, firmload 195attach kue at uhub 196file dev/usb/if_kue.c kue 197 198# CDC Ethernet 199device cdce: ether, ifnet, ifmedia 200attach cdce at uhub 201file dev/usb/if_cdce.c cdce 202 203# RNDIS 204device urndis: ether, ifnet, ifmedia 205attach urndis at uhub 206file dev/usb/if_urndis.c urndis 207 208# Moschip MCS7x30 Ethernet 209device mos: ether, ifnet, mii, ifmedia 210attach mos at uhub 211file dev/usb/if_mos.c mos 212 213# Davicom DM9601 214device udav: ether, ifnet, mii, ifmedia 215attach udav at uhub 216file dev/usb/if_udav.c udav 217 218# Prolific PL2302 host-host 219device upl: ifnet 220attach upl at uhub 221file dev/usb/if_upl.c upl 222 223# Realtek RTL8150L(M) 224device url: ether, ifnet, mii 225attach url at uhub 226file dev/usb/if_url.c url 227 228 229# Serial drivers 230# Modems 231device umodem: ucombus 232attach umodem at uhub 233file dev/usb/umodem.c umodem 234 235# FTDI serial driver 236device uftdi: ucombus 237attach uftdi at uhub 238file dev/usb/uftdi.c uftdi 239 240# Prolific PL2303 serial driver 241device uplcom: ucombus 242attach uplcom at uhub 243file dev/usb/uplcom.c uplcom 244 245# MCT USB-232 serial driver 246device umct: ucombus 247attach umct at uhub 248file dev/usb/umct.c umct 249 250# SUNTAC Slipper U VS-10U driver 251device uvscom: ucombus 252attach uvscom at uhub 253file dev/usb/uvscom.c uvscom 254 255# Belkin & other serial driver 256device ubsa: ucombus 257attach ubsa at uhub 258file dev/usb/ubsa.c ubsa 259 260# Silicon Laboratories CP210x serial 261device uslcom: ucombus 262attach uslcom at uhub 263file dev/usb/uslcom.c uslcom 264 265# Arkmicro ARK3116 serial 266device uark: ucombus 267attach uark at uhub 268file dev/usb/uark.c uark 269 270# MosChip MCS7703 serial 271device moscom: ucombus 272attach moscom at uhub 273file dev/usb/moscom.c moscom 274 275# iPAQ PDAs 276# Generic ipaq support 277device uipaq: ucombus 278attach uipaq at uhub 279file dev/usb/uipaq.c uipaq 280 281# Qualcomm MSM EVDO 282device umsm: ucombus 283attach umsm at uhub 284file dev/usb/umsm.c umsm 285 286# WinChipHead CH341/340 serial 287device uchcom: ucombus 288attach uchcom at uhub 289file dev/usb/uchcom.c uchcom 290 291# TI TUSB3410 serial 292device uticom: ucombus 293attach uticom at uhub 294file dev/usb/uticom.c uticom 295 296# Scanners 297# Generic scanner support 298device uscanner 299attach uscanner at uhub 300file dev/usb/uscanner.c uscanner needs-flag 301 302# Prism3 WI @ USB 303attach wi at uhub with wi_usb 304file dev/usb/if_wi_usb.c wi_usb 305 306# Atmel AT76c503 / AT76c503a / AT76c505 / AT76c505a @ USB 307device atu: ether, ifnet, ifmedia, wlan, firmload 308attach atu at uhub 309file dev/usb/if_atu.c atu 310 311# Bluetooth 312device ubt: btbus, bluetooth 313attach ubt at uhub 314file dev/usb/ubt.c ubt 315 316# Ralink Technology RT2500USB 317device ural: ether, ifnet, ifmedia, wlan 318attach ural at uhub 319file dev/usb/if_ral.c ural 320 321# Ralink Technology RT2501USB 322device rum: ether, ifnet, ifmedia, wlan, firmload 323attach rum at uhub 324file dev/usb/if_rum.c rum 325 326# Ralink Technology RT2700U/RT2800U/RT3000U 327device run: ether, ifnet, ifmedia, wlan, firmload 328attach run at uhub 329file dev/usb/if_run.c run 330 331# Zydas ZD1211 332device zyd: ether, ifnet, ifmedia, wlan, firmload 333attach zyd at uhub 334file dev/usb/if_zyd.c zyd 335 336# PrismGT 337device upgt: ether, ifnet, ifmedia, wlan, firmload 338attach upgt at uhub 339file dev/usb/if_upgt.c upgt 340 341# RealTek 8187 342device urtw: ether, ifnet, ifmedia, wlan 343attach urtw at uhub 344file dev/usb/if_urtw.c urtw 345 346# Realtek RTL8188CU/RTL8192CU 347device urtwn: ether, ifnet, ifmedia, wlan, firmload 348attach urtwn at uhub 349file dev/usb/if_urtwn.c urtwn 350 351# Realtek RTL8188SU/RTL8191SU/RTL8192SU 352device rsu: ether, ifnet, ifmedia, wlan, firmload 353attach rsu at uhub 354file dev/usb/if_rsu.c rsu 355 356# Atheros AR9170 357device otus: ether, ifnet, ifmedia, wlan, firmload 358attach otus at uhub 359file dev/usb/if_otus.c otus 360 361# Analog Devices Eagle driver 362device ueagle: atm, ifnet, ezload, firmload 363attach ueagle at uhub 364file dev/usb/ueagle.c ueagle 365 366 367# USB logical device 368device usbf {} 369attach usbf at usbdev 370file dev/usb/usbf.c usbf needs-flag 371file dev/usb/usbf_subr.c usbf 372 373# Communication Device Class Ethernet function 374device cdcef {} 375attach cdcef at usbf 376file dev/usb/if_cdcef.c cdcef 377 378# Atheros AR5005UG/AR5005UX 379device uath: ether, ifnet, ifmedia, wlan, firmload 380attach uath at uhub 381file dev/usb/if_uath.c uath 382 383# Atheros AR9002U 384attach athn at uhub with athn_usb: firmload 385file dev/usb/if_athn_usb.c athn_usb needs-flag 386 387# Maxim/Dallas DS2490 1-Wire adapter 388device uow: onewirebus 389attach uow at uhub 390file dev/usb/uow.c uow 391 392# Research In Motion Blackberry 393device uberry {} 394attach uberry at uhub 395file dev/usb/uberry.c uberry 396 397# DFU driver 398device udfu {} 399attach udfu at uhub 400file dev/usb/udfu.c udfu 401