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:
parent
7288de6237
commit
3e39815f8c
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user