mirror of
https://git.missingno.dev/kolibrios-nvme-driver/
synced 2024-12-22 22:08:47 +01:00
refactor: remove controller version compatability check
This commit is contained in:
parent
652c024779
commit
e400cfa66c
@ -199,6 +199,7 @@ proc device_is_compat stdcall, pci:dword
|
||||
jz .failure
|
||||
mov dword [pci + pcidev.mmio_ptr], eax
|
||||
mov ebx, dword [eax + NVME_REG_MAP.VS]
|
||||
|
||||
if __DEBUG__
|
||||
push ecx
|
||||
mov ecx, ebx
|
||||
@ -206,9 +207,13 @@ proc device_is_compat stdcall, pci:dword
|
||||
PDEBUGF DBG_INFO, "PCI(%u.%u.%u): NVMe controller version: %u.%u.%u\n", byte [pci + pcidev.bus], byte [pci + pcidev.devfn], ecx, bh, bl
|
||||
pop ecx
|
||||
end if
|
||||
cmp ebx, NVM_SUPPORTED_CONTROLLER_VERSION
|
||||
jne .unsupported
|
||||
PDEBUGF DBG_INFO, "PCI(%u.%u.%u): NVMe controller version is supported\n", byte [pci + pcidev.bus], byte [pci + pcidev.devfn]
|
||||
|
||||
if 0
|
||||
cmp ebx, NVM_SUPPORTED_CONTROLLER_VERSION
|
||||
jne .unsupported
|
||||
PDEBUGF DBG_INFO, "PCI(%u.%u.%u): NVMe controller version is supported\n", byte [pci + pcidev.bus], byte [pci + pcidev.devfn]
|
||||
end if
|
||||
|
||||
xor eax, eax
|
||||
inc eax
|
||||
pop ebx
|
||||
|
Loading…
Reference in New Issue
Block a user