2
0
mirror of https://git.missingno.dev/kolibrios-nvme-driver/ synced 2024-12-22 22:08:47 +01:00

remove some debug messages

This commit is contained in:
Abdur-Rahman Mansoor 2024-06-19 13:50:54 -04:00
parent 5974fc7fb0
commit b0f9e47c9b

View File

@ -88,7 +88,6 @@ endp
proc set_cdw0 stdcall, pci:dword, y:dword, opcode:byte proc set_cdw0 stdcall, pci:dword, y:dword, opcode:byte
stdcall get_new_cid, [pci], [y] stdcall get_new_cid, [pci], [y]
DEBUGF DBG_INFO, "(NVMe) get_new_cid: %u\n", eax
shl eax, 16 shl eax, 16
or al, [opcode] or al, [opcode]
ret ret
@ -578,7 +577,6 @@ proc nvme_init stdcall, pci:dword
mov eax, dword [dptr] mov eax, dword [dptr]
invoke GetPhysAddr invoke GetPhysAddr
stdcall create_io_completion_queue, [pci], eax, 1, IEN_ON stdcall create_io_completion_queue, [pci], eax, 1, IEN_ON
mov eax, dword [dptr] mov eax, dword [dptr]
invoke GetPhysAddr invoke GetPhysAddr
stdcall create_io_submission_queue, [pci], eax, 1, 1 stdcall create_io_submission_queue, [pci], eax, 1, 1
@ -800,7 +798,6 @@ proc irq_handler
imul edx, sizeof.CQ_ENTRY imul edx, sizeof.CQ_ENTRY
mov esi, dword [p_nvme_devices] mov esi, dword [p_nvme_devices]
mov esi, dword [esi + pcidev.cq_ptr] mov esi, dword [esi + pcidev.cq_ptr]
DEBUGF DBG_INFO, "Status 0: %x, Status 1: %x, Status 2: %x\n", [esi + CQ_ENTRY.status], [esi + sizeof.CQ_ENTRY + CQ_ENTRY.status], [esi + sizeof.CQ_ENTRY * 2 + CQ_ENTRY.status]
mov ax, word [esi + edx + CQ_ENTRY.status] mov ax, word [esi + edx + CQ_ENTRY.status]
and ax, not CQ_PHASE_TAG ; ignore phase tag bit and ax, not CQ_PHASE_TAG ; ignore phase tag bit
DEBUGF DBG_INFO, "(NVMe) Status: 0x%x\n", ax DEBUGF DBG_INFO, "(NVMe) Status: 0x%x\n", ax