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
This commit is contained in:
Jaeyoon Choi committed 2026-09-15 01:44:34 +00:00
1 parent ae31f29285
commit 8895b1348f
2 files changed
+8

No files matched your search

+2
View File
@@ -261,6 +261,8 @@
..
tcp_log
..
ufshci
..
usb
..
veriexec
+6
View File
@@ -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