1999-06-30 10:44:22 +04:00
|
|
|
# $NetBSD: files.usb,v 1.8 1999/06/30 06:44:22 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
|
|
|
|
|
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
|
|
|
|
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-05-06 04:42:16 +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
|
|
|
|
#device umass: scsi
|
|
|
|
#attach umass at uhub
|
|
|
|
#file dev/usb/umass.c umass needs-flag
|
|
|
|
|
1998-12-03 22:58:09 +03:00
|
|
|
# Modems
|
1999-06-30 10:44:22 +04:00
|
|
|
#device umodem
|
|
|
|
#attach umodem at uhub
|
|
|
|
#file dev/usb/umodem.c umodem needs-flag
|
1998-12-03 22:58:09 +03:00
|
|
|
|
1998-12-03 01:47:19 +03:00
|
|
|
# Mice
|
|
|
|
device ums: wsmousedev
|
|
|
|
attach ums at uhub
|
|
|
|
file dev/usb/ums.c ums needs-flag
|
1998-07-12 23:51:55 +04:00
|
|
|
|
|
|
|
|