aboutsummaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
authorJaeyoon Choi <jaeyoon@FreeBSD.org>2026-09-15 01:39:41 +0000
committerJaeyoon Choi <jaeyoon@FreeBSD.org>2026-09-15 01:44:33 +0000
commit28fefc441e3b701acc2888892a518774394255c7 (patch)
treeb73129d4bec245f0856410ab387bd3e1880ff35e /sys/modules
parentd3e5082ce4dcb154cbf50cba05d8f1dbbd55a5fc (diff)
ufshci: add a control device node
The driver only exposed a CAM SIM. Userland had no way to reach the device for anything that is not a SCSI command, so reading a descriptor or an attribute was impossible. Add /dev/ufshci%d as a root only node and the ioctl ABI header for it. The node answers no ioctl yet. The header pulls in ufshci.h, which declares bool only under _KERNEL, so include stdbool.h for userland the way nvme.h already does. Reviewed by: imp (mentor) Sponsored by: Samsung Electronics Differential Revision: https://reviews.freebsd.org/D59558
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/ufshci/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/modules/ufshci/Makefile b/sys/modules/ufshci/Makefile
index aa0419d3a6d6..8b07766bd6fc 100644
--- a/sys/modules/ufshci/Makefile
+++ b/sys/modules/ufshci/Makefile
@@ -12,6 +12,7 @@ SRCS = ufshci.c \
ufshci_req_queue.c \
ufshci_req_sdb.c \
ufshci_sim.c \
+ ufshci_ioctl.c \
ufshci_sysctl.c \
acpi_if.h \
bus_if.h \