Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mac68k/obio Fix pasto in previous.



details:   https://anonhg.NetBSD.org/src/rev/29d51c1195a1
branches:  trunk
changeset: 483781:29d51c1195a1
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Sat Mar 18 16:14:57 2000 +0000

description:
Fix pasto in previous.

diffstat:

 sys/arch/mac68k/obio/sbc_obio.c |  11 +++--------
 1 files changed, 3 insertions(+), 8 deletions(-)

diffs (32 lines):

diff -r 04804665c04a -r 29d51c1195a1 sys/arch/mac68k/obio/sbc_obio.c
--- a/sys/arch/mac68k/obio/sbc_obio.c   Sat Mar 18 16:13:22 2000 +0000
+++ b/sys/arch/mac68k/obio/sbc_obio.c   Sat Mar 18 16:14:57 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sbc_obio.c,v 1.11 2000/03/18 16:13:24 mycroft Exp $    */
+/*     $NetBSD: sbc_obio.c,v 1.12 2000/03/18 16:14:57 mycroft Exp $    */
 
 /*
  * Copyright (C) 1996,1997 Scott Reynolds.  All rights reserved.
@@ -160,12 +160,6 @@
        }
 
        /*
-        * Fill in the prototype scsi_link.
-        */
-       ncr_sc->sc_link.scsipi_scsi.adapter_target = 7;
-       ncr_sc->sc_adapter.scsipi_minphys = minphys;
-
-       /*
         * Initialize fields used by the MI code
         */
        ncr_sc->sci_r0 = &sc->sc_regs->sci_pr0.sci_reg;
@@ -233,7 +227,8 @@
        ncr_sc->sc_link.flags |= sbc_link_flags;
 #endif
 
-       sc->sc_ncr5380.sc_link.scsipi_scsi.adapter_target = 7;
+       ncr_sc->sc_link.scsipi_scsi.adapter_target = 7;
+       ncr_sc->sc_adapter.scsipi_minphys = minphys;
 
        /*
         *  Initialize the SCSI controller itself.



Home | Main Index | Thread Index | Old Index