git: d815ad742011 - stable/15 - ufshci: install the ioctl header
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 06 Oct 2026 07:51:40 UTC
The branch stable/15 has been updated by jaeyoon:
URL: https://cgit.FreeBSD.org/src/commit/?id=d815ad7420115f8e453c42e8e0b94ab2049b53ee
commit d815ad7420115f8e453c42e8e0b94ab2049b53ee
Author: Jaeyoon Choi <jaeyoon@FreeBSD.org>
AuthorDate: 2026-09-15 01:42:17 +0000
Commit: Jaeyoon Choi <jaeyoon@FreeBSD.org>
CommitDate: 2026-10-06 06:28:09 +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
(cherry picked from commit 8895b1348f3d21e2db16a06f31d555be0471e36d)
---
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 81ea0842035c..a039538a85b8 100644
--- a/etc/mtree/BSD.include.dist
+++ b/etc/mtree/BSD.include.dist
@@ -259,6 +259,8 @@
..
tcp_log
..
+ ufshci
+ ..
usb
..
veriexec
diff --git a/include/Makefile b/include/Makefile
index 80a776d89b12..e7f65adf02ba 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -192,6 +192,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
@@ -266,6 +271,7 @@ INCSGROUPS= INCS \
RPC \
SECAUDIT \
TEKEN \
+ UFSHCI \
VERIEXEC \
WG