1# $OpenBSD: files.usb,v 1.69 2007/03/17 05:37:31 robert 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# MIDI devices 38device umidi: midibus 39attach umidi at uhub 40file dev/usb/umidi.c umidi 41file dev/usb/umidi_quirks.c umidi 42 43# Modem and com serial port 44device ucom 45attach ucom at ucombus 46file dev/usb/ucom.c ucom | ucombus needs-flag 47 48 49# Generic devices 50device ugen 51attach ugen at uhub 52file dev/usb/ugen.c ugen needs-flag 53 54 55# HID 56# HID "bus" 57define uhidbus {[reportid = -1]} 58 59# HID processing 60define hid 61file dev/usb/hid.c hid 62 63# HID root device for multiple report IDs 64device uhidev: hid, uhidbus 65attach uhidev at uhub 66file dev/usb/uhidev.c uhidev 67 68# Generic HID devices 69device uhid: hid 70attach uhid at uhidbus 71file dev/usb/uhid.c uhid needs-flag 72 73# Keyboards 74device ukbd: hid, wskbddev 75attach ukbd at uhidbus 76file dev/usb/ukbd.c ukbd needs-flag 77file dev/usb/ukbdmap.c ukbd 78 79# Mice 80device ums: hid, wsmousedev 81attach ums at uhidbus 82file dev/usb/ums.c ums 83 84# USB Touchscreen 85device uts: wsmousedev 86attach uts at uhub 87file dev/usb/uts.c uts 88 89# Cypress microcontroller based serial adpaters 90device ucycom: hid, ucombus 91attach ucycom at uhidbus 92file dev/usb/ucycom.c ucycom needs-flag 93 94# Printers 95device ulpt 96attach ulpt at uhub 97file dev/usb/ulpt.c ulpt needs-flag 98 99 100# Mass storage 101device umass: scsi, atapi, ata 102attach umass at uhub 103file dev/usb/umass.c umass 104file dev/usb/umass_quirks.c umass 105file dev/usb/umass_scsi.c umass & (scsibus | atapiscsi) 106 107 108# Misc 109# Gude Expert mouseCLOCK DCF77 time signal station receiver 110device udcf 111attach udcf at uhub 112file dev/usb/udcf.c udcf 113 114# Diamond Multimedia Rio 500 115device urio 116attach urio at uhub 117file dev/usb/urio.c urio needs-flag 118 119# Handspring Visor 120device uvisor: ucombus 121attach uvisor at uhub 122file dev/usb/uvisor.c uvisor 123 124# YAP phone firmware loader 125device uyap: ezload, firmload 126attach uyap at uhub 127file dev/usb/uyap.c uyap 128 129# D-Link DSB-R100 FM radio 130device udsbr: radiobus 131attach udsbr at uhub 132file dev/usb/udsbr.c udsbr 133 134 135# Ethernet adapters 136# ADMtek AN986 Pegasus 137device aue: ether, ifnet, mii, ifmedia 138attach aue at uhub 139file dev/usb/if_aue.c aue 140 141# Ethernet adapters 142# ASIX Electronics AX88172 143device axe: ether, ifnet, mii, ifmedia 144attach axe at uhub 145file dev/usb/if_axe.c axe 146 147# CATC USB-EL1201A 148device cue: ether, ifnet, ifmedia 149attach cue at uhub 150file dev/usb/if_cue.c cue 151 152# Kawasaki LSI KL5KUSB101B 153device kue: ether, ifnet, ifmedia, firmload 154attach kue at uhub 155file dev/usb/if_kue.c kue 156 157# CDC Ethernet 158device cdce: ether, ifnet, ifmedia 159attach cdce at uhub 160file dev/usb/if_cdce.c cdce 161 162# Davicom DM9601 163device udav: ether, ifnet, mii, ifmedia 164attach udav at uhub 165file dev/usb/if_udav.c udav 166 167# Prolific PL2302 host-host 168device upl: ifnet 169attach upl at uhub 170file dev/usb/if_upl.c upl 171 172# Realtek RTL8150L(M) 173device url: ether, ifnet, mii 174attach url at uhub 175file dev/usb/if_url.c url 176 177 178# Serial drivers 179# Modems 180device umodem: ucombus 181attach umodem at uhub 182file dev/usb/umodem.c umodem 183 184# FTDI serial driver 185device uftdi: ucombus 186attach uftdi at uhub 187file dev/usb/uftdi.c uftdi 188 189# Prolific PL2303 serial driver 190device uplcom: ucombus 191attach uplcom at uhub 192file dev/usb/uplcom.c uplcom 193 194# MCT USB-232 serial driver 195device umct: ucombus 196attach umct at uhub 197file dev/usb/umct.c umct 198 199# SUNTAC Slipper U VS-10U driver 200device uvscom: ucombus 201attach uvscom at uhub 202file dev/usb/uvscom.c uvscom 203 204# Belkin & other serial driver 205device ubsa: ucombus 206attach ubsa at uhub 207file dev/usb/ubsa.c ubsa 208 209# Silicon Laboratories CP210x serial 210device uslcom: ucombus 211attach uslcom at uhub 212file dev/usb/uslcom.c uslcom 213 214# Arkmicro ARK3116 serial 215device uark: ucombus 216attach uark at uhub 217file dev/usb/uark.c uark 218 219# MosChip MCS7703 serial 220device moscom: ucombus 221attach moscom at uhub 222file dev/usb/moscom.c moscom 223 224# iPAQ PDAs 225# Generic ipaq support 226device uipaq: ucombus 227attach uipaq at uhub 228file dev/usb/uipaq.c uipaq 229 230# Qualcomm MSM EVDO 231device umsm: ucombus 232attach umsm at uhub 233file dev/usb/umsm.c umsm 234 235# Scanners 236# Generic scanner support 237device uscanner 238attach uscanner at uhub 239file dev/usb/uscanner.c uscanner needs-flag 240 241# Avision SCSI over USB, HP5300 242device usscanner: scsi 243attach usscanner at uhub 244file dev/usb/usscanner.c usscanner 245 246# Prism3 WI @ USB 247attach wi at uhub with wi_usb 248file dev/usb/if_wi_usb.c wi_usb 249 250# Atmel AT76c503 / AT76c503a / AT76c505 / AT76c505a @ USB 251device atu: ether, ifnet, ifmedia, wlan, firmload 252attach atu at uhub 253file dev/usb/if_atu.c atu 254 255# Bluetooth 256device ubt: ifnet, bluetooth 257attach ubt at uhub 258file dev/usb/if_ubt.c ubt 259 260# Ralink Technology RT2500USB 261device ural: ether, ifnet, ifmedia, wlan 262attach ural at uhub 263file dev/usb/if_ral.c ural 264 265# Ralink Technology RT2501USB 266device rum: ether, ifnet, ifmedia, wlan, firmload 267attach rum at uhub 268file dev/usb/if_rum.c rum 269 270# Zydas ZD1211 271device zyd: ether, ifnet, ifmedia, wlan, firmload 272attach zyd at uhub 273file dev/usb/if_zyd.c zyd 274 275# Analog Devices Eagle driver 276device ueagle: atm, ifnet, ezload, firmload 277attach ueagle at uhub 278file dev/usb/ueagle.c ueagle 279 280 281# USB logical device 282device usbf {} 283attach usbf at usbdev 284file dev/usb/usbf.c usbf needs-flag 285file dev/usb/usbf_subr.c usbf 286 287# Communication Device Class Ethernet function 288device cdcef {} 289attach cdcef at usbf 290file dev/usb/if_cdcef.c cdcef 291 292 293# Atheros AR5005UG/AR5005UX 294device uath: ether, ifnet, ifmedia, wlan, firmload 295attach uath at uhub 296file dev/usb/if_uath.c uath 297 298# Maxim/Dallas DS2490 1-Wire adapter 299device uow: onewirebus 300attach uow at uhub 301file dev/usb/uow.c uow 302 303# Research In Motion Blackberry 304device uberry {} 305attach uberry at uhub 306file dev/usb/uberry.c uberry 307