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