files.usb revision 1.60
1# $NetBSD: files.usb,v 1.60 2005/04/15 17:18:18 itohy 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 198define umodem_common 199file dev/usb/umodem_common.c umodem_common 200device umodem: ucombus, umodem_common 201attach umodem at uhub 202file dev/usb/umodem.c umodem 203 204# FTDI serial driver 205device uftdi: ucombus 206attach uftdi at uhub 207file dev/usb/uftdi.c uftdi 208 209# Prolific PL2303 serial driver 210device uplcom: ucombus 211attach uplcom at uhub 212file dev/usb/uplcom.c uplcom 213 214# MCT USB-232 serial driver 215device umct: ucombus 216attach umct at uhub 217file dev/usb/umct.c umct 218 219# SUNTAC Slipper U VS-10U driver 220device uvscom: ucombus 221attach uvscom at uhub 222file dev/usb/uvscom.c uvscom 223 224# Belkin & other serial driver 225device ubsa: ucombus 226attach ubsa at uhub 227file dev/usb/ubsa.c ubsa 228 229# Kyocera AIR-EDGE PHONE 230device ukyopon: ucombus, umodem_common 231attach ukyopon at uhub 232file dev/usb/ukyopon.c ukyopon 233 234 235# Scanners 236# Generic scanner support 237device uscanner 238attach uscanner at uhub 239file dev/usb/uscanner.c uscanner needs-flag 240 241# Avision SCSI over USB, HP5300 242device usscanner: scsi 243attach usscanner at uhub 244file dev/usb/usscanner.c usscanner 245 246# Atmel AT76c503 / AT76c503a / AT76c505 / AT76c505a @ USB 247device atu: ether, ifnet, arp, wlan 248attach atu at uhub 249file dev/usb/if_atu.c atu 250