mirror of
https://git.missingno.dev/kolibrios-nvme-driver/
synced 2024-12-22 13:58:47 +01:00
add new fields and constants
This commit is contained in:
parent
569a11e64f
commit
5f43171b7e
@ -236,6 +236,10 @@ LID_ENDURANCE_GROUP_EVENT_AGGREGATE = 0x0F
|
||||
LID_RESERVATION_NOTIFICATION = 0x80
|
||||
LID_SANITIZE_STATUS = 0x81
|
||||
|
||||
; Controller Type Values
|
||||
CNTRLTYPE_IO_CONTROLLER = 0x1
|
||||
CNTRLTYPE_DISCOVERY_CONTROLLER = 0x2
|
||||
CNTRLTYPE_ADMIN_CONTROLLER = 0x3
|
||||
|
||||
struct NVME_MMIO
|
||||
CAP dq ? ; Controller Capabilities
|
||||
@ -303,9 +307,12 @@ struct pcidev
|
||||
sq_ptr dd ?
|
||||
cq_ptr dd ?
|
||||
queue_entries dd ?
|
||||
version dd ?
|
||||
pc db ?
|
||||
dstrd db ?
|
||||
rb 2 ; align
|
||||
serial dt ?, ?
|
||||
model dt ?, ?, ?, ?
|
||||
ends
|
||||
TOTAL_PCIDEVS = 4
|
||||
TOTAL_PCIDEVS_MALLOC_SZ = TOTAL_PCIDEVS * sizeof.pcidev
|
||||
@ -341,7 +348,7 @@ struct IDENTC
|
||||
ctratt dd ?
|
||||
rrls dw ?
|
||||
rb 9 ; reserved
|
||||
cntrltyp db ?
|
||||
cntrltype db ?
|
||||
fguid dq ?, ?
|
||||
crdt1 dw ?
|
||||
crdt2 dw ?
|
||||
|
Loading…
Reference in New Issue
Block a user