Change new constant names to ones used by OpenSolaris.

This commit is contained in:
mav 2011-05-27 03:44:47 +00:00
parent 7af31eed34
commit 73bcdbfb76
2 changed files with 4 additions and 4 deletions

View File

@ -115,10 +115,10 @@ geteltnm(int type)
case SESTYP_ARRAY: case SESTYP_ARRAY:
sprintf(rbuf, "Array device"); sprintf(rbuf, "Array device");
break; break;
case SESTYP_SAS_EXP: case SESTYP_SASEXPANDER:
sprintf(rbuf, "SAS Expander"); sprintf(rbuf, "SAS Expander");
break; break;
case SESTYP_SAS_CONN: case SESTYP_SASCONNECTOR:
sprintf(rbuf, "SAS Connector"); sprintf(rbuf, "SAS Connector");
break; break;
default: default:

View File

@ -111,8 +111,8 @@ typedef struct {
#define SESTYP_SCSI_INI 0x15 #define SESTYP_SCSI_INI 0x15
#define SESTYP_SUBENC 0x16 #define SESTYP_SUBENC 0x16
#define SESTYP_ARRAY 0x17 #define SESTYP_ARRAY 0x17
#define SESTYP_SAS_EXP 0x18 #define SESTYP_SASEXPANDER 0x18
#define SESTYP_SAS_CONN 0x19 #define SESTYP_SASCONNECTOR 0x19
/* /*
* Overall Enclosure Status * Overall Enclosure Status