aboutsummaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
authorVladimir Kondratyev <wulf@FreeBSD.org>2020-12-13 09:37:55 +0000
committerVladimir Kondratyev <wulf@FreeBSD.org>2021-01-07 23:18:44 +0000
commit9be6b22da9b2df9903310a307f36f5297b1660b6 (patch)
tree6db60b5c42ac0fd0286419500512e9e020eec2bd /sys/modules
parent947739079604f5f9fea92d783c9ef43dce52e462 (diff)
downloadsrc-9be6b22da9b2df9903310a307f36f5297b1660b6.tar.gz
src-9be6b22da9b2df9903310a307f36f5297b1660b6.zip
hidraw(4): Add HIDRAW_MAKE_UHID_ALIAS kernel option
which installs /dev/uhid# alias to hidraw character device for compatibility with some existing uhid(4) users like Firefox. As side effect it renames traditional uhid(4) driver to hidraw to make possible using of common unit number allocator. Requested by: Greg V <greg_unrelenting.technology> Reviewed by: hselasky (as part of D27992)
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/hid/hidraw/Makefile2
-rw-r--r--sys/modules/usb/uhid/Makefile4
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/modules/hid/hidraw/Makefile b/sys/modules/hid/hidraw/Makefile
index e6305bc5bdb6..fdf9c31c9f3a 100644
--- a/sys/modules/hid/hidraw/Makefile
+++ b/sys/modules/hid/hidraw/Makefile
@@ -4,6 +4,6 @@
KMOD= hidraw
SRCS= hidraw.c
-SRCS+= bus_if.h device_if.h
+SRCS+= opt_hid.h bus_if.h device_if.h
.include <bsd.kmod.mk>
diff --git a/sys/modules/usb/uhid/Makefile b/sys/modules/usb/uhid/Makefile
index f1fa4f660b36..1ae7b012903f 100644
--- a/sys/modules/usb/uhid/Makefile
+++ b/sys/modules/usb/uhid/Makefile
@@ -30,7 +30,7 @@ S= ${SRCTOP}/sys
.PATH: $S/dev/usb/input
KMOD= uhid
-SRCS= opt_bus.h opt_usb.h device_if.h bus_if.h usb_if.h vnode_if.h usbdevs.h \
- uhid.c
+SRCS= opt_bus.h opt_hid.h opt_usb.h device_if.h bus_if.h usb_if.h \
+ vnode_if.h usbdevs.h uhid.c
.include <bsd.kmod.mk>