aboutsummaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
authorYuri <yuri@aetern.org>2023-02-05 15:32:08 +0000
committerVladimir Kondratyev <wulf@FreeBSD.org>2023-02-05 15:32:08 +0000
commite4d3f1e40ab3327e4ff6f689f54a64bd2ebc0568 (patch)
treefe6cf0509bbc6920bd51c02ca2c6a4ad6abe5d66 /sys/modules
parentedfc7d6e5b5b48fd8fad80672b94d8ab9c78095b (diff)
downloadsrc-e4d3f1e40ab3327e4ff6f689f54a64bd2ebc0568.tar.gz
src-e4d3f1e40ab3327e4ff6f689f54a64bd2ebc0568.zip
hv_hid: Hyper-V HID driver
Hyper-V HID driver using hidbus/hms. Reviewed by: wulf MFC after: 1 week PR: 221074 Differential revision: https://reviews.freebsd.org/D38140
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/hyperv/Makefile2
-rw-r--r--sys/modules/hyperv/hid/Makefile12
2 files changed, 13 insertions, 1 deletions
diff --git a/sys/modules/hyperv/Makefile b/sys/modules/hyperv/Makefile
index e94b441e876d..0e9ca2495ef6 100644
--- a/sys/modules/hyperv/Makefile
+++ b/sys/modules/hyperv/Makefile
@@ -1,5 +1,5 @@
# $FreeBSD$
-SUBDIR = vmbus netvsc storvsc utilities hvsock
+SUBDIR = vmbus netvsc storvsc utilities hvsock hid
.include <bsd.subdir.mk>
diff --git a/sys/modules/hyperv/hid/Makefile b/sys/modules/hyperv/hid/Makefile
new file mode 100644
index 000000000000..40b991065d2a
--- /dev/null
+++ b/sys/modules/hyperv/hid/Makefile
@@ -0,0 +1,12 @@
+# $FreeBSD$
+
+.PATH: ${SRCTOP}/sys/dev/hyperv/input
+
+KMOD= hv_hid
+SRCS= hv_hid.c
+SRCS+= bus_if.h device_if.h hid_if.h vmbus_if.h
+
+CFLAGS+= -I${SRCTOP}/sys/dev/hyperv/include \
+ -I${SRCTOP}/sys/dev/hyperv/vmbus
+
+.include <bsd.kmod.mk>