Date: Fri, 27 May 2011 03:44:47 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r222339 - in head: share/examples/ses/srcs sys/cam/scsi Message-ID: <201105270344.p4R3ilJ2093545@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105270344.p4R3ilJ2093545>