summaryrefslogtreecommitdiff
path: root/sys/arch/alpha
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-07-07 07:15:42 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-07-07 07:15:42 +0000
commit2b617f40fe946c7eaad68edba8543d52ef21d7f3 (patch)
tree73aec60d674ba7397e25bd4e6536962641ebb104 /sys/arch/alpha
parentae611dc161fabeea53628f1aba3d4ce28d62d069 (diff)
DOH! I got this right in the mem case but not in the io one.
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r--sys/arch/alpha/pci/pcs_bus_io_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/alpha/pci/pcs_bus_io_common.c b/sys/arch/alpha/pci/pcs_bus_io_common.c
index 03a30e41f11..6d07d684a79 100644
--- a/sys/arch/alpha/pci/pcs_bus_io_common.c
+++ b/sys/arch/alpha/pci/pcs_bus_io_common.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcs_bus_io_common.c,v 1.7 1997/07/06 18:28:00 niklas Exp $ */
+/* $OpenBSD: pcs_bus_io_common.c,v 1.8 1997/07/07 07:15:41 niklas Exp $ */
/* $NetBSD: pcs_bus_io_common.c,v 1.14 1996/12/02 22:19:35 cgd Exp $ */
/*
@@ -794,7 +794,7 @@ __C(__C(CHIP,_io_write_raw_multi_),BYTES)(v, h, o, a, c) \
} \
__C(__C(CHIP,_io_write_),BYTES)(v, h, o, temp); \
__C(CHIP,_io_barrier)(v, h, o, BYTES, BUS_BARRIER_WRITE); \
- i = MIN(c, BYTES) - 1; \
+ i = MIN(c, BYTES); \
c -= i; \
a += i; \
} \