git: 8895b1348f3d - main - ufshci: install the ioctl header
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 15 Sep 2026 01:47:50 UTC
The branch main has been updated by jaeyoon:
URL: https://cgit.FreeBSD.org/src/commit/?id=8895b1348f3d21e2db16a06f31d555be0471e36d
commit 8895b1348f3d21e2db16a06f31d555be0471e36d
Author: Jaeyoon Choi <jaeyoon@FreeBSD.org>
AuthorDate: 2026-09-15 01:42:17 +0000
Commit: Jaeyoon Choi <jaeyoon@FreeBSD.org>
CommitDate: 2026-09-15 01:44:34 +0000
ufshci: install the ioctl header
The passthrough ioctl has a userland ABI header, but nothing installed
it. A program that wanted to use the ioctl had to copy the headers out
of the source tree by hand.
Install ufshci.h and ufshci_ioctl.h under /usr/include/dev/ufshci, the
way nvme installs nvme.h. The ioctl header pulls in ufshci.h, so both
go. Add the directory to the include mtree so installworld creates it.
Reviewed by: imp (mentor)
Sponsored by: Samsung Electronics
Differential Revision: https://reviews.freebsd.org/D59560
---
etc/mtree/BSD.include.dist | 2 ++
include/Makefile | 6 ++++++
2 files changed, 8 insertions(+)
diff --git a/etc/mtree/BSD.include.dist b/etc/mtree/BSD.include.dist
index 75c66beeefbe..c939d5719679 100644
--- a/etc/mtree/BSD.include.dist
+++ b/etc/mtree/BSD.include.dist
@@ -261,6 +261,8 @@
..
tcp_log
..
+ ufshci
+ ..
usb
..
veriexec
diff --git a/include/Makefile b/include/Makefile
index 0cf926a6e00f..1d35301ad526 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -198,6 +198,11 @@ NVMFDIR= ${INCLUDEDIR}/dev/nvmf
PCI= pcireg.h
PCIDIR= ${INCLUDEDIR}/dev/pci
+.PATH: ${SRCTOP}/sys/dev/ufshci
+UFSHCI= ufshci.h \
+ ufshci_ioctl.h
+UFSHCIDIR= ${INCLUDEDIR}/dev/ufshci
+
.PATH: ${SRCTOP}/sys/dev/veriexec
VERIEXEC= veriexec_ioctl.h
VERIEXECDIR= ${INCLUDEDIR}/dev/veriexec
@@ -273,6 +278,7 @@ INCSGROUPS= INCS \
RPC \
SECAUDIT \
TEKEN \
+ UFSHCI \
VERIEXEC \
WG