Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Really, don't set siop_cmd->tag in setup_table()



details:   https://anonhg.NetBSD.org/src/rev/fe894e55c78c
branches:  trunk
changeset: 525973:fe894e55c78c
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Mon Apr 22 20:31:49 2002 +0000

description:
Really, don't set siop_cmd->tag in setup_table()

diffstat:

 sys/dev/ic/siop_common.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 270cee50a82a -r fe894e55c78c sys/dev/ic/siop_common.c
--- a/sys/dev/ic/siop_common.c  Mon Apr 22 19:29:55 2002 +0000
+++ b/sys/dev/ic/siop_common.c  Mon Apr 22 20:31:49 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: siop_common.c,v 1.19 2002/04/22 15:48:56 bouyer Exp $  */
+/*     $NetBSD: siop_common.c,v 1.20 2002/04/22 20:31:49 bouyer Exp $  */
 
 /*
  * Copyright (c) 2000 Manuel Bouyer.
@@ -33,7 +33,7 @@
 /* SYM53c7/8xx PCI-SCSI I/O Processors driver */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: siop_common.c,v 1.19 2002/04/22 15:48:56 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: siop_common.c,v 1.20 2002/04/22 20:31:49 bouyer Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -165,8 +165,7 @@
                siop_cmd->siop_tables->msg_out[2] = siop_cmd->tag;
                siop_cmd->siop_tables->t_msgout.count = htole32(3);
                msgoffset = 3;
-       } else
-               siop_cmd->tag = 0;
+       }
        if (sc->targets[target]->status == TARST_ASYNC) {
                if (sc->targets[target]->flags & TARF_WIDE) {
                        sc->targets[target]->status = TARST_WIDE_NEG;



Home | Main Index | Thread Index | Old Index