Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/dev/scsipi Pull up revision 1.10 (requested by thor...



details:   https://anonhg.NetBSD.org/src/rev/74dd020024fb
branches:  netbsd-1-4
changeset: 470432:74dd020024fb
user:      he <he%NetBSD.org@localhost>
date:      Mon Feb 28 19:09:02 2000 +0000

description:
Pull up revision 1.10 (requested by thorpej):
  Make sure to initialize the ``req_sense_length'' field.  Fixes
  a serious problem with the PCI ``ncr'' driver.

diffstat:

 sys/dev/scsipi/scsipi_base.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r bfe2e7ecd5ac -r 74dd020024fb sys/dev/scsipi/scsipi_base.h
--- a/sys/dev/scsipi/scsipi_base.h      Mon Feb 28 19:06:36 2000 +0000
+++ b/sys/dev/scsipi/scsipi_base.h      Mon Feb 28 19:09:02 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: scsipi_base.h,v 1.9 1998/12/08 00:20:16 thorpej Exp $  */
+/*     $NetBSD: scsipi_base.h,v 1.9.4.1 2000/02/28 19:09:02 he Exp $   */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -79,6 +79,7 @@
        xs->retries = retries;
        xs->timeout = timeout;
        xs->bp = bp;
+       xs->req_sense_length = 0;       /* XXX field is not really useful */
 
        return (xs);
 }



Home | Main Index | Thread Index | Old Index