NetBSD/sys/dev/usb/files.usb

60 lines
1.3 KiB
Plaintext

# $NetBSD: files.usb,v 1.1 1998/07/12 19:51:59 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_subr.c usb
file dev/usb/usb_quirks.c usb
# Hub driver
device uhub { [port = -1] }
attach uhub at usb
file dev/usb/uhub.c usb
attach uhub at uhub with uhub_uhub
# Mice
device ums { }
attach ums at uhub
file dev/usb/ums.c ums needs-flag
# Keyboards
device ukbd { }
attach ukbd at uhub
file dev/usb/ukbd.c ukbd needs-flag
# Generic HID devices
device uhid { }
attach uhid at uhub
file dev/usb/uhid.c uhid needs-flag
# Printers
device ulpt { }
attach ulpt at uhub
file dev/usb/ulpt.c ulpt needs-flag
# Audio devices
device uaudio: audio, auconv, mulaw
attach uaudio at uhub
file dev/usb/uaudio.c uaudio
# Generic devices
device ugen { }
attach ugen at uhub
file dev/usb/ugen.c ugen needs-flag
# Inside Out Networks, Edgeport/4, 4 serial ports
#device uep { }
#attach uep at uhub
#file dev/usb/uep.c uep