Source-Changes-HG archive

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

[src/netbsd-1-6]: src/sys/dev/sbus Pull up revision 1.22 (requested by martin...



details:   https://anonhg.NetBSD.org/src/rev/de28d88a0974
branches:  netbsd-1-6
changeset: 529462:de28d88a0974
user:      tron <tron%NetBSD.org@localhost>
date:      Fri Nov 22 17:50:36 2002 +0000

description:
Pull up revision 1.22 (requested by martin in ticket #948):
Additional fixes to make 16 targets work on FAS366.

diffstat:

 sys/dev/sbus/esp_sbus.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 6d519e975312 -r de28d88a0974 sys/dev/sbus/esp_sbus.c
--- a/sys/dev/sbus/esp_sbus.c   Fri Nov 22 17:50:23 2002 +0000
+++ b/sys/dev/sbus/esp_sbus.c   Fri Nov 22 17:50:36 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: esp_sbus.c,v 1.20.6.1 2002/11/22 17:37:56 tron Exp $   */
+/*     $NetBSD: esp_sbus.c,v 1.20.6.2 2002/11/22 17:50:36 tron Exp $   */
 
 /*-
  * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: esp_sbus.c,v 1.20.6.1 2002/11/22 17:37:56 tron Exp $");
+__KERNEL_RCSID(0, "$NetBSD: esp_sbus.c,v 1.20.6.2 2002/11/22 17:50:36 tron Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -759,7 +759,7 @@
                }
                db_printf("\n");
                
-               for (t=0; t<NCR_NTARG; t++) {
+               for (t=0; t<sc->sc_ntarg; t++) {
                        LIST_FOREACH(li, &sc->sc_tinfo[t].luns, link) {
                                db_printf("t%d lun %d untagged %p busy %d used %x\n",
                                          t, (int)li->lun, li->untagged, li->busy,



Home | Main Index | Thread Index | Old Index