1# $OpenBSD: files.usb,v 1.49 2005/08/01 03:03:14 david 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 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 85# Printers 86device ulpt 87attach ulpt at uhub 88file dev/usb/ulpt.c ulpt needs-flag 89 90 91# Mass storage 92device umass: scsi, atapi, ata 93attach umass at uhub 94file dev/usb/umass.c umass 95file dev/usb/umass_quirks.c umass 96file dev/usb/umass_scsi.c umass & (scsibus | atapiscsi) 97 98 99# Misc 100# Diamond Multimedia Rio 500 101device urio 102attach urio at uhub 103file dev/usb/urio.c urio needs-flag 104 105# Handspring Visor 106device uvisor: ucombus 107attach uvisor at uhub 108file dev/usb/uvisor.c uvisor 109 110# YAP phone firmware loader 111device uyap: ezload, firmload 112attach uyap at uhub 113file dev/usb/uyap.c uyap 114 115# D-Link DSB-R100 FM radio 116device udsbr: radiobus 117attach udsbr at uhub 118file dev/usb/udsbr.c udsbr 119 120 121# Ethernet adapters 122# ADMtek AN986 Pegasus 123device aue: ether, ifnet, mii, ifmedia 124attach aue at uhub 125file dev/usb/if_aue.c aue 126 127# Ethernet adapters 128# ASIX Electronics AX88172 129device axe: ether, ifnet, mii, ifmedia 130attach axe at uhub 131file dev/usb/if_axe.c axe 132 133# CATC USB-EL1201A 134device cue: ether, ifnet, ifmedia 135attach cue at uhub 136file dev/usb/if_cue.c cue 137 138# Kawasaki LSI KL5KUSB101B 139device kue: ether, ifnet, ifmedia, firmload 140attach kue at uhub 141file dev/usb/if_kue.c kue 142 143# CDC Ethernet 144device cdce: ether, ifnet, ifmedia 145attach cdce at uhub 146file dev/usb/if_cdce.c cdce 147 148# Davicom DM9601 149device udav: ether, ifnet, mii, ifmedia 150attach udav at uhub 151file dev/usb/if_udav.c udav 152 153# Prolific PL2302 host-host 154device upl: ifnet 155attach upl at uhub 156file dev/usb/if_upl.c upl 157 158# Realtek RTL8150L(M) 159device url: ether, ifnet, mii 160attach url at uhub 161file dev/usb/if_url.c url 162 163 164# Serial drivers 165# Modems 166device umodem: ucombus 167attach umodem at uhub 168file dev/usb/umodem.c umodem 169 170# FTDI serial driver 171device uftdi: ucombus 172attach uftdi at uhub 173file dev/usb/uftdi.c uftdi 174 175# Prolific PL2303 serial driver 176device uplcom: ucombus 177attach uplcom at uhub 178file dev/usb/uplcom.c uplcom 179 180# MCT USB-232 serial driver 181device umct: ucombus 182attach umct at uhub 183file dev/usb/umct.c umct 184 185# SUNTAC Slipper U VS-10U driver 186device uvscom: ucombus 187attach uvscom at uhub 188file dev/usb/uvscom.c uvscom 189 190# Belkin & other serial driver 191device ubsa: ucombus 192attach ubsa at uhub 193file dev/usb/ubsa.c ubsa 194 195# iPAQ PDAs 196# Generic ipaq support 197device uipaq: ucombus 198attach uipaq at uhub 199file dev/usb/uipaq.c uipaq 200 201# Scanners 202# Generic scanner support 203device uscanner 204attach uscanner at uhub 205file dev/usb/uscanner.c uscanner needs-flag 206 207# Avision SCSI over USB, HP5300 208device usscanner: scsi 209attach usscanner at uhub 210file dev/usb/usscanner.c usscanner 211 212# Prism3 WI @ USB 213attach wi at uhub with wi_usb 214file dev/usb/if_wi_usb.c wi_usb 215 216# Atmel AT76c503 / AT76c503a / AT76c505 / AT76c505a @ USB 217device atu: ether, ifnet, ifmedia, wlan, firmload 218attach atu at uhub 219file dev/usb/if_atu.c atu 220 221# Bluetooth 222device ubt: ifnet, bluetooth 223attach ubt at uhub 224file dev/usb/if_ubt.c ubt 225 226# Ralink Technology RT2500USB 227device ural: ether, ifnet, ifmedia, wlan 228attach ural at uhub 229file dev/usb/if_ral.c ural 230 231# Analog Devices Eagle driver 232device ueagle: atm, ifnet, ezload, firmload 233attach ueagle at uhub 234file dev/usb/ueagle.c ueagle 235