summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2011-05-27 03:23:39 +0000
committermav <mav@FreeBSD.org>2011-05-27 03:23:39 +0000
commit44b4091060dd118490be14470c1b0decba624203 (patch)
treebc19e0676c49abeae849e39c82cf33b2821031a4 /share
parent6d52186e53b4cb45089156a1e4d61f5805032da7 (diff)
downloadFreeBSD-src-44b4091060dd118490be14470c1b0decba624203.zip
FreeBSD-src-44b4091060dd118490be14470c1b0decba624203.tar.gz
Add names for few more SES element types according SES-2 specification.
Diffstat (limited to 'share')
-rw-r--r--share/examples/ses/srcs/eltsub.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/share/examples/ses/srcs/eltsub.c b/share/examples/ses/srcs/eltsub.c
index 2acf982..d07a40e 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;
OpenPOWER on IntegriCloud