files.usb revision 1.36
1# $NetBSD: files.usb,v 1.36 2001/12/28 17:32:36 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/hid.c usb 12file dev/usb/usb.c usb needs-flag 13file dev/usb/usbdi.c usb 14file dev/usb/usbdi_util.c usb 15file dev/usb/usb_mem.c usb 16file dev/usb/usb_subr.c usb 17file dev/usb/usb_quirks.c usb 18 19# Hub driver 20device uhub { [port = -1], [configuration = -1], [interface = -1], 21 [vendor = -1], [product = -1], [release = -1] } 22attach uhub at usb 23file dev/usb/uhub.c usb 24 25attach uhub at uhub with uhub_uhub 26 27# Modem and com serial port "bus" 28define ucombus {[ portno = -1 ]} 29 30# HID "bus" 31define uhidbus {[ reportid = -1 ]} 32 33# EZ-USB firmware loader 34define ezload 35file dev/usb/ezload.c ezload 36 37# Audio devices 38device uaudio: audio, auconv, mulaw 39attach uaudio at uhub 40file dev/usb/uaudio.c uaudio 41 42# MIDI devices 43device umidi: midibus 44attach umidi at uhub 45file dev/usb/umidi.c umidi 46file dev/usb/umidi_quirks.c umidi 47 48# Modem and com serial port 49device ucom 50attach ucom at ucombus 51file dev/usb/ucom.c ucom | ucombus needs-flag 52 53 54# Generic devices 55device ugen 56attach ugen at uhub 57file dev/usb/ugen.c ugen needs-flag 58 59 60# HID 61# HID root device for multiple report IDs 62device uhidev: uhidbus 63attach uhidev at uhub 64file dev/usb/uhidev.c uhidev 65 66# Generic HID devices 67device uhid 68attach uhid at uhidbus 69file dev/usb/uhid.c uhid needs-flag 70 71# Keyboards 72device ukbd: wskbddev 73attach ukbd at uhidbus 74file dev/usb/ukbd.c ukbd needs-flag 75file dev/usb/ukbdmap.c ukbd 76 77# Mice 78device ums: wsmousedev 79attach ums at uhidbus 80file dev/usb/ums.c ums 81 82 83# Printers 84device ulpt 85attach ulpt at uhub 86file dev/usb/ulpt.c ulpt needs-flag 87 88 89# Mass storage 90device umass: scsi, atapi, ata 91attach umass at uhub 92file dev/usb/umass.c umass 93file dev/usb/umass_isdata.c umass & wd 94file dev/usb/umass_quirks.c umass 95file dev/usb/umass_scsipi.c umass & (scsibus | atapibus) 96 97 98# IrDA bridges 99device uirda: irbus 100attach uirda at uhub 101file dev/usb/uirda.c uirda 102 103 104# Misc 105# Diamond Multimedia Rio 500 106device urio 107attach urio at uhub 108file dev/usb/urio.c urio needs-flag 109 110# Handspring Visor 111device uvisor: ucombus 112attach uvisor at uhub 113file dev/usb/uvisor.c uvisor 114 115# YAP phone firmware loader 116device uyap: ezload 117attach uyap at uhub 118file dev/usb/uyap.c uyap 119 120 121# Ethernet adapters 122# ADMtek AN986 Pegasus 123device aue: arp, ether, ifnet, mii, mii_phy 124attach aue at uhub 125file dev/usb/if_aue.c aue 126 127# CATC USB-EL1201A 128device cue: arp, ether, ifnet 129attach cue at uhub 130file dev/usb/if_cue.c cue 131 132# Kawasaki LSI KL5KUSB101B 133device kue: arp, ether, ifnet 134attach kue at uhub 135file dev/usb/if_kue.c kue 136 137# Prolific PL2302 host-host 138device upl: ifnet 139attach upl at uhub 140file dev/usb/if_upl.c upl 141 142 143# Serial drivers 144# Modems 145device umodem: ucombus 146attach umodem at uhub 147file dev/usb/umodem.c umodem 148 149# FTDI serial driver 150device uftdi: ucombus 151attach uftdi at uhub 152file dev/usb/uftdi.c uftdi 153 154# Prolific PL2303 serial driver 155device uplcom: ucombus 156attach uplcom at uhub 157file dev/usb/uplcom.c uplcom 158 159# MCT USB-232 serial driver 160device umct: ucombus 161attach umct at uhub 162file dev/usb/umct.c umct 163 164 165# Scanners 166# Generic scanner support 167device uscanner 168attach uscanner at uhub 169file dev/usb/uscanner.c uscanner needs-flag 170 171# Avision SCSI over USB, HP5300 172device usscanner: scsi 173attach usscanner at uhub 174file dev/usb/usscanner.c usscanner 175