AHCI: fix failure when adding > 1 disks on one controller

git-svn-id: svn://kolibrios.org@9270 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Rustem Gimadutdinov (rgimad) 2021-11-15 11:56:07 +00:00
parent 7288de6237
commit 3e39815f8c
1 changed files with 1 additions and 1 deletions

View File

@ -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]