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