summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-07-30 21:33:24 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-07-30 21:33:24 +0000
commit5a581115d78443c677ad9a44c9df9fe385c650fb (patch)
tree465ffb990fd98f75644a00fe378c94bb2c45fdd6 /sys/dev
parenta620dde9711811952804f941e8a2cb025c5838f6 (diff)
Put the correct value in the I/O BAR for ACX100 cards.
ok claudio@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/cardbus/if_acx_cardbus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/cardbus/if_acx_cardbus.c b/sys/dev/cardbus/if_acx_cardbus.c
index 4c055ba7807..69410183177 100644
--- a/sys/dev/cardbus/if_acx_cardbus.c
+++ b/sys/dev/cardbus/if_acx_cardbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_acx_cardbus.c,v 1.14 2009/03/29 21:53:52 sthen Exp $ */
+/* $OpenBSD: if_acx_cardbus.c,v 1.15 2009/07/30 21:33:23 miod Exp $ */
/*
* Copyright (c) 2006 Claudio Jeker <claudio@openbsd.org>
@@ -287,7 +287,7 @@ acx_cardbus_setup(struct acx_cardbus_softc *csc)
if (csc->sc_iobar_val) {
cardbus_conf_write(cc, cf, csc->sc_tag, CARDBUS_BASE0_REG,
- csc->sc_bar1_val);
+ csc->sc_iobar_val);
b1 = CARDBUS_BASE1_REG;
b2 = CARDBUS_BASE2_REG;
/* (*cf->cardbus_ctrl)(cc, CARDBUS_IO_ENABLE); */