57#include "../ftl_config.h"
71 memset(identifyCNTL->
SN, 0x20, 20);
74 memset(identifyCNTL->
MN, 0x20, 40);
77 memset(identifyCNTL->
FR, 0x20, 8);
80 identifyCNTL->
RAB = 0x0;
81 identifyCNTL->
IEEE[0] = 0xE4;
82 identifyCNTL->
IEEE[1] = 0xD2;
83 identifyCNTL->
IEEE[2] = 0x5C;
84 identifyCNTL->
CMIC = 0x0;
85 identifyCNTL->
MDTS = 0x8;
86 identifyCNTL->
CNTLID = 0x9;
92 identifyCNTL->
ACL = 0x3;
93 identifyCNTL->
AERL = 0x3;
100 identifyCNTL->
ELPE = 0x8;
101 identifyCNTL->
NPSS = 0x0;
102 identifyCNTL->
AVSCC = 0x0;
103 identifyCNTL->
APSTA = 0x0;
111 identifyCNTL->
NN = 0x1;
125 identifyCNTL->
AWUN = 0x0;
126 identifyCNTL->
AWUPF = 0x0;
127 identifyCNTL->
NVSCC = 0x0;
128 identifyCNTL->
ACWU = 0x0;
133 powerStateDesc = &identifyCNTL->
PSDx[0];
135 powerStateDesc->
MP = 0x09C4;
136 powerStateDesc->
MPS = 0x0;
137 powerStateDesc->
NOPS = 0x0;
138 powerStateDesc->
ENLAT = 0x0;
139 powerStateDesc->
EXLAT = 0x0;
140 powerStateDesc->
RRT = 0x0;
141 powerStateDesc->
RRL = 0x0;
142 powerStateDesc->
RWT = 0x0;
143 powerStateDesc->
RWL = 0x0;
163 identifyNS->
NLBAF = 0x0;
189 formatData = &identifyNS->
LBAFx[0];
191 formatData->
MS = 0x0;
192 formatData->
LBADS = 0xC;
193 formatData->
RP = 0x2;
unsigned int storageCapacity_L
#define STORAGE_CAPACITY_H
void identify_controller(unsigned int pBuffer)
void identify_namespace(unsigned int pBuffer)
#define FIRMWARE_REVISION
#define PCI_SUBSYSTEM_VENDOR_ID
unsigned short supportsFirmwareActivateFirmwareDownload
struct _ADMIN_IDENTIFY_CONTROLLER::@129 LPA
struct _ADMIN_IDENTIFY_CONTROLLER::@128 FRMW
struct _ADMIN_IDENTIFY_CONTROLLER::@131 CQES
ADMIN_IDENTIFY_POWER_STATE_DESCRIPTOR PSDx[32]
unsigned char supportsSMARTHealthInformationLogPage
unsigned int supportsSGLBitBucketDescriptor
unsigned char supportsCryptographicErase
struct _ADMIN_IDENTIFY_CONTROLLER::@130 SQES
struct _ADMIN_IDENTIFY_CONTROLLER::@133 FUSES
unsigned short supportsDataSetManagement
struct _ADMIN_IDENTIFY_CONTROLLER::@127 OACS
unsigned char supportedNumberOfFirmwareSlots
unsigned char maximumSubmissionQueueEntrySize
unsigned short supportsFormatNVM
unsigned short supportsCompare
struct _ADMIN_IDENTIFY_CONTROLLER::@135 VWC
unsigned char maximumCompletionQueueEntrySize
unsigned char firstFirmwareSlotReadOnly
unsigned short supportsWriteUncorrectable
unsigned char secureEraseAppliesToAllNamespaces
struct _ADMIN_IDENTIFY_CONTROLLER::@136 SGLS
unsigned short supportsSecuritySendSecurityReceive
struct _ADMIN_IDENTIFY_CONTROLLER::@132 ONCS
unsigned short supportsCompareWrite
struct _ADMIN_IDENTIFY_CONTROLLER::@134 FNA
unsigned char requiredCompletionQueueEntrySize
unsigned char formatAppliesToAllNamespaces
unsigned char requiredSubmissionQueueEntrySize
struct _ADMIN_IDENTIFY_NAMESPACE::@141 DPS
unsigned char supportsThinProvisioning
unsigned char supportsWriteExclusiveRegistrants
unsigned char protectionEnabled
unsigned char supportsPersistThroughPowerLoss
unsigned char supportedCombination
unsigned char supportsMetadataAtEndOfLBA
struct _ADMIN_IDENTIFY_NAMESPACE::@137 NSFEAT
unsigned char supportsWriteExclusiveReservation
unsigned char supportsExclusiveAccessAllRegistrants
unsigned char supportsMultipathIOSharing
unsigned char supportsExclusiveAccessRegistrants
struct _ADMIN_IDENTIFY_NAMESPACE::@143 RESCAP
struct _ADMIN_IDENTIFY_NAMESPACE::@142 NMIC
unsigned char supportsProtectionType1
unsigned char supportsProtectionLast8
struct _ADMIN_IDENTIFY_NAMESPACE::@139 MC
unsigned char supportsMetadataAsSeperate
unsigned char supportsWriteExclusiveAllRegistrants
struct _ADMIN_IDENTIFY_NAMESPACE::@138 FLBAS
unsigned char protectionInFirst8
unsigned char supportsProtectionFirst8
ADMIN_IDENTIFY_FORMAT_DATA LBAFx[16]
unsigned char supportsProtectionType2
unsigned char supportsMetadataAsPartOfLBA
struct _ADMIN_IDENTIFY_NAMESPACE::@140 DPC
unsigned char supportsProtectionType3