summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2007-04-06 12:21:00 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2007-04-06 12:21:00 +0000
commit99c7a2ababa46688821650b6ec4f1420cabeab37 (patch)
tree6894177755e2a68d9214a3b3ed92948f9d115515 /sys
parent80751f777454d5a691100352d93572ceb28a0b86 (diff)
Correct order of bus_space_barrier() parameters.
From brad
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/rtw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/rtw.c b/sys/dev/ic/rtw.c
index 12d55288950..036da8950e9 100644
--- a/sys/dev/ic/rtw.c
+++ b/sys/dev/ic/rtw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtw.c,v 1.59 2007/04/02 08:41:04 claudio Exp $ */
+/* $OpenBSD: rtw.c,v 1.60 2007/04/06 12:20:59 jsg Exp $ */
/* $NetBSD: rtw.c,v 1.29 2004/12/27 19:49:16 dyoung Exp $ */
/*-
@@ -5006,6 +5006,6 @@ void
rtw_barrier(void *arg, u_int32_t reg0, u_int32_t reg1, int flags)
{
struct rtw_regs *regs = (struct rtw_regs *)arg;
- bus_space_barrier(regs->r_bh, regs->r_bt, MIN(reg0, reg1),
+ bus_space_barrier(regs->r_bt, regs->r_bh, MIN(reg0, reg1),
MAX(reg0, reg1) - MIN(reg0, reg1) + 4, flags);
}