files.usb revision 1.53
1# $NetBSD: files.usb,v 1.53 2004/05/24 23:48:36 tsarna Exp $ 2# 3# Config file and device description for machine-independent USB code. 4# Included by ports that need it. Ports that use it must provide 5# their own "major" declarations for the appropriate devices. 6 7defflag USBVERBOSE 8 9device usb { } 10attach usb at usbus 11file dev/usb/usb.c usb needs-flag 12file dev/usb/usbdi.c usb 13file dev/usb/usbdi_util.c usb 14file dev/usb/usb_mem.c usb 15file dev/usb/usb_subr.c usb 16file dev/usb/usb_quirks.c usb 17 18# Hub driver 19device uhub { [port = -1], [configuration = -1], [interface = -1], 20 [vendor = -1], [product = -1], [release = -1] } 21attach uhub at usb 22file dev/usb/uhub.c usb 23 24attach uhub at uhub with uhub_uhub 25 26# Modem and com serial port "bus" 27define ucombus {[ portno = -1 ]} 28 29# EZ-USB firmware loader 30define ezload 31file dev/usb/ezload.c ezload 32 33# Audio devices 34device uaudio: audiobus, auconv, mulaw, aurateconv 35attach uaudio at uhub 36file dev/usb/uaudio.c uaudio 37 38# MIDI devices 39device umidi: midibus 40attach umidi at uhub 41file dev/usb/umidi.c umidi 42file dev/usb/umidi_quirks.c umidi 43 44# Modem and com serial port 45device ucom 46attach ucom at ucombus 47file dev/usb/ucom.c ucom | ucombus needs-flag 48 49 50# Generic devices 51device ugen 52attach ugen at uhub 53file dev/usb/ugen.c ugen needs-flag 54 55 56# HID 57# HID "bus" 58define uhidbus {[ reportid = -1 ]} 59 60# HID processing 61define hid 62file dev/usb/hid.c hid 63 64# HID root device for multiple report IDs 65device uhidev: hid, uhidbus 66attach uhidev at uhub 67file dev/usb/uhidev.c uhidev 68 69# Generic HID devices 70device uhid: hid 71attach uhid at uhidbus 72file dev/usb/uhid.c uhid needs-flag 73 74# Keyboards 75device ukbd: hid, wskbddev 76attach ukbd at uhidbus 77file dev/usb/ukbd.c ukbd needs-flag 78file dev/usb/ukbdmap.c ukbd 79 80# Mice 81device ums: hid, wsmousedev 82attach ums at uhidbus 83file dev/usb/ums.c ums 84 85# eGalax USB Touch Panel 86device uep: wsmousedev 87attach uep at uhub 88file dev/usb/uep.c uep needs-flag 89 90# Printers 91device ulpt 92attach ulpt at uhub 93file dev/usb/ulpt.c ulpt needs-flag 94 95 96# Mass storage 97device umass: scsi, atapi, ata_hl 98attach umass at uhub 99file dev/usb/umass.c umass 100file dev/usb/umass_isdata.c umass & wd 101file dev/usb/umass_quirks.c umass 102file dev/usb/umass_scsipi.c umass & (scsibus | atapibus) 103 104 105# IrDA bridges 106device uirda: irbus 107attach uirda at uhub 108file dev/usb/uirda.c uirda 109 110# SigmaTel IrDA bridge 111device ustir: irbus, irdasir 112attach ustir at uhub 113file dev/usb/ustir.c ustir 114 115 116# Bluetooth bridges 117device ubt: btbus 118attach ubt at uhub 119file dev/usb/ubt.c ubt 120 121# BCM2033 firmware download 122device ubtbcmfw 123attach ubtbcmfw at uhub 124file dev/usb/ubtbcmfw.c ubtbcmfw needs-flag 125 126 127# Misc 128# Diamond Multimedia Rio 500 129device urio 130attach urio at uhub 131file dev/usb/urio.c urio needs-flag 132 133# Handspring Visor 134device uvisor: ucombus 135attach uvisor at uhub 136file dev/usb/uvisor.c uvisor 137 138# YAP phone firmware loader 139device uyap: ezload 140attach uyap at uhub 141file dev/usb/uyap.c uyap 142 143# D-Link DSB-R100 FM radio 144device udsbr: radiodev 145attach udsbr at uhub 146file dev/usb/udsbr.c udsbr 147 148 149# Ethernet adapters 150# ADMtek AN986 Pegasus 151device aue: arp, ether, ifnet, mii, mii_phy 152attach aue at uhub 153file dev/usb/if_aue.c aue 154 155# CATC USB-EL1201A 156device cue: arp, ether, ifnet 157attach cue at uhub 158file dev/usb/if_cue.c cue 159 160# Kawasaki LSI KL5KUSB101B 161device kue: arp, ether, ifnet 162attach kue at uhub 163file dev/usb/if_kue.c kue 164 165# Prolific PL2302 host-host 166device upl: ifnet 167attach upl at uhub 168file dev/usb/if_upl.c upl 169 170# Realtek RTL8150L(M) 171device url: arp, ether, ifnet, mii 172attach url at uhub 173file dev/usb/if_url.c url 174 175# ASIX AX88172 176device uax: arp, ether, ifnet, mii, mii_phy 177attach uax at uhub 178file dev/usb/if_uax.c uax 179 180# DAVICOM DM9601 181device udav: arp, ether, ifnet, mii, mii_phy 182attach udav at uhub 183file dev/usb/if_udav.c udav 184 185 186# Serial drivers 187# Modems 188device umodem: ucombus 189attach umodem at uhub 190file dev/usb/umodem.c umodem 191 192# FTDI serial driver 193device uftdi: ucombus 194attach uftdi at uhub 195file dev/usb/uftdi.c uftdi 196 197# Prolific PL2303 serial driver 198device uplcom: ucombus 199attach uplcom at uhub 200file dev/usb/uplcom.c uplcom 201 202# MCT USB-232 serial driver 203device umct: ucombus 204attach umct at uhub 205file dev/usb/umct.c umct 206 207# SUNTAC Slipper U VS-10U driver 208device uvscom: ucombus 209attach uvscom at uhub 210file dev/usb/uvscom.c uvscom 211 212# Belkin & other serial driver 213device ubsa: ucombus 214attach ubsa at uhub 215file dev/usb/ubsa.c ubsa 216 217 218# Scanners 219# Generic scanner support 220device uscanner 221attach uscanner at uhub 222file dev/usb/uscanner.c uscanner needs-flag 223 224# Avision SCSI over USB, HP5300 225device usscanner: scsi 226attach usscanner at uhub 227file dev/usb/usscanner.c usscanner 228