sSYSTEM_INFO

The sSYSTEM_INFO structure contains information about the current RAID system.

 

typedef struct sSYSTEM_INFO

{

        BYTE gsiVendorName[40];

BYTE gsiSerialNumber[16];

BYTE gsiFirmVersion[16];

BYTE gsiBootVersion[16];

        BYTE gsiMbVersion[16];

        BYTE gsiModelName[8];

        BYTE gsiLocalIp[4];

        BYTE gsiCurrentIp[4];.

        DWORD gsiTimeTick;

        DWORD gsiCpuSpeed;

        DWORD gsiICache;

        DWORD gsiDCache;

        DWORD gsiScache;

        DWORD gsiMemorySize;

        DWORD gsiMemorySpeed;

        DWORD gsiEvents;

        BYTE gsiMacAddress[6];

        BYTE gsiDhcp;

        BYTE gsiBeeper;

        BYTE gsiChannelUsage;

        BYTE gsiMaxAtaMode;

        BYTE gsiSdramEcc;

        BYTE gsiRebuildPriority;

        sCOM_ATTR gsiComA;

        sCOM_ATTR gsiComB;

        BYTE gsiIdeChannels;

        BYTE gsiScsiHostChannels;

        BYTE gsiIdeHostChannels;

        BYTE gsiMaxVolumeSet;

        BYTE gsiMaxRaidSet;

        BYTE gsiEtherPort;

        BYTE gsiRaid6Engine;

        BYTE gsiRs232Snmp;

        BYTE gsiMIB_1;

        BYTE gsiMIB_2;

        DWORD gsiEnterpriseNum;

        BYTE gsiHostType;

BYTE gsiTargetType;

BYTE gsiInBandEnable;

BYTE gsiInBandChannel;

BYTE gsiInBandId;

BYTE gsiNumberEnclosures;

        BYTE gsiR5060Supported;

        BYTE gsiNtpSupported;

        BYTE gsiRes1;

        BYTE gsiSasAddress;

BYTE gsiRes[60-4-8];

} sSYSTEM_INFO, *pSYSTEM_INFO;

Members:

gsiVendorName:

        Vendor name, this does not end with a null character ‘\0’

gsiSerialNumber:

        Serial number, this does not end with a null character ‘\0’

gsiFirmVersion:

        Version of firmware, this does not end with a null character ‘\0’

gsiBootVersion:

        Version of Boot ROM, this does not end with a null character ‘\0’

gsiMbVersion:

        Version of MBR(Master Boot Record), this does not end with a null character ‘\0’

gsiModelName:

        Model name, this does not end with a null character ‘\0’

gsiLocalIp:

        Static IP if DHCP disabled

gsiCurrentIp:

        If DHCP enabled the IP is automatically assigned by DHCP server or use the static assigned by the user

gsiTimeTick:

        RAID subsystem current time tick

gsiCpuSpeed:

        CPU speed (in MHz)

gsiICache:

        CPU internal instruction cache size ( in bytes )

gsiDCache:

        CPU internal data cache size ( in bytes )

gsiScache:

        CPU secondary cache size ( in bytes )

gsiMemorySize:

        Memory size ( in MBs )

gsiMemorySpeed:

        Memory speed ( in MHz )

gsiEvents:

        Maximum event number system supported

gsiMacAddress:

        MAC(Media Access Control) address if onboard Ethernet supported (gsiEtherPort == 1)

gsiDhcp:

Value

Meaning

0

DHCP function disabled

1

DHCP function enabled

 

gsiBeeper:

Value

Meaning

0

Beeper function disabled

1

Beeper function enabled

 

gsiChannelUsage:  

Value

Meaning

0

RAID

1

JBOD

 

gsiMaxAtaMode:

        Reserved.

gsiSdramEcc:

Value

Meaning

0

ECC disabled

1

ECC enabled

 

gsiRebuildPriority:

Initialize/rebuild/migration priority

gsiComA:

Pointer to sCOM_ATTR structure that describes the attributes of COM1

gsiComB:

Pointer to sCOM_ATTR structure that describes the attributes of COM2

gsiIdeChannels:

        Number of IDE channels supported

gsiScsiHostChannels:

Number of SCSI host channels supported

gsiIdeHostChannels:

Number of IDE host channels supported

gsiMaxVolumeSet:

Number of VolumeSets supported

gsiMaxRaidSet:

Number of RaidSet supported

gsiEtherPort:

 

Value

Meaning

0

Ethernet port not supported

1

Ethernet port supported

 

gsiRaid6Engine:

 

Value

Meaning

0

Raid6 engine not supported

1

Raid6 engine supported

 

gsiRs232Snmp:

 

Value

Meaning

0

SNMP through Ethernet

1

SNMP through RS232

 

gsiMIB_1:

        Reserved.

gsiMIB_2:

        Reserved.

gsiEnterpriseNum:

        Enterprise number of SNMP

gsiHostType:

       

Value

Meaning

1

PCI interface

2

PCI-Express interface

3

PATA interface

4

SATA-I interface

5

SATA-II interface

6

SCSI-160 interface

7

SCSI-320 interface

8

Fibre-2G interface

9

Fibre-4G interface

10

SAS interface

 

gsiTargetType:

       

Value

Meaning

1

PATA interface

2

SATA interface

3

SAS interface

4

Fibre interface

 

gsiInbandEnable:

 

Value

Meaning

0

Inband function Disabled

1

Inband function enabled

 

gsiInbandChannel:

        The SCSI channel of inband device.

gsiInbandId:

        The SCSI ID of inband device

gsiNumberEnclosures:

        Number of Enclosures supported(SAS only)

gsiR5060Supported:

Value

Meaning

0

Raid Level 30/50/60 not supported

1

Raid Level 30/50/60 supported

 

gsiNtpSupported:

Value

Meaning

0

NTP(Network Time Protocol) not supported

1

NTP(Network Time Protocol) supported

 

gsiRes1:

Reserved

gsiSasAddress:

        SAS address (SAS only)

gsiRes:

Reserved

 

 

Requirements

       

Header

arclib.h

Include

arclib.h

 

See Also

        ArcGetSysInfo