aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/usb_ioctl.h
diff options
context:
space:
mode:
authorVladimir Kondratyev <wulf@FreeBSD.org>2020-10-14 00:52:47 +0000
committerVladimir Kondratyev <wulf@FreeBSD.org>2021-01-07 23:18:43 +0000
commit947739079604f5f9fea92d783c9ef43dce52e462 (patch)
tree433ceeda4ca1b76719037052fcec483dea9c75f7 /sys/dev/usb/usb_ioctl.h
parent2775d1d5d1efeed02f4a805a86f89ee96d68006b (diff)
downloadsrc-947739079604f5f9fea92d783c9ef43dce52e462.tar.gz
src-947739079604f5f9fea92d783c9ef43dce52e462.zip
hid: Import hidraw(4) - driver for access to raw HID device data
This driver provides raw access to HID devices through uhid(4)-compatible interface and is based on pre-8.x uhid(4) code. Unlike uhid(4) it does not take devices in to monopoly ownership and allows parallel access from other drivers. hidraw supports Linux's hidraw-compatible interface as well. Reviewed by: hselasky Differential revision: https://reviews.freebsd.org/D27992
Diffstat (limited to 'sys/dev/usb/usb_ioctl.h')
-rw-r--r--sys/dev/usb/usb_ioctl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/usb_ioctl.h b/sys/dev/usb/usb_ioctl.h
index c4023cab5f16..39783305ca6b 100644
--- a/sys/dev/usb/usb_ioctl.h
+++ b/sys/dev/usb/usb_ioctl.h
@@ -270,7 +270,7 @@ struct usb_gen_quirk {
#define USB_DEVICESTATS _IOR ('U', 5, struct usb_device_stats)
#define USB_DEVICEENUMERATE _IOW ('U', 6, int)
-/* Generic HID device */
+/* Generic HID device. Numbers 26 and 30-39 are occupied by hidraw. */
#define USB_GET_REPORT_DESC _IOWR('U', 21, struct usb_gen_descriptor)
#define USB_SET_IMMED _IOW ('U', 22, int)
#define USB_GET_REPORT _IOWR('U', 23, struct usb_gen_descriptor)