2
0
mirror of https://git.missingno.dev/kolibrios-nvme-driver/ synced 2024-09-20 02:21:03 +02:00

add debug message for showcasing CAP.MQES

This commit is contained in:
Abdur-Rahman Mansoor 2024-07-31 15:36:37 -04:00
parent 9998faa834
commit 1463187a62

View File

@ -661,6 +661,7 @@ proc nvme_init stdcall, pci:dword
mov ax, word [edi + NVME_MMIO.CAP]
cmp ax, SQ_ENTRIES
jb .exit_fail
DEBUGF DBG_INFO, "nvme%u: OK... maximum queue entries is %u\n", [esi + pcidev.num], ax
; For some reason, bit 7 (No I/O command set supported) is also set to 1 despite bit 0 (NVM command set)
; being set to 1.. so I am not sure if bit 7 should be checked at all.. investigate later.