summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorad <ad@NetBSD.org>2000-02-29 11:14:46 +0000
committerad <ad@NetBSD.org>2000-02-29 11:14:46 +0000
commitc09a9a072f716bad75e8b66e9bdb3efde5136c41 (patch)
treec8a74ec2ef5b8a02fbe665866567af90030e633a /sys/dev
parent6f5dadba1c0063ebc61a102cd65d0f3ecd4bbd4d (diff)
Oops, pasto.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/dpt.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ic/dpt.c b/sys/dev/ic/dpt.c
index 3748678ed97..2a72be2dc7c 100644
--- a/sys/dev/ic/dpt.c
+++ b/sys/dev/ic/dpt.c
@@ -1,4 +1,4 @@
-/* $NetBSD: dpt.c,v 1.19 2000/02/24 18:47:55 ad Exp $ */
+/* $NetBSD: dpt.c,v 1.20 2000/02/29 11:14:46 ad Exp $ */
/*-
* Copyright (c) 1997, 1998, 1999, 2000 The NetBSD Foundation, Inc.
@@ -55,7 +55,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dpt.c,v 1.19 2000/02/24 18:47:55 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dpt.c,v 1.20 2000/02/29 11:14:46 ad Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -173,9 +173,9 @@ dpt_intr(xxx_sc)
* Ack the interrupt and process the CCB. If this
* is a private CCB it's up to dpt_poll() to notice.
*/
- junk = dpt_inb(sc, HA_STATUS);
sp->sp_ccbid = -1;
ccb->ccb_flg |= CCB_INTR;
+ junk = dpt_inb(sc, HA_STATUS);
if ((ccb->ccb_flg & CCB_PRIVATE) == 0)
dpt_done_ccb(sc, ccb);
} else {
@@ -183,8 +183,8 @@ dpt_intr(xxx_sc)
sc->sc_dv.dv_xname, sp->sp_ccbid);
/* Ack the interrupt */
- junk = dpt_inb(sc, HA_STATUS);
sp->sp_ccbid = -1;
+ junk = dpt_inb(sc, HA_STATUS);
}
}