Source-Changes-HG archive

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

[src/thorpej_scsipi]: src/sys/arch/sun3/dev Test-compile on i386.



details:   https://anonhg.NetBSD.org/src/rev/bc1cac0626bd
branches:  thorpej_scsipi
changeset: 477438:bc1cac0626bd
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Thu Mar 29 10:47:15 2001 +0000

description:
Test-compile on i386.

diffstat:

 sys/arch/sun3/dev/esp.c      |  6 ++++--
 sys/arch/sun3/dev/si_sebuf.c |  4 ++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (38 lines):

diff -r 8738a758004e -r bc1cac0626bd sys/arch/sun3/dev/esp.c
--- a/sys/arch/sun3/dev/esp.c   Thu Mar 29 10:34:33 2001 +0000
+++ b/sys/arch/sun3/dev/esp.c   Thu Mar 29 10:47:15 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: esp.c,v 1.10.8.1 2000/11/20 20:27:51 bouyer Exp $      */
+/*     $NetBSD: esp.c,v 1.10.8.2 2001/03/29 10:47:15 bouyer Exp $      */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -240,7 +240,9 @@
            sc->sc_dev.dv_xname, "intr");
 
        /* Do the common parts of attachment. */
-       ncr53c9x_attach(sc, NULL, NULL);
+       sc->sc_adapter.adapt_minphys = minphys;
+       sc->sc_adapter.adapt_request = ncr53c9x_scsipi_request;
+       ncr53c9x_attach(sc);
 
 #if 0
        /* XXX - This doesn't work yet.  Not sure why... */
diff -r 8738a758004e -r bc1cac0626bd sys/arch/sun3/dev/si_sebuf.c
--- a/sys/arch/sun3/dev/si_sebuf.c      Thu Mar 29 10:34:33 2001 +0000
+++ b/sys/arch/sun3/dev/si_sebuf.c      Thu Mar 29 10:47:15 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: si_sebuf.c,v 1.8.8.2 2001/01/22 18:25:15 bouyer Exp $  */
+/*     $NetBSD: si_sebuf.c,v 1.8.8.3 2001/03/29 10:47:16 bouyer Exp $  */
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -267,7 +267,7 @@
                sc->sc_dma[i].dh_flags = 0;
 
        ncr_sc->sc_channel.chan_id = 7;
-       ncr_sc->sc_adapter.scsipi_minphys = se_minphys;
+       ncr_sc->sc_adapter.adapt_minphys = se_minphys;
 
        /*
         *  Initialize se board itself.



Home | Main Index | Thread Index | Old Index