NetBSD/sys/dev/usb/files.usb

224 lines
4.5 KiB
Plaintext

# $NetBSD: files.usb,v 1.52 2003/10/08 20:58:00 bouyer Exp $
#
# Config file and device description for machine-independent USB code.
# Included by ports that need it. Ports that use it must provide
# their own "major" declarations for the appropriate devices.
defflag USBVERBOSE
device usb { }
attach usb at usbus
file dev/usb/usb.c usb needs-flag
file dev/usb/usbdi.c usb
file dev/usb/usbdi_util.c usb
file dev/usb/usb_mem.c usb
file dev/usb/usb_subr.c usb
file dev/usb/usb_quirks.c usb
# Hub driver
device uhub { [port = -1], [configuration = -1], [interface = -1],
[vendor = -1], [product = -1], [release = -1] }
attach uhub at usb
file dev/usb/uhub.c usb
attach uhub at uhub with uhub_uhub
# Modem and com serial port "bus"
define ucombus {[ portno = -1 ]}
# EZ-USB firmware loader
define ezload
file dev/usb/ezload.c ezload
# Audio devices
device uaudio: audiobus, auconv, mulaw, aurateconv
attach uaudio at uhub
file dev/usb/uaudio.c uaudio
# MIDI devices
device umidi: midibus
attach umidi at uhub
file dev/usb/umidi.c umidi
file dev/usb/umidi_quirks.c umidi
# Modem and com serial port
device ucom
attach ucom at ucombus
file dev/usb/ucom.c ucom | ucombus needs-flag
# Generic devices
device ugen
attach ugen at uhub
file dev/usb/ugen.c ugen needs-flag
# HID
# HID "bus"
define uhidbus {[ reportid = -1 ]}
# HID processing
define hid
file dev/usb/hid.c hid
# HID root device for multiple report IDs
device uhidev: hid, uhidbus
attach uhidev at uhub
file dev/usb/uhidev.c uhidev
# Generic HID devices
device uhid: hid
attach uhid at uhidbus
file dev/usb/uhid.c uhid needs-flag
# Keyboards
device ukbd: hid, wskbddev
attach ukbd at uhidbus
file dev/usb/ukbd.c ukbd needs-flag
file dev/usb/ukbdmap.c ukbd
# Mice
device ums: hid, wsmousedev
attach ums at uhidbus
file dev/usb/ums.c ums
# Printers
device ulpt
attach ulpt at uhub
file dev/usb/ulpt.c ulpt needs-flag
# Mass storage
device umass: scsi, atapi, ata_hl
attach umass at uhub
file dev/usb/umass.c umass
file dev/usb/umass_isdata.c umass & wd
file dev/usb/umass_quirks.c umass
file dev/usb/umass_scsipi.c umass & (scsibus | atapibus)
# IrDA bridges
device uirda: irbus
attach uirda at uhub
file dev/usb/uirda.c uirda
# SigmaTel IrDA bridge
device ustir: irbus, irdasir
attach ustir at uhub
file dev/usb/ustir.c ustir
# Bluetooth bridges
device ubt: btbus
attach ubt at uhub
file dev/usb/ubt.c ubt
# BCM2033 firmware download
device ubtbcmfw
attach ubtbcmfw at uhub
file dev/usb/ubtbcmfw.c ubtbcmfw needs-flag
# Misc
# Diamond Multimedia Rio 500
device urio
attach urio at uhub
file dev/usb/urio.c urio needs-flag
# Handspring Visor
device uvisor: ucombus
attach uvisor at uhub
file dev/usb/uvisor.c uvisor
# YAP phone firmware loader
device uyap: ezload
attach uyap at uhub
file dev/usb/uyap.c uyap
# D-Link DSB-R100 FM radio
device udsbr: radiodev
attach udsbr at uhub
file dev/usb/udsbr.c udsbr
# Ethernet adapters
# ADMtek AN986 Pegasus
device aue: arp, ether, ifnet, mii, mii_phy
attach aue at uhub
file dev/usb/if_aue.c aue
# CATC USB-EL1201A
device cue: arp, ether, ifnet
attach cue at uhub
file dev/usb/if_cue.c cue
# Kawasaki LSI KL5KUSB101B
device kue: arp, ether, ifnet
attach kue at uhub
file dev/usb/if_kue.c kue
# Prolific PL2302 host-host
device upl: ifnet
attach upl at uhub
file dev/usb/if_upl.c upl
# Realtek RTL8150L(M)
device url: arp, ether, ifnet, mii
attach url at uhub
file dev/usb/if_url.c url
# ASIX AX88172
device uax: arp, ether, ifnet, mii, mii_phy
attach uax at uhub
file dev/usb/if_uax.c uax
# DAVICOM DM9601
device udav: arp, ether, ifnet, mii, mii_phy
attach udav at uhub
file dev/usb/if_udav.c udav
# Serial drivers
# Modems
device umodem: ucombus
attach umodem at uhub
file dev/usb/umodem.c umodem
# FTDI serial driver
device uftdi: ucombus
attach uftdi at uhub
file dev/usb/uftdi.c uftdi
# Prolific PL2303 serial driver
device uplcom: ucombus
attach uplcom at uhub
file dev/usb/uplcom.c uplcom
# MCT USB-232 serial driver
device umct: ucombus
attach umct at uhub
file dev/usb/umct.c umct
# SUNTAC Slipper U VS-10U driver
device uvscom: ucombus
attach uvscom at uhub
file dev/usb/uvscom.c uvscom
# Belkin & other serial driver
device ubsa: ucombus
attach ubsa at uhub
file dev/usb/ubsa.c ubsa
# Scanners
# Generic scanner support
device uscanner
attach uscanner at uhub
file dev/usb/uscanner.c uscanner needs-flag
# Avision SCSI over USB, HP5300
device usscanner: scsi
attach usscanner at uhub
file dev/usb/usscanner.c usscanner