diff --git a/drivers/nvme/nvme.inc b/drivers/nvme/nvme.inc index 28a2eea..297e8bc 100644 --- a/drivers/nvme/nvme.inc +++ b/drivers/nvme/nvme.inc @@ -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 ?