2001-04-13 16:24:10 +04:00
|
|
|
# $NetBSD: files.usb,v 1.30 2001/04/13 12:24:10 augustss Exp $
|
1998-07-12 23:51:55 +04:00
|
|
|
#
|
|
|
|
# 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
|
2001-02-24 04:59:46 +03:00
|
|
|
file dev/usb/usb.c usb needs-flag
|
1998-07-12 23:51:55 +04:00
|
|
|
file dev/usb/usbdi.c usb
|
|
|
|
file dev/usb/usbdi_util.c usb
|
1998-07-25 19:36:30 +04:00
|
|
|
file dev/usb/usb_mem.c usb
|
1998-07-12 23:51:55 +04:00
|
|
|
file dev/usb/usb_subr.c usb
|
|
|
|
file dev/usb/usb_quirks.c usb
|
|
|
|
|
|
|
|
# Hub driver
|
1999-05-16 17:51:05 +04:00
|
|
|
device uhub { [port = -1], [configuration = -1], [interface = -1],
|
|
|
|
[vendor = -1], [product = -1], [release = -1] }
|
1998-07-12 23:51:55 +04:00
|
|
|
attach uhub at usb
|
|
|
|
file dev/usb/uhub.c usb
|
|
|
|
|
|
|
|
attach uhub at uhub with uhub_uhub
|
|
|
|
|
2000-01-25 11:12:58 +03:00
|
|
|
# Modem and com serial port "bus"
|
|
|
|
define ucombus {[ portno = -1 ]}
|
|
|
|
|
2001-01-02 21:49:56 +03:00
|
|
|
# EZ-USB firmware loader
|
|
|
|
define ezload
|
|
|
|
file dev/usb/ezload.c ezload
|
|
|
|
|
1998-12-03 01:47:19 +03:00
|
|
|
# Audio devices
|
|
|
|
device uaudio: audio, auconv, mulaw
|
|
|
|
attach uaudio at uhub
|
|
|
|
file dev/usb/uaudio.c uaudio
|
1998-07-12 23:51:55 +04:00
|
|
|
|
2001-01-31 02:26:47 +03:00
|
|
|
# MIDI devices
|
|
|
|
device umidi: midibus
|
|
|
|
attach umidi at uhub
|
|
|
|
file dev/usb/umidi.c umidi
|
|
|
|
file dev/usb/umidi_quirks.c umidi
|
|
|
|
|
2000-01-25 11:12:58 +03:00
|
|
|
# Modem and com serial port
|
|
|
|
device ucom
|
|
|
|
attach ucom at ucombus
|
2001-02-24 04:59:46 +03:00
|
|
|
file dev/usb/ucom.c ucom | ucombus needs-flag
|
2000-01-25 11:12:58 +03:00
|
|
|
|
2001-01-11 09:00:31 +03:00
|
|
|
|
1998-12-03 01:47:19 +03:00
|
|
|
# Generic devices
|
|
|
|
device ugen
|
|
|
|
attach ugen at uhub
|
2001-02-24 04:59:46 +03:00
|
|
|
file dev/usb/ugen.c ugen needs-flag
|
1998-07-12 23:51:55 +04:00
|
|
|
|
2001-01-11 09:00:31 +03:00
|
|
|
|
|
|
|
# HID
|
1998-07-12 23:51:55 +04:00
|
|
|
# Generic HID devices
|
1998-07-25 19:36:30 +04:00
|
|
|
device uhid
|
1998-07-12 23:51:55 +04:00
|
|
|
attach uhid at uhub
|
2001-02-24 04:59:46 +03:00
|
|
|
file dev/usb/uhid.c uhid needs-flag
|
1998-07-12 23:51:55 +04:00
|
|
|
|
1998-12-03 01:47:19 +03:00
|
|
|
# Keyboards
|
|
|
|
device ukbd: wskbddev
|
|
|
|
attach ukbd at uhub
|
2001-02-24 04:59:46 +03:00
|
|
|
file dev/usb/ukbd.c ukbd needs-flag
|
1999-01-10 14:09:02 +03:00
|
|
|
file dev/usb/ukbdmap.c ukbd
|
1998-12-03 01:47:19 +03:00
|
|
|
|
2001-01-11 09:00:31 +03:00
|
|
|
# Mice
|
|
|
|
device ums: wsmousedev
|
|
|
|
attach ums at uhub
|
|
|
|
file dev/usb/ums.c ums
|
|
|
|
|
|
|
|
|
1998-07-12 23:51:55 +04:00
|
|
|
# Printers
|
1998-07-25 19:36:30 +04:00
|
|
|
device ulpt
|
1998-07-12 23:51:55 +04:00
|
|
|
attach ulpt at uhub
|
2001-02-24 04:59:46 +03:00
|
|
|
file dev/usb/ulpt.c ulpt needs-flag
|
1998-07-12 23:51:55 +04:00
|
|
|
|
2001-01-11 09:00:31 +03:00
|
|
|
|
1999-05-16 17:51:05 +04:00
|
|
|
# Mass storage
|
2000-04-03 03:40:41 +04:00
|
|
|
device umass: scsi, atapi
|
1999-08-23 11:07:47 +04:00
|
|
|
attach umass at uhub
|
|
|
|
file dev/usb/umass.c umass
|
2001-04-13 16:24:10 +04:00
|
|
|
file dev/usb/umassbus.c umass
|
1999-05-16 17:51:05 +04:00
|
|
|
|
2000-01-16 12:40:07 +03:00
|
|
|
|
2001-01-11 09:00:31 +03:00
|
|
|
# Misc
|
2000-04-14 18:20:02 +04:00
|
|
|
# Diamond Multimedia Rio 500
|
|
|
|
device urio
|
|
|
|
attach urio at uhub
|
2001-02-24 04:59:46 +03:00
|
|
|
file dev/usb/urio.c urio needs-flag
|
2000-04-14 18:20:02 +04:00
|
|
|
|
2000-03-30 20:56:19 +04:00
|
|
|
# Handspring Visor
|
|
|
|
device uvisor: ucombus
|
|
|
|
attach uvisor at uhub
|
|
|
|
file dev/usb/uvisor.c uvisor
|
|
|
|
|
2001-01-11 09:00:31 +03:00
|
|
|
# YAP phone firmware loader
|
|
|
|
device uyap: ezload
|
|
|
|
attach uyap at uhub
|
|
|
|
file dev/usb/uyap.c uyap
|
|
|
|
|
|
|
|
|
2000-01-16 12:40:07 +03:00
|
|
|
# Ethernet adapters
|
|
|
|
# ADMtek AN986 Pegasus
|
2000-02-14 23:29:54 +03:00
|
|
|
device aue: arp, ether, ifnet, mii, mii_phy
|
2000-01-16 12:40:07 +03:00
|
|
|
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
|
2000-04-09 22:23:23 +04:00
|
|
|
|
|
|
|
# Prolific PL2302 host-host
|
|
|
|
device upl: ifnet
|
|
|
|
attach upl at uhub
|
|
|
|
file dev/usb/if_upl.c upl
|
2000-04-14 18:51:22 +04:00
|
|
|
|
2001-01-11 09:00:31 +03:00
|
|
|
|
2000-04-14 18:51:22 +04:00
|
|
|
# Serial drivers
|
2001-01-11 09:00:31 +03:00
|
|
|
# Modems
|
|
|
|
device umodem: ucombus
|
|
|
|
attach umodem at uhub
|
|
|
|
file dev/usb/umodem.c umodem
|
|
|
|
|
2000-04-14 18:51:22 +04:00
|
|
|
# FTDI serial driver
|
|
|
|
device uftdi: ucombus
|
|
|
|
attach uftdi at uhub
|
|
|
|
file dev/usb/uftdi.c uftdi
|
2000-09-23 08:32:23 +04:00
|
|
|
|
2001-01-23 04:24:10 +03:00
|
|
|
# Prolific PL2303 serial driver
|
|
|
|
device uplcom: ucombus
|
|
|
|
attach uplcom at uhub
|
|
|
|
file dev/usb/uplcom.c uplcom
|
2001-01-11 09:00:31 +03:00
|
|
|
|
2001-03-28 22:42:13 +04:00
|
|
|
# MCT USB-232 serial driver
|
|
|
|
device umct: ucombus
|
|
|
|
attach umct at uhub
|
|
|
|
file dev/usb/umct.c umct
|
|
|
|
|
2000-09-23 08:32:23 +04:00
|
|
|
# Scanners
|
2001-01-11 09:00:31 +03:00
|
|
|
# Generic scanner support
|
2000-09-23 08:32:23 +04:00
|
|
|
device uscanner
|
|
|
|
attach uscanner at uhub
|
2001-02-24 04:59:46 +03:00
|
|
|
file dev/usb/uscanner.c uscanner needs-flag
|
2001-01-02 21:52:44 +03:00
|
|
|
|
2001-01-11 09:00:31 +03:00
|
|
|
# Avision SCSI over USB, HP5300
|
|
|
|
device usscanner: scsi
|
|
|
|
attach usscanner at uhub
|
|
|
|
file dev/usb/usscanner.c usscanner
|