From: Sascha Wildner Date: Thu, 25 Apr 2019 08:37:50 +0000 (+0200) Subject: cam: Comment out definition of SESIOC_GETTEXT ioctl (unimplemented). X-Git-Tag: v5.7.0~189 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/6491ace53ea01b7a48dd053ea96aaf57c79f311d cam: Comment out definition of SESIOC_GETTEXT ioctl (unimplemented). --- diff --git a/share/man/man4/ses.4 b/share/man/man4/ses.4 index 46b985dde1..a5a57f1ea5 100644 --- a/share/man/man4/ses.4 +++ b/share/man/man4/ses.4 @@ -24,9 +24,8 @@ .\" SUCH DAMAGE. .\" .\" $FreeBSD: src/share/man/man4/ses.4,v 1.2.2.6 2001/08/17 13:08:39 ru Exp $ -.\" $DragonFly: src/share/man/man4/ses.4,v 1.4 2008/05/02 02:05:05 swildner Exp $ .\" -.Dd January 29, 2000 +.Dd April 25, 2019 .Dt SES 4 .Os .Sh NAME @@ -98,11 +97,11 @@ Set the overall enclosure status. Get the status of a particular object. .It Dv SESIOC_SETOBJSTAT Set the status of a particular object. -.It Dv SESIOC_GETTEXT -Get the associated help text for an object (not yet implemented). -.Nm -devices often have descriptive text for an object which can tell -you things like location (e.g, "left power supply"). +.\".It Dv SESIOC_GETTEXT +.\"Get the associated help text for an object (not yet implemented). +.\".Nm +.\"devices often have descriptive text for an object which can tell +.\"you things like location (e.g, "left power supply"). .It Dv SESIOC_INIT Initialize the enclosure. .El diff --git a/sys/bus/cam/scsi/scsi_ses.h b/sys/bus/cam/scsi/scsi_ses.h index c4768ee99c..a19a773fec 100644 --- a/sys/bus/cam/scsi/scsi_ses.h +++ b/sys/bus/cam/scsi/scsi_ses.h @@ -1,5 +1,4 @@ /* $FreeBSD: src/sys/cam/scsi/scsi_ses.h,v 1.2 2000/01/15 22:40:04 mjacob Exp $ */ -/* $DragonFly: src/sys/bus/cam/scsi/scsi_ses.h,v 1.3 2007/12/02 01:54:27 pavalos Exp $ */ /* * Copyright (c) 2000 by Matthew Jacob * All rights reserved. @@ -27,7 +26,6 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * */ #include @@ -39,7 +37,9 @@ #define SESIOC_SETENCSTAT _IO(SESIOC, 4) #define SESIOC_GETOBJSTAT _IO(SESIOC, 5) #define SESIOC_SETOBJSTAT _IO(SESIOC, 6) +#if 0 /* unimplemented */ #define SESIOC_GETTEXT _IO(SESIOC, 7) +#endif #define SESIOC_INIT _IO(SESIOC, 8) /*