From 01fc77ba69d333cb0d34e59f03a5359e223098b9 Mon Sep 17 00:00:00 2001 From: Abdur-Rahman Mansoor Date: Thu, 25 Jul 2024 14:14:29 -0400 Subject: [PATCH] refactor: print controller version during initialization --- drivers/nvme/nvme.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nvme/nvme.asm b/drivers/nvme/nvme.asm index 6a9b29b..52c4234 100644 --- a/drivers/nvme/nvme.asm +++ b/drivers/nvme/nvme.asm @@ -844,7 +844,7 @@ proc device_is_compat stdcall, pci:dword invoke MapIoMem, edx, ecx, PG_SW+PG_NOCACHE mov dword [esi + pcidev.io_addr], eax mov eax, dword [eax + NVME_MMIO.VS] - ;DEBUGF DBG_INFO, "nvme%u: Controller version: 0x%x\n", [esi + pcidev.num], eax + DEBUGF DBG_INFO, "nvme%u: Controller version: 0x%x\n", [esi + pcidev.num], eax mov dword [esi + pcidev.version], eax pop ecx edx esi xor eax, eax