2
0
mirror of https://git.missingno.dev/kolibrios-nvme-driver/ synced 2024-12-22 22:08:47 +01: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] mov ax, word [edi + NVME_MMIO.CAP]
cmp ax, SQ_ENTRIES cmp ax, SQ_ENTRIES
jb .exit_fail 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) ; 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. ; being set to 1.. so I am not sure if bit 7 should be checked at all.. investigate later.