From 20d19ed994b132be55d38f6c15db971e02fabc06 Mon Sep 17 00:00:00 2001 From: Michael Shaw Date: Sun, 7 May 2023 19:04:47 -0400 Subject: [PATCH] ahci: fix step bug --- dev/ahci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/ahci.c b/dev/ahci.c index ebc465a..e59df15 100644 --- a/dev/ahci.c +++ b/dev/ahci.c @@ -147,7 +147,7 @@ bool ahci_access_sectors(struct sata_device *dev, paddr_t lba, uint16_t count, p cmdtbl->prdt_entry[i].data_base = buf; cmdtbl->prdt_entry[i].byte_count = 8 * 1024 - 1; cmdtbl->prdt_entry[i].interrupt = 1; - buf += 4 * 1024; + buf += 8 * 1024; count -= 16; }