summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authortsutsui <tsutsui@NetBSD.org>2008-12-09 14:11:11 +0000
committertsutsui <tsutsui@NetBSD.org>2008-12-09 14:11:11 +0000
commit535212614975725a1cdfb17fbaaaf892ed014abe (patch)
tree3c899cc85b1665ee4ccb3c9a93b2ccb57f0150d9 /sys/dev/ic
parent672e181ebac574dda387be13176cce8bbe1f47a7 (diff)
Sync with src/sys/arch/amiga/dev/siop.c rev 1.59:
> Deal with unrecognized SCSI message byte - restart script to clear the > ACK. No longer hangs the driver when an unhandled message byte is seen.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/osiop.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/osiop.c b/sys/dev/ic/osiop.c
index ff8af168ff3..a4136407cfa 100644
--- a/sys/dev/ic/osiop.c
+++ b/sys/dev/ic/osiop.c
@@ -1,4 +1,4 @@
-/* $NetBSD: osiop.c,v 1.36 2008/05/14 13:29:28 tsutsui Exp $ */
+/* $NetBSD: osiop.c,v 1.37 2008/12/09 14:11:11 tsutsui Exp $ */
/*-
* Copyright (c) 2001 Izumi Tsutsui. All rights reserved.
@@ -95,7 +95,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: osiop.c,v 1.36 2008/05/14 13:29:28 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: osiop.c,v 1.37 2008/12/09 14:11:11 tsutsui Exp $");
/* #define OSIOP_DEBUG */
@@ -1598,7 +1598,7 @@ osiop_checkintr(struct osiop_softc *sc, uint8_t istat, uint8_t dstat,
osiop_read_1(sc, OSIOP_SFBR), ds->msgbuf[1],
osiop_read_1(sc, OSIOP_SBCL));
/* what should be done here? */
- osiop_write_4(sc, OSIOP_DSP, scraddr + Ent_switch);
+ osiop_write_4(sc, OSIOP_DSP, scraddr + Ent_clear_ack);
bus_dmamap_sync(sc->sc_dmat, dsdma,
acb->dsoffset, sizeof(struct osiop_ds),
BUS_DMASYNC_PREREAD | BUS_DMASYNC_PREWRITE);