Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/fc88d2c41880
branches:  thorpej_scsipi
changeset: 477439:fc88d2c41880
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Thu Mar 29 10:49:45 2001 +0000

description:
Test-compile on i386

diffstat:

 sys/arch/x68k/dev/mha.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r bc1cac0626bd -r fc88d2c41880 sys/arch/x68k/dev/mha.c
--- a/sys/arch/x68k/dev/mha.c   Thu Mar 29 10:47:15 2001 +0000
+++ b/sys/arch/x68k/dev/mha.c   Thu Mar 29 10:49:45 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mha.c,v 1.17.2.2 2001/03/27 13:16:26 bouyer Exp $      */
+/*     $NetBSD: mha.c,v 1.17.2.3 2001/03/29 10:49:45 bouyer Exp $      */
 
 /*-
  * Copyright (c) 1996-1999 The NetBSD Foundation, Inc.
@@ -776,6 +776,7 @@
        case ADAPTER_REQ_SET_XFER_MODE:
                /* XXX Not supported. */
                return;
+       }
 }
 
 /*
@@ -2028,7 +2029,7 @@
        struct scsipi_xfer *xs = acb->xs;
        struct scsipi_periph *periph = xs->xs_periph;
        struct mha_softc *sc =
-           (void*)periph->periph_chan->chan_adapter->adapt_dev;
+           (void*)periph->periph_channel->chan_adapter->adapt_dev;
 
        scsipi_printaddr(periph);
 again:



Home | Main Index | Thread Index | Old Index