Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/dev/tc pullup 1.53->1.54 (mhitch)



details:   https://anonhg.NetBSD.org/src/rev/68b447fb4c83
branches:  netbsd-1-4
changeset: 468935:68b447fb4c83
user:      perry <perry%NetBSD.org@localhost>
date:      Wed Jun 23 17:16:46 1999 +0000

description:
pullup 1.53->1.54 (mhitch)

diffstat:

 sys/dev/tc/asc.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (31 lines):

diff -r 7541b66ee43b -r 68b447fb4c83 sys/dev/tc/asc.c
--- a/sys/dev/tc/asc.c  Wed Jun 23 17:14:57 1999 +0000
+++ b/sys/dev/tc/asc.c  Wed Jun 23 17:16:46 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: asc.c,v 1.50.4.2 1999/04/12 21:27:09 pk Exp $  */
+/*     $NetBSD: asc.c,v 1.50.4.3 1999/06/23 17:16:46 perry Exp $       */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -753,10 +753,6 @@
                asc_logp = asc_log;
 #endif
 
-       /* preload the FIFO with the message to be sent */
-       regs->asc_fifo = SCSI_DIS_REC_IDENTIFY;
-       tc_mb();
-
        /* initialize the DMA */
        len = (*asc->dma_start)(asc, state, scsicmd->cmd, ASCDMA_WRITE,
           len, 0);
@@ -777,6 +773,10 @@
                return;
        }
 
+       /* preload the FIFO with the message to be sent */
+       regs->asc_fifo = SCSI_DIS_REC_IDENTIFY;
+       tc_mb();
+
        if (state->flags & TRY_SYNC)
                regs->asc_cmd = len = ASC_CMD_SEL_ATN_STOP;
        else



Home | Main Index | Thread Index | Old Index