From d421a25891ba098ef5b6c67a0ef099351e20ff0a Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Tue, 14 Oct 2025 21:38:36 -0400 Subject: kern: dms: Add DMS QUERY opcode for devinfo Add a new QUERY operation code that is used to fetch information about a specific disk. Signed-off-by: Ian Moffett --- src/sys/include/dms/dms.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/sys/include/dms') diff --git a/src/sys/include/dms/dms.h b/src/sys/include/dms/dms.h index 8453723..835f667 100644 --- a/src/sys/include/dms/dms.h +++ b/src/sys/include/dms/dms.h @@ -34,6 +34,7 @@ #include #include #include +#include /* * Maximum attached disks, from kconf @@ -49,12 +50,6 @@ __static_assert( "maxiumum disks cannot be zro!" ); -/* Parameters */ -#define DISKNAME_MAX 128 /* Disk name maxlen */ - -/* ID of the disk */ -typedef uint16_t disk_id_t; - /* Forward declarations */ struct dms_disk; -- cgit v1.2.3