121 lines
2.5 KiB
Plaintext
121 lines
2.5 KiB
Plaintext
# $NetBSD: files.usb,v 1.23 2001/01/02 18:49:56 augustss 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.
|
|
|
|
defopt USBVERBOSE
|
|
|
|
device usb { }
|
|
attach usb at usbus
|
|
file dev/usb/hid.c usb
|
|
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: audio, auconv, mulaw
|
|
attach uaudio at uhub
|
|
file dev/usb/uaudio.c uaudio
|
|
|
|
# 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
|
|
|
|
# Generic HID devices
|
|
device uhid
|
|
attach uhid at uhub
|
|
file dev/usb/uhid.c uhid needs-flag
|
|
|
|
# Keyboards
|
|
device ukbd: wskbddev
|
|
attach ukbd at uhub
|
|
file dev/usb/ukbd.c ukbd needs-flag
|
|
file dev/usb/ukbdmap.c ukbd
|
|
|
|
# Printers
|
|
device ulpt
|
|
attach ulpt at uhub
|
|
file dev/usb/ulpt.c ulpt needs-flag
|
|
|
|
# Mass storage
|
|
device umass: scsi, atapi
|
|
attach umass at uhub
|
|
file dev/usb/umass.c umass
|
|
|
|
# Modems
|
|
device umodem: ucombus
|
|
attach umodem at uhub
|
|
file dev/usb/umodem.c umodem
|
|
|
|
# Mice
|
|
device ums: wsmousedev
|
|
attach ums at uhub
|
|
file dev/usb/ums.c ums
|
|
|
|
# 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
|
|
|
|
# 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
|
|
|
|
# Serial drivers
|
|
# FTDI serial driver
|
|
device uftdi: ucombus
|
|
attach uftdi at uhub
|
|
file dev/usb/uftdi.c uftdi
|
|
|
|
# Scanners
|
|
device uscanner
|
|
attach uscanner at uhub
|
|
file dev/usb/uscanner.c uscanner needs-flag
|