files.usb revision 1.89
1# $NetBSD: files.usb,v 1.89 2008/09/19 11:29:35 jmcneill 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 9defflag opt_uvideo.h UVIDEO_DEBUG 10 11define usbroothubif { } 12define usbdevif { [port = -1], [configuration = -1], [interface = -1], 13 [vendor = -1], [product = -1], [release = -1] } 14define usbifif { [port = -1], [configuration = -1], [interface = -1], 15 [vendor = -1], [product = -1], [release = -1] } 16 17device usb: usbroothubif 18attach usb at usbus 19file dev/usb/usb.c usb needs-flag 20file dev/usb/usbdi.c usb 21file dev/usb/usbdi_util.c usb 22file dev/usb/usb_mem.c usb 23file dev/usb/usb_subr.c usb 24file dev/usb/usb_quirks.c usb 25 26# Hub driver 27device uhub: usbdevif, usbifif 28attach uhub at usbroothubif with uroothub 29attach uhub at usbdevif 30file dev/usb/uhub.c usb 31 32# Modem and com serial port "bus" 33define ucombus {[ portno = -1 ]} 34 35# EZ-USB firmware loader 36define ezload 37file dev/usb/ezload.c ezload 38 39# Audio devices 40device uaudio: audiobus, auconv, mulaw, aurateconv 41attach uaudio at usbifif 42file dev/usb/uaudio.c uaudio 43 44# MIDI devices 45device umidi: midibus 46attach umidi at usbifif 47file dev/usb/umidi.c umidi 48file dev/usb/umidi_quirks.c umidi 49 50# Modem and com serial port 51device ucom 52attach ucom at ucombus 53file dev/usb/ucom.c ucom | ucombus needs-flag 54 55 56# Generic devices 57defflag UGEN_BULK_RA_WB 58device ugen 59attach ugen at usbdevif 60file dev/usb/ugen.c ugen needs-flag 61 62 63# HID 64# HID "bus" 65define uhidbus {[ reportid = -1 ]} 66 67# HID root device for multiple report IDs 68device uhidev: hid, uhidbus 69attach uhidev at usbifif 70file dev/usb/uhidev.c uhidev 71 72# Generic HID devices 73device uhid: hid 74attach uhid at uhidbus 75file dev/usb/uhid.c uhid needs-flag 76 77# Keyboards 78defparam UKBD_LAYOUT 79device ukbd: hid, wskbddev 80attach ukbd at uhidbus 81file dev/usb/ukbd.c ukbd needs-flag 82file dev/usb/ukbdmap.c ukbd | btkbd 83 84# Mice 85device ums: hid, wsmousedev 86attach ums at uhidbus 87file dev/usb/ums.c ums 88 89# eGalax USB Touch Panel 90device uep: wsmousedev, tpcalib 91attach uep at usbdevif 92file dev/usb/uep.c uep needs-flag 93 94# Cypress microcontroller based serial adpaters 95device ucycom: hid 96attach ucycom at uhidbus 97file dev/usb/ucycom.c ucycom needs-flag 98 99# Printers 100device ulpt 101attach ulpt at usbifif 102file dev/usb/ulpt.c ulpt needs-flag 103 104 105# Mass storage 106device umass: scsi, atapi, ata_hl 107attach umass at usbifif 108file dev/usb/umass.c umass 109file dev/usb/umass_isdata.c umass & wd 110file dev/usb/umass_quirks.c umass 111file dev/usb/umass_scsipi.c umass & (scsibus | atapibus) 112 113 114# IrDA bridges 115device uirda: irbus 116attach uirda at usbifif 117file dev/usb/uirda.c uirda | stuirda 118 119# SigmaTel not quite UIRDA IrDA bridge 120device stuirda: irbus,firmload 121attach stuirda at usbifif 122file dev/usb/stuirda.c stuirda 123 124# SigmaTel IrDA bridge 125device ustir: irbus, irdasir 126attach ustir at usbdevif 127file dev/usb/ustir.c ustir 128 129 130# Bluetooth controllers 131device ubt: btbus, bluetooth 132attach ubt at usbdevif 133file dev/usb/ubt.c ubt 134 135# 136# Capture devices 137# 138 139# Sony PLAYSTATION(R) Eye 140device pseye: videobus 141attach pseye at usbifif 142file dev/usb/pseye.c pseye 143 144# USB Video Class capture devices 145device uvideo: videobus 146attach uvideo at usbifif 147file dev/usb/uvideo.c uvideo 148 149# 150# Misc 151# 152 153# Diamond Multimedia Rio 500 154device urio 155attach urio at usbdevif 156file dev/usb/urio.c urio needs-flag 157 158# BlackBerries 159device uberry 160attach uberry at usbdevif 161file dev/usb/uberry.c uberry 162 163# Handspring Visor 164device uvisor: ucombus 165attach uvisor at usbdevif 166file dev/usb/uvisor.c uvisor 167 168# Generic Serial Adapter 169device ugensa: ucombus 170attach ugensa at usbdevif 171file dev/usb/ugensa.c ugensa 172 173# YAP phone firmware loader 174device uyap: ezload 175attach uyap at usbdevif 176file dev/usb/uyap.c uyap 177 178# D-Link DSB-R100 FM radio 179device udsbr: radiodev 180attach udsbr at usbdevif 181file dev/usb/udsbr.c udsbr 182 183 184# Ethernet adapters 185# ADMtek AN986 Pegasus 186device aue: arp, ether, ifnet, mii, mii_phy 187attach aue at usbdevif 188file dev/usb/if_aue.c aue 189 190# CDC Ethernet 191device cdce: arp, ether, ifnet 192attach cdce at usbifif 193file dev/usb/if_cdce.c cdce 194 195# CATC USB-EL1201A 196device cue: arp, ether, ifnet 197attach cue at usbdevif 198file dev/usb/if_cue.c cue 199 200# Kawasaki LSI KL5KUSB101B 201device kue: arp, ether, ifnet 202attach kue at usbdevif 203file dev/usb/if_kue.c kue 204 205# Prolific PL2302 host-host 206device upl: ifnet 207attach upl at usbdevif 208file dev/usb/if_upl.c upl 209 210# Realtek RTL8150L(M) 211device url: arp, ether, ifnet, mii 212attach url at usbdevif 213file dev/usb/if_url.c url 214 215# ASIX AX88172 216device axe: arp, ether, ifnet, mii, mii_phy 217attach axe at usbdevif 218file dev/usb/if_axe.c axe 219 220# DAVICOM DM9601 221device udav: arp, ether, ifnet, mii, mii_phy 222attach udav at usbdevif 223file dev/usb/if_udav.c udav 224 225 226# Serial drivers 227# Modems 228define umodem_common 229file dev/usb/umodem_common.c umodem_common 230device umodem: ucombus, umodem_common 231attach umodem at usbifif 232file dev/usb/umodem.c umodem 233 234# FTDI serial driver 235device uftdi: ucombus 236attach uftdi at usbdevif 237file dev/usb/uftdi.c uftdi 238 239# Prolific PL2303 serial driver 240device uplcom: ucombus 241attach uplcom at usbdevif 242file dev/usb/uplcom.c uplcom 243 244# MCT USB-232 serial driver 245device umct: ucombus 246attach umct at usbdevif 247file dev/usb/umct.c umct 248 249# SUNTAC Slipper U VS-10U driver 250device uvscom: ucombus 251attach uvscom at usbdevif 252file dev/usb/uvscom.c uvscom 253 254# Belkin & other serial driver 255define ubsa_common 256file dev/usb/ubsa_common.c ubsa_common 257device ubsa: ucombus, ubsa_common 258attach ubsa at usbdevif 259file dev/usb/ubsa.c ubsa 260 261# Huawei E220 3G/HSDPA modem (ubsa) 262device uhmodem: ucombus, ubsa_common 263attach uhmodem at usbifif 264file dev/usb/uhmodem.c uhmodem 265 266# iPAQ PDAs 267device uipaq: ucombus 268attach uipaq at usbdevif 269file dev/usb/uipaq.c uipaq 270 271# Kyocera AIR-EDGE PHONE 272device ukyopon: ucombus, umodem_common 273attach ukyopon at usbifif 274file dev/usb/ukyopon.c ukyopon 275 276# Silicon Labs CP210x serial driver 277device uslsa: ucombus 278attach uslsa at usbdevif 279file dev/usb/uslsa.c uslsa 280 281# WinChipHead CH341/340 serial driver 282device uchcom: ucombus 283attach uchcom at usbdevif 284file dev/usb/uchcom.c uchcom 285 286# Scanners 287# Generic scanner support 288device uscanner 289attach uscanner at usbdevif 290file dev/usb/uscanner.c uscanner needs-flag 291 292# Avision SCSI over USB, HP5300 293device usscanner: scsi 294attach usscanner at usbdevif 295file dev/usb/usscanner.c usscanner 296 297# Atmel AT76c503 / AT76c503a / AT76c505 / AT76c505a @ USB 298device atu: ether, ifnet, arp, wlan 299attach atu at usbdevif 300file dev/usb/if_atu.c atu 301 302# Ralink Technology RT2500USB 303attach ral at usbdevif with ural 304file dev/usb/if_ural.c ural 305 306device rum: ether, ifnet, arp, wlan, firmload 307attach rum at usbdevif 308file dev/usb/if_rum.c rum 309 310# Topfield digital PVRs 311device utoppy 312attach utoppy at usbdevif 313file dev/usb/utoppy.c utoppy 314 315# Microsoft Xbox controller (gamepad) 316device xboxcontroller: wsmousedev 317attach xboxcontroller at usbdevif 318file dev/usb/xboxcontroller.c xboxcontroller 319 320# Zydas ZD1211 321device zyd: ether, ifnet, arp, wlan, firmload 322attach zyd at usbdevif 323file dev/usb/if_zyd.c zyd 324