From 3e39815f8c91a893bf03532975f0f085932ed8d2 Mon Sep 17 00:00:00 2001 From: "Rustem Gimadutdinov (rgimad)" Date: Mon, 15 Nov 2021 11:56:07 +0000 Subject: [PATCH] AHCI: fix failure when adding > 1 disks on one controller git-svn-id: svn://kolibrios.org@9270 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/blkdev/ahci.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/trunk/blkdev/ahci.inc b/kernel/trunk/blkdev/ahci.inc index 7add086e33..218602913b 100644 --- a/kernel/trunk/blkdev/ahci.inc +++ b/kernel/trunk/blkdev/ahci.inc @@ -565,8 +565,8 @@ ahci_init: mov ecx, ebx imul ecx, sizeof.PORT_DATA - mov ecx, [sd_data] add ecx, SD_DATA.port_data_arr + add ecx, [sd_data] stdcall ahci_port_rebase, edi, ebx, ecx ; DEBUGF 1, "K: AHCI: After REBASING, signature = 0x%x\n", [edi + HBA_PORT.signature]