2000-01-25 16:56:23 +03:00
|
|
|
# $NetBSD: files.usb,v 1.15 2000/01/25 13:56:23 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
|
|
|
|
file dev/usb/usb.c usb needs-flag
|
|
|
|
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 ]}
|
|
|
|
|
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
|
|
|
|
2000-01-25 11:12:58 +03:00
|
|
|
# Modem and com serial port
|
|
|
|
device ucom
|
|
|
|
attach ucom at ucombus
|
2000-01-25 16:56:23 +03:00
|
|
|
file dev/usb/ucom.c ucom | ucombus needs-flag
|
2000-01-25 11:12:58 +03:00
|
|
|
|
1998-12-03 01:47:19 +03:00
|
|
|
# Generic devices
|
|
|
|
device ugen
|
|
|
|
attach ugen at uhub
|
|
|
|
file dev/usb/ugen.c ugen needs-flag
|
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
|
|
|
|
file dev/usb/uhid.c uhid needs-flag
|
|
|
|
|
1998-12-03 01:47:19 +03:00
|
|
|
# Keyboards
|
|
|
|
device ukbd: wskbddev
|
|
|
|
attach ukbd at uhub
|
1999-09-12 21:40:57 +04: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
|
|
|
|
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
|
|
|
|
file dev/usb/ulpt.c ulpt needs-flag
|
|
|
|
|
1999-05-16 17:51:05 +04:00
|
|
|
# Mass storage
|
1999-08-23 11:07:47 +04:00
|
|
|
device umass: scsi
|
|
|
|
attach umass at uhub
|
|
|
|
file dev/usb/umass.c umass
|
1999-05-16 17:51:05 +04:00
|
|
|
|
1998-12-03 22:58:09 +03:00
|
|
|
# Modems
|
2000-01-25 11:12:58 +03:00
|
|
|
device umodem: ucombus
|
1999-08-17 00:26:53 +04:00
|
|
|
attach umodem at uhub
|
2000-01-25 11:12:58 +03:00
|
|
|
file dev/usb/umodem.c umodem
|
1998-12-03 22:58:09 +03:00
|
|
|
|
1998-12-03 01:47:19 +03:00
|
|
|
# Mice
|
|
|
|
device ums: wsmousedev
|
|
|
|
attach ums at uhub
|
1999-08-23 11:07:47 +04:00
|
|
|
file dev/usb/ums.c ums
|
2000-01-16 12:40:07 +03:00
|
|
|
|
|
|
|
# Ethernet adapters
|
|
|
|
# ADMtek AN986 Pegasus
|
|
|
|
device aue: arp, ether, ifnet, mii
|
|
|
|
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
|