Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys Remove misleading comment.



details:   https://anonhg.NetBSD.org/src/rev/f6982baf62ee
branches:  trunk
changeset: 1010213:f6982baf62ee
user:      rkujawa <rkujawa%NetBSD.org@localhost>
date:      Mon May 18 09:52:30 2020 +0000

description:
Remove misleading comment.

I've successfully transferred 16-byte command. I've checked scsipi source and
see no reason for this limitation.

diffstat:

 sys/sys/scsiio.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 5edffb2a3fd1 -r f6982baf62ee sys/sys/scsiio.h
--- a/sys/sys/scsiio.h  Mon May 18 08:40:44 2020 +0000
+++ b/sys/sys/scsiio.h  Mon May 18 09:52:30 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: scsiio.h,v 1.12 2007/03/04 06:03:41 christos Exp $        */
+/*     $NetBSD: scsiio.h,v 1.13 2020/05/18 09:52:30 rkujawa Exp $        */
 
 #ifndef _SYS_SCSIIO_H_
 #define _SYS_SCSIIO_H_
@@ -12,7 +12,7 @@
 typedef struct scsireq {
        u_long  flags;          /* info about the request status and type */
        u_long  timeout;
-       u_char  cmd[16];        /* 12 is actually the max */
+       u_char  cmd[16];
        u_char  cmdlen;
        void *  databuf;        /* address in user space of buffer */
        u_long  datalen;        /* size of user buffer (request) */



Home | Main Index | Thread Index | Old Index