Change new constant names to ones used by OpenSolaris.

This commit is contained in:
Alexander Motin 2011-05-27 03:44:47 +00:00
parent afceed6aef
commit 34fca5da3c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=222339
2 changed files with 4 additions and 4 deletions

View File

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

View File

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