Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/arch/amiga/dev pullup 1.4->1.5 (is): disable adapte...



details:   https://anonhg.NetBSD.org/src/rev/cff6a9c82bfc
branches:  netbsd-1-4
changeset: 468899:cff6a9c82bfc
user:      perry <perry%NetBSD.org@localhost>
date:      Tue Jun 22 17:20:44 1999 +0000

description:
pullup 1.4->1.5 (is): disable adapter if completely unterminated

diffstat:

 sys/arch/amiga/dev/cbiiisc.c |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 05c043f74850 -r cff6a9c82bfc sys/arch/amiga/dev/cbiiisc.c
--- a/sys/arch/amiga/dev/cbiiisc.c      Tue Jun 22 17:18:42 1999 +0000
+++ b/sys/arch/amiga/dev/cbiiisc.c      Tue Jun 22 17:20:44 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cbiiisc.c,v 1.3 1999/03/26 22:50:22 mhitch Exp $       */
+/*     $NetBSD: cbiiisc.c,v 1.3.2.1 1999/06/22 17:20:44 perry Exp $    */
 
 /*
  * Copyright (c) 1994,1998 Michael L. Hitch
@@ -146,6 +146,9 @@
 
        siopnginitialize(sc);
 
+       if (sc->sc_link.scsipi_scsi.max_target < 0)
+               return;
+
        sc->sc_isr.isr_intr = cbiiisc_dmaintr;
        sc->sc_isr.isr_arg = sc;
        sc->sc_isr.isr_ipl = 2;         /* ?? */



Home | Main Index | Thread Index | Old Index