svn commit: r222339 - in head: share/examples/ses/srcs sys/cam/scsi
Alexander Motin
mav at FreeBSD.org
Fri May 27 03:44:47 UTC 2011
Author: mav
Date: Fri May 27 03:44:47 2011
New Revision: 222339
URL: http://svn.freebsd.org/changeset/base/222339
Log:
Change new constant names to ones used by OpenSolaris.
Modified:
head/share/examples/ses/srcs/eltsub.c
head/sys/cam/scsi/scsi_ses.h
Modified: head/share/examples/ses/srcs/eltsub.c
==============================================================================
--- head/share/examples/ses/srcs/eltsub.c Fri May 27 03:30:23 2011 (r222338)
+++ head/share/examples/ses/srcs/eltsub.c Fri May 27 03:44:47 2011 (r222339)
@@ -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:
Modified: head/sys/cam/scsi/scsi_ses.h
==============================================================================
--- head/sys/cam/scsi/scsi_ses.h Fri May 27 03:30:23 2011 (r222338)
+++ head/sys/cam/scsi/scsi_ses.h Fri May 27 03:44:47 2011 (r222339)
@@ -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
More information about the svn-src-all
mailing list