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

fix IDENTC struct

This commit is contained in:
Abdur-Rahman Mansoor 2024-05-28 20:24:57 -04:00
parent 139e201f3e
commit b15fb4d9a2

View File

@ -239,132 +239,121 @@ ends
TOTAL_PCIDEVS = 4
TOTAL_PCIDEVS_MALLOC_SZ = TOTAL_PCIDEVS * sizeof.pcidev
struct NVME_IDENT_CONTROLLER
struct IDENTC
pci_vid rw 1
pci_ssvid rw 1
serial rb 20
model rb 40
firm_rev rq 1
rab rb 1
ieee rb 3
cmic rb 1
mdts rb 1
ctrlid rw 1
ver rb 3
rtd3r rd 1
rtd3e rd 1
ctrlatt rd 1
rrls rw 1
pci_vid dw ? ; checked
pci_ssvid dw ? ; checked
serial db 20 ; checked
model db 40 ; checked
firm_rev dq ? ; checked
rab db ? ; checked
ieee db 3 ; checked
cmic db ? ; checked
mdts db ? ; checked
cntlid dw ? ; checked
ver dd ? ; checked
rtd3r dd ? ; checked
rtd3e dd ? ; checked
oaes dd ? ; checked
ctratt dd ? ; checked
rrls dw ? ; checked
rb 9 ; reserved
ctrltyp rb 1
fguid rq 2
crdt1 rw 1
ctdt2 rw 1
crdt3 rw 1
cntrltyp db ? ; checked
fguid dq 2 ; checked
crdt1 dw ? ; checked
crdt2 dw ? ; checked
crdt3 dw ? ; checked
rb 106 ; reserved
rb 13 ; reserved (NVMMI)
nvmsr rb 1
vmci rb 1
mec rb 1
oacs rw 1
acl rb 1
aerl rb 1
frmw rb 1
lpa rb 1
elpe rb 1
npss rb 1
avscc rb 1
apsta rb 1
wctemp rw 1
cctemp rw 1
mtfa rw 1
hmpre rd 1
hmmin rd 1
tnvmcap rq 2
unvmcap rq 2
rpmbs rd 1
edstt rw 1
dsto rb 1
fwug rb 1
kas rw 1
hctma rw 1
mntmt rw 1
mxtmt rw 1
sanicap rd 1
hmminds rd 1
hmmaxd rw 1
nsetidmax rw 1
endgidmax rw 1
anatt rb 1
anacap rb 1
anagrpmax rd 1
nanagrpid rd 1
pels rd 1
domid rw 1
rb 10 ; reserved
megcap rq 2
rb 128 ; reserved
sqes rb 1
cqes rb 1
maxcmd rw 1
nn rd 1
oncs rw 1
fuses rw 1
fna rb 1
vwc rb 1
awun rw 1
awupf rw 1
icsvscc rb 1
nwpc rb 1
acwu rw 1
ocfs rw 1
sgls rd 1
mnan rd 1
maxdna rq 2
maxcna rd 1
rb 204 ; reserved
subnqn rb 256
rb 768 ; reserved
ioccsz rd 1
iorcsz rd 1
icdoff rw 1
fcatt rb 1
msdbd rb 1
ofcs rw 1
rb 242 ; reserved
psd0 rb 32
psd1 rb 32
psd2 rb 32
psd3 rb 32
psd4 rb 32
psd5 rb 32
psd6 rb 32
psd7 rb 32
psd8 rb 32
psd9 rb 32
psd10 rb 32
psd11 rb 32
psd12 rb 32
psd13 rb 32
psd14 rb 32
psd15 rb 32
psd16 rb 32
psd17 rb 32
psd18 rb 32
psd19 rb 32
psd20 rb 32
psd21 rb 32
psd22 rb 32
psd23 rb 32
psd24 rb 32
psd25 rb 32
psd26 rb 32
psd27 rb 32
psd28 rb 32
psd29 rb 32
psd30 rb 32
psd31 rb 32
venspec rb 1024
rb 16 ; reserved (NVMMI)
oacs dw ? ; checked
acl db ? ; checked
aerl db ? ; checked
frmw db ? ; checked
lpa db ? ; checked
elpe db ? ; checked
npss db ? ; checked
avscc db ? ; checked
apsta db ? ; checked
wctemp dw ? ; checked
cctemp dw ? ; checked
mtfa dw ? ; checked
hmpre dd ? ; checked
hmmin dd ? ; checked
tnvmcap dq ? ; checked
unvmcap dq ? ; checked
rpmbs dd ? ; checked
edstt dw ? ; checked
dsto db ? ; checked
fwug db ? ; checked
kas dw ? ; checked
hctma dw ? ; checked
mntmt dw ? ; checked
mxtmt dw ? ; checked
sanicap dd ? ; checked
hmminds dd ? ; checked
hmmaxd dw ? ; checked
nsetidmax dw ? ; checked
endgidmax dw ? ; checked
anatt db ? ; checked
anacap db ? ; checked
anagrpmax dd ? ; checked
nanagrpid dd ? ; checked
pels dd ? ; checked
rb 156 ; checked
sqes db ? ; checked
cqes db ? ; checked
maxcmd dw ? ; checked
nn dd ? ; checked
oncs dw ? ; checked
fuses dw ? ; checked
fna db ? ; checked
vwc db ? ; checked
awun dw ? ; checked
awupf dw ? ; checked
nvscc db ? ; checked
nwpc db ? ; checked
acwu dw ? ; checked
rb 2 ; checked
sgls dd ? ; checked
mnan dd ? ; checked
rb 224 ; checked
subnqn dw 128 ; checked
rb 768 ; checked
rb 256 ; checked
psd0 db 32 ; checked
psd1 db 32
psd2 db 32
psd3 db 32
psd4 db 32
psd5 db 32
psd6 db 32
psd7 db 32
psd8 db 32
psd9 db 32
psd10 db 32
psd11 db 32
psd12 db 32
psd13 db 32
psd14 db 32
psd15 db 32
psd16 db 32
psd17 db 32
psd18 db 32
psd19 db 32
psd20 db 32
psd21 db 32
psd22 db 32
psd23 db 32
psd24 db 32
psd25 db 32
psd26 db 32
psd27 db 32
psd28 db 32
psd29 db 32
psd30 db 32
psd31 db 32
rb 1024
ends