diff options
| author | Alexander Motin <mav@FreeBSD.org> | 2011-05-27 03:23:39 +0000 |
|---|---|---|
| committer | Alexander Motin <mav@FreeBSD.org> | 2011-05-27 03:23:39 +0000 |
| commit | e13ca5c0a1a4919f804cd83be7a84021e25a2d80 (patch) | |
| tree | bc19e0676c49abeae849e39c82cf33b2821031a4 | |
| parent | 99f6ac66ad540fa76459cfa2384fbb24886b8c5b (diff) | |
Notes
| -rw-r--r-- | share/examples/ses/srcs/eltsub.c | 12 | ||||
| -rw-r--r-- | sys/cam/scsi/scsi_ses.h | 4 |
2 files changed, 16 insertions, 0 deletions
diff --git a/share/examples/ses/srcs/eltsub.c b/share/examples/ses/srcs/eltsub.c index 2acf982d2eb0..d07a40e0b6ed 100644 --- a/share/examples/ses/srcs/eltsub.c +++ b/share/examples/ses/srcs/eltsub.c @@ -85,6 +85,9 @@ geteltnm(int type) case SESTYP_KEYPAD: sprintf(rbuf, "Key pad entry device"); break; + case SESTYP_ENCLOSURE: + sprintf(rbuf, "Enclosure"); + break; case SESTYP_SCSIXVR: sprintf(rbuf, "SCSI port/transceiver"); break; @@ -109,6 +112,15 @@ geteltnm(int type) case SESTYP_SUBENC: sprintf(rbuf, "Simple sub-enclosure"); break; + case SESTYP_ARRAY: + sprintf(rbuf, "Array device"); + break; + case SESTYP_SAS_EXP: + sprintf(rbuf, "SAS Expender"); + break; + case SESTYP_SAS_CONN: + sprintf(rbuf, "SAS Connector"); + break; default: (void) sprintf(rbuf, "<Type 0x%x>", type); break; diff --git a/sys/cam/scsi/scsi_ses.h b/sys/cam/scsi/scsi_ses.h index 9925c1f91eff..7788ec697245 100644 --- a/sys/cam/scsi/scsi_ses.h +++ b/sys/cam/scsi/scsi_ses.h @@ -101,6 +101,7 @@ typedef struct { #define SESTYP_UPS 0x0b #define SESTYP_DISPLAY 0x0c #define SESTYP_KEYPAD 0x0d +#define SESTYP_ENCLOSURE 0x0e #define SESTYP_SCSIXVR 0x0f #define SESTYP_LANGUAGE 0x10 #define SESTYP_COMPORT 0x11 @@ -109,6 +110,9 @@ typedef struct { #define SESTYP_SCSI_TGT 0x14 #define SESTYP_SCSI_INI 0x15 #define SESTYP_SUBENC 0x16 +#define SESTYP_ARRAY 0x17 +#define SESTYP_SAS_EXP 0x18 +#define SESTYP_SAS_CONN 0x19 /* * Overall Enclosure Status |
