files.usb revision 1.58
1# $NetBSD: files.usb,v 1.58 2005/01/24 01:36:07 joff 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# Generic Serial Adapter 139device ugensa: ucombus 140attach ugensa at uhub 141file dev/usb/ugensa.c ugensa 142 143# YAP phone firmware loader 144device uyap: ezload 145attach uyap at uhub 146file dev/usb/uyap.c uyap 147 148# D-Link DSB-R100 FM radio 149device udsbr: radiodev 150attach udsbr at uhub 151file dev/usb/udsbr.c udsbr 152 153 154# Ethernet adapters 155# ADMtek AN986 Pegasus 156device aue: arp, ether, ifnet, mii, mii_phy 157attach aue at uhub 158file dev/usb/if_aue.c aue 159 160# CDC Ethernet 161device cdce: arp, ether, ifnet 162attach cdce at uhub 163file dev/usb/if_cdce.c cdce 164 165# CATC USB-EL1201A 166device cue: arp, ether, ifnet 167attach cue at uhub 168file dev/usb/if_cue.c cue 169 170# Kawasaki LSI KL5KUSB101B 171device kue: arp, ether, ifnet 172attach kue at uhub 173file dev/usb/if_kue.c kue 174 175# Prolific PL2302 host-host 176device upl: ifnet 177attach upl at uhub 178file dev/usb/if_upl.c upl 179 180# Realtek RTL8150L(M) 181device url: arp, ether, ifnet, mii 182attach url at uhub 183file dev/usb/if_url.c url 184 185# ASIX AX88172 186device axe: arp, ether, ifnet, mii, mii_phy 187attach axe at uhub 188file dev/usb/if_axe.c axe 189 190# DAVICOM DM9601 191device udav: arp, ether, ifnet, mii, mii_phy 192attach udav at uhub 193file dev/usb/if_udav.c udav 194 195 196# Serial drivers 197# Modems 198device umodem: ucombus 199attach umodem at uhub 200file dev/usb/umodem.c umodem 201 202# FTDI serial driver 203device uftdi: ucombus 204attach uftdi at uhub 205file dev/usb/uftdi.c uftdi 206 207# Prolific PL2303 serial driver 208device uplcom: ucombus 209attach uplcom at uhub 210file dev/usb/uplcom.c uplcom 211 212# MCT USB-232 serial driver 213device umct: ucombus 214attach umct at uhub 215file dev/usb/umct.c umct 216 217# SUNTAC Slipper U VS-10U driver 218device uvscom: ucombus 219attach uvscom at uhub 220file dev/usb/uvscom.c uvscom 221 222# Belkin & other serial driver 223device ubsa: ucombus 224attach ubsa at uhub 225file dev/usb/ubsa.c ubsa 226 227 228# Scanners 229# Generic scanner support 230device uscanner 231attach uscanner at uhub 232file dev/usb/uscanner.c uscanner needs-flag 233 234# Avision SCSI over USB, HP5300 235device usscanner: scsi 236attach usscanner at uhub 237file dev/usb/usscanner.c usscanner 238 239# Atmel AT76c503 / AT76c503a / AT76c505 / AT76c505a @ USB 240device atu: ether, ifnet, arp, wlan 241attach atu at uhub 242file dev/usb/if_atu.c atu 243