summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1998-03-01 12:52:28 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1998-03-01 12:52:28 +0000
commitdd097cccd29a17497c812864790e548c0a1568ac (patch)
tree2c11092b7d939ad80b773631de3d0e3308069068 /sys/arch
parent5d208bcd7a79749edabd1584d74b20a37c9dd4bf (diff)
GCC 2.8 -Wall + a little KNF
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amiga/dev/sbic.c26
1 files changed, 12 insertions, 14 deletions
diff --git a/sys/arch/amiga/dev/sbic.c b/sys/arch/amiga/dev/sbic.c
index eaba55a78c6..fd7d3f6f845 100644
--- a/sys/arch/amiga/dev/sbic.c
+++ b/sys/arch/amiga/dev/sbic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sbic.c,v 1.8 1997/01/16 09:25:16 niklas Exp $ */
+/* $OpenBSD: sbic.c,v 1.9 1998/03/01 12:52:27 niklas Exp $ */
/* $NetBSD: sbic.c,v 1.28 1996/10/13 03:07:29 christos Exp $ */
/*
@@ -2334,21 +2334,19 @@ sbicnextstate(dev, csr, asr)
goto abort;
}
wait = sbic_data_wait;
- if( sbicxfstart(regs,
- acb->sc_kv.dc_count,
- SBIC_PHASE(csr), wait))
- if( SBIC_PHASE(csr) == DATA_IN_PHASE )
+ if (sbicxfstart(regs, acb->sc_kv.dc_count,
+ SBIC_PHASE(csr), wait)) {
+ if (SBIC_PHASE(csr) == DATA_IN_PHASE)
/* data in? */
- i=sbicxfin(regs,
- acb->sc_kv.dc_count,
- acb->sc_kv.dc_addr);
+ i = sbicxfin(regs, acb->sc_kv.dc_count,
+ acb->sc_kv.dc_addr);
else
- i=sbicxfout(regs,
- acb->sc_kv.dc_count,
- acb->sc_kv.dc_addr,
- SBIC_PHASE(csr));
- acb->sc_kv.dc_addr +=
- (acb->sc_kv.dc_count - i);
+ i = sbicxfout(regs,
+ 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;
} else {
if (acb->sc_kv.dc_count <= 0) {