files.usb revision 1.64
1# $NetBSD: files.usb,v 1.64 2005/07/30 06:14:50 skrll 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 75defparam UKBD_LAYOUT 76device ukbd: hid, wskbddev 77attach ukbd at uhidbus 78file dev/usb/ukbd.c ukbd needs-flag 79file dev/usb/ukbdmap.c ukbd 80 81# Mice 82device ums: hid, wsmousedev 83attach ums at uhidbus 84file dev/usb/ums.c ums 85 86# eGalax USB Touch Panel 87device uep: wsmousedev, tpcalib 88attach uep at uhub 89file dev/usb/uep.c uep needs-flag 90 91# Cypress microcontroller based serial adpaters 92device ucycom: hid 93attach ucycom at uhidbus 94file dev/usb/ucycom.c ucycom needs-flag 95 96# Printers 97device ulpt 98attach ulpt at uhub 99file dev/usb/ulpt.c ulpt needs-flag 100 101 102# Mass storage 103device umass: scsi, atapi, ata_hl 104attach umass at uhub 105file dev/usb/umass.c umass 106file dev/usb/umass_isdata.c umass & wd 107file dev/usb/umass_quirks.c umass 108file dev/usb/umass_scsipi.c umass & (scsibus | atapibus) 109 110 111# IrDA bridges 112device uirda: irbus 113attach uirda at uhub 114file dev/usb/uirda.c uirda 115 116# SigmaTel IrDA bridge 117device ustir: irbus, irdasir 118attach ustir at uhub 119file dev/usb/ustir.c ustir 120 121 122# Bluetooth bridges 123device ubt: btbus 124attach ubt at uhub 125file dev/usb/ubt.c ubt 126 127# BCM2033 firmware download 128device ubtbcmfw 129attach ubtbcmfw at uhub 130file dev/usb/ubtbcmfw.c ubtbcmfw needs-flag 131 132 133# Misc 134# Diamond Multimedia Rio 500 135device urio 136attach urio at uhub 137file dev/usb/urio.c urio needs-flag 138 139# Handspring Visor 140device uvisor: ucombus 141attach uvisor at uhub 142file dev/usb/uvisor.c uvisor 143 144# Generic Serial Adapter 145device ugensa: ucombus 146attach ugensa at uhub 147file dev/usb/ugensa.c ugensa 148 149# YAP phone firmware loader 150device uyap: ezload 151attach uyap at uhub 152file dev/usb/uyap.c uyap 153 154# D-Link DSB-R100 FM radio 155device udsbr: radiodev 156attach udsbr at uhub 157file dev/usb/udsbr.c udsbr 158 159 160# Ethernet adapters 161# ADMtek AN986 Pegasus 162device aue: arp, ether, ifnet, mii, mii_phy 163attach aue at uhub 164file dev/usb/if_aue.c aue 165 166# CDC Ethernet 167device cdce: arp, ether, ifnet 168attach cdce at uhub 169file dev/usb/if_cdce.c cdce 170 171# CATC USB-EL1201A 172device cue: arp, ether, ifnet 173attach cue at uhub 174file dev/usb/if_cue.c cue 175 176# Kawasaki LSI KL5KUSB101B 177device kue: arp, ether, ifnet 178attach kue at uhub 179file dev/usb/if_kue.c kue 180 181# Prolific PL2302 host-host 182device upl: ifnet 183attach upl at uhub 184file dev/usb/if_upl.c upl 185 186# Realtek RTL8150L(M) 187device url: arp, ether, ifnet, mii 188attach url at uhub 189file dev/usb/if_url.c url 190 191# ASIX AX88172 192device axe: arp, ether, ifnet, mii, mii_phy 193attach axe at uhub 194file dev/usb/if_axe.c axe 195 196# DAVICOM DM9601 197device udav: arp, ether, ifnet, mii, mii_phy 198attach udav at uhub 199file dev/usb/if_udav.c udav 200 201 202# Serial drivers 203# Modems 204define umodem_common 205file dev/usb/umodem_common.c umodem_common 206device umodem: ucombus, umodem_common 207attach umodem at uhub 208file dev/usb/umodem.c umodem 209 210# FTDI serial driver 211device uftdi: ucombus 212attach uftdi at uhub 213file dev/usb/uftdi.c uftdi 214 215# Prolific PL2303 serial driver 216device uplcom: ucombus 217attach uplcom at uhub 218file dev/usb/uplcom.c uplcom 219 220# MCT USB-232 serial driver 221device umct: ucombus 222attach umct at uhub 223file dev/usb/umct.c umct 224 225# SUNTAC Slipper U VS-10U driver 226device uvscom: ucombus 227attach uvscom at uhub 228file dev/usb/uvscom.c uvscom 229 230# Belkin & other serial driver 231device ubsa: ucombus 232attach ubsa at uhub 233file dev/usb/ubsa.c ubsa 234 235# iPAQ PDAs 236device uipaq: ucombus 237attach uipaq at uhub 238file dev/usb/uipaq.c uipaq 239 240# Kyocera AIR-EDGE PHONE 241device ukyopon: ucombus, umodem_common 242attach ukyopon at uhub 243file dev/usb/ukyopon.c ukyopon 244 245 246# Scanners 247# Generic scanner support 248device uscanner 249attach uscanner at uhub 250file dev/usb/uscanner.c uscanner needs-flag 251 252# Avision SCSI over USB, HP5300 253device usscanner: scsi 254attach usscanner at uhub 255file dev/usb/usscanner.c usscanner 256 257# Atmel AT76c503 / AT76c503a / AT76c505 / AT76c505a @ USB 258device atu: ether, ifnet, arp, wlan 259attach atu at uhub 260file dev/usb/if_atu.c atu 261 262# Ralink Technology RT2500USB 263attach ral at uhub with ural 264file dev/usb/if_ural.c ural 265