From 0d517f15bb181f7a530b06df991d8fb5bc8705f7 Mon Sep 17 00:00:00 2001 From: TomAwezome Date: Thu, 6 Oct 2022 18:19:51 -0400 Subject: [PATCH] Change AHCIPortIdentify port cmd_issue set to debug approach with or-equals. --- src/Kernel/BlkDev/DiskAHCI.ZC | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Kernel/BlkDev/DiskAHCI.ZC b/src/Kernel/BlkDev/DiskAHCI.ZC index 3717e0f7..455100aa 100755 --- a/src/Kernel/BlkDev/DiskAHCI.ZC +++ b/src/Kernel/BlkDev/DiskAHCI.ZC @@ -633,7 +633,9 @@ U0 AHCIPortIdentify(CBlkDev *bd) //Wait on previous command to complete. AHCIPortWait(bd->port_num, tS + 2); - Bts(&port->cmd_issue, cmd_slot); //Issue the command. +// Bts(&port->cmd_issue, cmd_slot); //Issue the command. + port->cmd_issue |= 1 << cmd_slot; //issue the command with |= for debug sake + if (sys_boot_src.u16[0] == BOOT_SRC_DVD) { "AHCI: DEBUG: AHCIPortIdentify variable check 2\n";