2003-08-22 09:13:29 +04:00
|
|
|
# $NetBSD: files.usb,v 1.51 2003/08/22 05:13:29 itojun 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.
|
|
|
|
|
2001-11-28 13:21:10 +03:00
|
|
|
defflag USBVERBOSE
|
1998-07-12 23:51:55 +04:00
|
|
|
|
|
|
|
device usb { }
|
|
|
|
attach usb at usbus
|
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
|
2002-04-22 13:41:19 +04:00
|
|
|
device uaudio: audiobus, auconv, mulaw, aurateconv
|
1998-12-03 01:47:19 +03:00
|
|
|
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
|
2001-12-29 13:50:55 +03:00
|
|
|
# HID "bus"
|
|
|
|
define uhidbus {[ reportid = -1 ]}
|
|
|
|
|
|
|
|
# HID processing
|
|
|
|
define hid
|
|
|
|
file dev/usb/hid.c hid
|
|
|
|
|
2001-12-28 20:32:36 +03:00
|
|
|
# HID root device for multiple report IDs
|
2001-12-29 13:50:55 +03:00
|
|
|
device uhidev: hid, uhidbus
|
2001-12-28 20:32:36 +03:00
|
|
|
attach uhidev at uhub
|
|
|
|
file dev/usb/uhidev.c uhidev
|
|
|
|
|
1998-07-12 23:51:55 +04:00
|
|
|
# Generic HID devices
|
2001-12-29 13:50:55 +03:00
|
|
|
device uhid: hid
|
2001-12-28 20:32:36 +03:00
|
|
|
attach uhid at uhidbus
|
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
|
2001-12-29 13:50:55 +03:00
|
|
|
device ukbd: hid, wskbddev
|
2001-12-28 20:32:36 +03:00
|
|
|
attach ukbd at uhidbus
|
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
|
2001-12-29 13:50:55 +03:00
|
|
|
device ums: hid, wsmousedev
|
2001-12-28 20:32:36 +03:00
|
|
|
attach ums at uhidbus
|
2001-01-11 09:00:31 +03:00
|
|
|
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
|
2001-12-24 16:43:24 +03:00
|
|
|
device umass: scsi, atapi, ata
|
1999-08-23 11:07:47 +04:00
|
|
|
attach umass at uhub
|
|
|
|
file dev/usb/umass.c umass
|
2001-12-24 16:43:24 +03:00
|
|
|
file dev/usb/umass_isdata.c umass & wd
|
2001-12-17 15:16:14 +03:00
|
|
|
file dev/usb/umass_quirks.c umass
|
2001-12-24 16:25:52 +03:00
|
|
|
file dev/usb/umass_scsipi.c umass & (scsibus | atapibus)
|
1999-05-16 17:51:05 +04:00
|
|
|
|
2000-01-16 12:40:07 +03:00
|
|
|
|
2001-12-12 18:27:24 +03:00
|
|
|
# IrDA bridges
|
|
|
|
device uirda: irbus
|
|
|
|
attach uirda at uhub
|
|
|
|
file dev/usb/uirda.c uirda
|
|
|
|
|
2002-01-03 21:54:31 +03:00
|
|
|
# SigmaTel IrDA bridge
|
|
|
|
device ustir: irbus, irdasir
|
|
|
|
attach ustir at uhub
|
|
|
|
file dev/usb/ustir.c ustir
|
|
|
|
|
|
|
|
|
2002-08-22 14:15:57 +04:00
|
|
|
# Bluetooth bridges
|
2002-08-24 21:31:19 +04:00
|
|
|
device ubt: btbus
|
2002-08-22 14:15:57 +04:00
|
|
|
attach ubt at uhub
|
|
|
|
file dev/usb/ubt.c ubt
|
|
|
|
|
2002-08-23 04:55:20 +04:00
|
|
|
# BCM2033 firmware download
|
|
|
|
device ubtbcmfw
|
|
|
|
attach ubtbcmfw at uhub
|
2002-08-24 21:27:53 +04:00
|
|
|
file dev/usb/ubtbcmfw.c ubtbcmfw needs-flag
|
2002-08-23 04:55:20 +04:00
|
|
|
|
2002-08-22 14:15:57 +04: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
|
|
|
|
|
2002-01-02 06:21:36 +03:00
|
|
|
# D-Link DSB-R100 FM radio
|
2002-01-07 20:44:42 +03:00
|
|
|
device udsbr: radiodev
|
2002-01-02 06:21:36 +03:00
|
|
|
attach udsbr at uhub
|
|
|
|
file dev/usb/udsbr.c udsbr
|
|
|
|
|
2001-01-11 09:00:31 +03:00
|
|
|
|
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
|
|
|
|
2002-03-29 00:09:10 +03:00
|
|
|
# Realtek RTL8150L(M)
|
|
|
|
device url: arp, ether, ifnet, mii
|
|
|
|
attach url at uhub
|
|
|
|
file dev/usb/if_url.c url
|
|
|
|
|
2003-02-15 21:33:29 +03:00
|
|
|
# ASIX AX88172
|
|
|
|
device uax: arp, ether, ifnet, mii, mii_phy
|
|
|
|
attach uax at uhub
|
|
|
|
file dev/usb/if_uax.c uax
|
|
|
|
|
2003-08-22 09:13:29 +04:00
|
|
|
# DAVICOM DM9601
|
|
|
|
device udav: arp, ether, ifnet, mii, mii_phy
|
|
|
|
attach udav at uhub
|
|
|
|
file dev/usb/if_udav.c udav
|
|
|
|
|
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
|
|
|
|
|
2002-03-19 18:08:42 +03:00
|
|
|
# SUNTAC Slipper U VS-10U driver
|
|
|
|
device uvscom: ucombus
|
|
|
|
attach uvscom at uhub
|
|
|
|
file dev/usb/uvscom.c uvscom
|
|
|
|
|
2002-10-08 17:08:02 +04:00
|
|
|
# Belkin & other serial driver
|
|
|
|
device ubsa: ucombus
|
|
|
|
attach ubsa at uhub
|
|
|
|
file dev/usb/ubsa.c ubsa
|
|
|
|
|
2001-12-28 20:32:36 +03:00
|
|
|
|
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
|