summaryrefslogtreecommitdiff
path: root/sys/arch/kbus/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/kbus/dev')
-rw-r--r--sys/arch/kbus/dev/sbic.c5
-rw-r--r--sys/arch/kbus/dev/xd.c2
2 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/kbus/dev/sbic.c b/sys/arch/kbus/dev/sbic.c
index 124afc70b4b..35caf51c4e6 100644
--- a/sys/arch/kbus/dev/sbic.c
+++ b/sys/arch/kbus/dev/sbic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sbic.c,v 1.2 1999/01/11 05:11:27 millert Exp $ */
+/* $OpenBSD: sbic.c,v 1.3 2000/01/10 03:55:36 millert Exp $ */
/* $NetBSD: sbic.c,v 1.28 1996/10/13 03:07:29 christos Exp $ */
/*
@@ -2352,7 +2352,7 @@ sbicnextstate(dev, csr, asr)
wait = sbic_data_wait;
if( sbicxfstart(regs,
acb->sc_kv.dc_count,
- SBIC_PHASE(csr), wait))
+ SBIC_PHASE(csr), wait)) {
if( SBIC_PHASE(csr) == DATA_IN_PHASE )
/* data in? */
i=sbicxfin(regs,
@@ -2363,6 +2363,7 @@ sbicnextstate(dev, csr, asr)
acb->sc_kv.dc_count,
acb->sc_kv.dc_addr,
SBIC_PHASE(csr));
+ }
acb->sc_kv.dc_addr +=
(acb->sc_kv.dc_count - i);
acb->sc_kv.dc_count = i;
diff --git a/sys/arch/kbus/dev/xd.c b/sys/arch/kbus/dev/xd.c
index 69b73428fd7..c4c8a9793c9 100644
--- a/sys/arch/kbus/dev/xd.c
+++ b/sys/arch/kbus/dev/xd.c
@@ -1537,7 +1537,7 @@ xdc_submit_iorq(xdcsc, iorqno, type)
int
xdc_piodriver(xdcsc, iorqno, freeone)
struct xdc_softc *xdcsc;
- char iorqno;
+ int iorqno;
int freeone;
{