From aaa076ff1d68545085fb85ee24d5410b60a123bd Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Tue, 14 Oct 2025 20:23:19 -0400 Subject: kern: dms: Make DMS block size aware In order to safely copy between disk and host memory through a programming interface, DMS must be aware of the hardware disk block size Signed-off-by: Ian Moffett --- src/sys/io/ic/ahci.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/sys/io/ic/ahci.c') diff --git a/src/sys/io/ic/ahci.c b/src/sys/io/ic/ahci.c index 9aa19b4..48560a8 100644 --- a/src/sys/io/ic/ahci.c +++ b/src/sys/io/ic/ahci.c @@ -236,6 +236,7 @@ ahci_register(struct ata_identity *identity, struct ahci_port *port) return error; } + dp->bsize = port->bsize; dp->data = (void *)port; return 0; } -- cgit v1.2.3