Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/dev/ic Pull up revision 1.27 (requested by thorpej):



details:   https://anonhg.NetBSD.org/src/rev/933d98b972a2
branches:  netbsd-1-5
changeset: 490690:933d98b972a2
user:      he <he%NetBSD.org@localhost>
date:      Mon Feb 26 17:50:52 2001 +0000

description:
Pull up revision 1.27 (requested by thorpej):
  Fix for ``Advansys DMA errors''.  Fixes PR#12114 and PR#12158.

diffstat:

 sys/dev/ic/adw.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 184f319dfd15 -r 933d98b972a2 sys/dev/ic/adw.c
--- a/sys/dev/ic/adw.c  Mon Feb 26 17:47:46 2001 +0000
+++ b/sys/dev/ic/adw.c  Mon Feb 26 17:50:52 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: adw.c,v 1.23 2000/05/27 18:24:50 dante Exp $        */
+/* $NetBSD: adw.c,v 1.23.2.1 2001/02/26 17:50:52 he Exp $       */
 
 /*
  * Generic driver for the Advanced Systems Inc. SCSI controllers
@@ -872,7 +872,7 @@
 
                        if (--sg_elem_cnt == 0) {
                                /* last entry, get out */
-                               sg_block->sg_cnt = i + i;
+                               sg_block->sg_cnt = i + 1;
                                sg_block->sg_ptr = NULL; /* next link = NULL */
                                return;
                        }



Home | Main Index | Thread Index | Old Index