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

refactor: dont print CSTS on shutdown

This commit is contained in:
Abdur-Rahman Mansoor 2024-08-18 12:19:59 -04:00
parent 2575ccd93f
commit 18a744742c

View File

@ -1233,7 +1233,7 @@ proc irq_handler
ja .not_our_irq
mov edi, dword [esi + pcidev.io_addr]
mov dword [edi + NVME_MMIO.INTMS], 0x3
stdcall consume_cq_entries, esi, 0
stdcall consume_cq_entries, esi, ADMIN_QUEUE
stdcall consume_cq_entries, esi, 1
; Interrupt handled by driver, return 1
@ -1306,7 +1306,6 @@ proc nvme_cleanup
; Wait for shutdown processing to complete
@@:
DEBUGF DBG_INFO, "nvme: CSTS = 0x%x\n", [edi + NVME_MMIO.CSTS]
test byte [edi + NVME_MMIO.CSTS], CSTS_SHST_SHUTDOWN_COMPLETE
jnz @b