files.usb revision 1.56
1# $NetBSD: files.usb,v 1.56 2004/10/23 13:38:26 augustss 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, tpcalib 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# CDC Ethernet 156device cdce: arp, ether, ifnet 157attach cdce at uhub 158file dev/usb/if_cdce.c cdce 159 160# CATC USB-EL1201A 161device cue: arp, ether, ifnet 162attach cue at uhub 163file dev/usb/if_cue.c cue 164 165# Kawasaki LSI KL5KUSB101B 166device kue: arp, ether, ifnet 167attach kue at uhub 168file dev/usb/if_kue.c kue 169 170# Prolific PL2302 host-host 171device upl: ifnet 172attach upl at uhub 173file dev/usb/if_upl.c upl 174 175# Realtek RTL8150L(M) 176device url: arp, ether, ifnet, mii 177attach url at uhub 178file dev/usb/if_url.c url 179 180# ASIX AX88172 181device axe: arp, ether, ifnet, mii, mii_phy 182attach axe at uhub 183file dev/usb/if_axe.c axe 184 185# DAVICOM DM9601 186device udav: arp, ether, ifnet, mii, mii_phy 187attach udav at uhub 188file dev/usb/if_udav.c udav 189 190 191# Serial drivers 192# Modems 193device umodem: ucombus 194attach umodem at uhub 195file dev/usb/umodem.c umodem 196 197# FTDI serial driver 198device uftdi: ucombus 199attach uftdi at uhub 200file dev/usb/uftdi.c uftdi 201 202# Prolific PL2303 serial driver 203device uplcom: ucombus 204attach uplcom at uhub 205file dev/usb/uplcom.c uplcom 206 207# MCT USB-232 serial driver 208device umct: ucombus 209attach umct at uhub 210file dev/usb/umct.c umct 211 212# SUNTAC Slipper U VS-10U driver 213device uvscom: ucombus 214attach uvscom at uhub 215file dev/usb/uvscom.c uvscom 216 217# Belkin & other serial driver 218device ubsa: ucombus 219attach ubsa at uhub 220file dev/usb/ubsa.c ubsa 221 222 223# Scanners 224# Generic scanner support 225device uscanner 226attach uscanner at uhub 227file dev/usb/uscanner.c uscanner needs-flag 228 229# Avision SCSI over USB, HP5300 230device usscanner: scsi 231attach usscanner at uhub 232file dev/usb/usscanner.c usscanner 233