State
if (net->Mode->State == EfiSimpleNetworkStopped) {
if (net->Mode->State != EfiSimpleNetworkInitialized) {
printf("State = %x\n", mode->State);
U8 State; /* 01h */
U8 State; /* 01h */
U8 State; /* 00h */
s = disk_pg->PhysDiskStatus.State;
if (vol_pg->VolumeStatus.State !=
switch (vol->config_page->VolumeStatus.State) {
switch (disk->config_page.PhysDiskStatus.State) {
U8 State; /* 0x00 */
mpt_volstate(vol->VolumeStatus.State), vol->VolumeStatus.Flags);
vol->VolumeStatus.State = MPI_RAIDVOL0_STATUS_STATE_OPTIMAL;
drive_set_state(char *drive, U8 Action, U8 State, const char *name)
if (info->PhysDiskStatus.State == State) {
switch (info->PhysDiskStatus.State) {
sprintf(buf, "PSTATE 0x%02x", info->PhysDiskStatus.State);
state = mpt_volstate(info->VolumeStatus.State);
volumes[i]->VolumeStatus.State));
printf(" state: %s\n", mpt_volstate(VolumeStatus.State));
mpt_volstate(U8 State)
switch (State) {
sprintf(buf, "VSTATE 0x%02x", State);
const char *mpt_volstate(U8 State);