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

add new fields and constants

This commit is contained in:
Abdur-Rahman Mansoor 2024-06-12 18:02:46 -04:00
parent 569a11e64f
commit 5f43171b7e

View File

@ -236,6 +236,10 @@ LID_ENDURANCE_GROUP_EVENT_AGGREGATE = 0x0F
LID_RESERVATION_NOTIFICATION = 0x80 LID_RESERVATION_NOTIFICATION = 0x80
LID_SANITIZE_STATUS = 0x81 LID_SANITIZE_STATUS = 0x81
; Controller Type Values
CNTRLTYPE_IO_CONTROLLER = 0x1
CNTRLTYPE_DISCOVERY_CONTROLLER = 0x2
CNTRLTYPE_ADMIN_CONTROLLER = 0x3
struct NVME_MMIO struct NVME_MMIO
CAP dq ? ; Controller Capabilities CAP dq ? ; Controller Capabilities
@ -303,9 +307,12 @@ struct pcidev
sq_ptr dd ? sq_ptr dd ?
cq_ptr dd ? cq_ptr dd ?
queue_entries dd ? queue_entries dd ?
version dd ?
pc db ? pc db ?
dstrd db ? dstrd db ?
rb 2 ; align rb 2 ; align
serial dt ?, ?
model dt ?, ?, ?, ?
ends ends
TOTAL_PCIDEVS = 4 TOTAL_PCIDEVS = 4
TOTAL_PCIDEVS_MALLOC_SZ = TOTAL_PCIDEVS * sizeof.pcidev TOTAL_PCIDEVS_MALLOC_SZ = TOTAL_PCIDEVS * sizeof.pcidev
@ -341,7 +348,7 @@ struct IDENTC
ctratt dd ? ctratt dd ?
rrls dw ? rrls dw ?
rb 9 ; reserved rb 9 ; reserved
cntrltyp db ? cntrltype db ?
fguid dq ?, ? fguid dq ?, ?
crdt1 dw ? crdt1 dw ?
crdt2 dw ? crdt2 dw ?