summaryrefslogtreecommitdiff
path: root/sys/dev/cardbus
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-08-03 22:48:37 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-08-03 22:48:37 +0000
commit5b99fa02fd6b2f3e0fc13e464ac1fe55a2aabfbf (patch)
tree2eb9fcfd2ec5ef2dafc7e6edd3048f92b47fce44 /sys/dev/cardbus
parent390c257b07b939ac3905f9b7d2a693b3a178b74c (diff)
be more clear about failed mappings
Diffstat (limited to 'sys/dev/cardbus')
-rw-r--r--sys/dev/cardbus/if_acx_cardbus.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/cardbus/if_acx_cardbus.c b/sys/dev/cardbus/if_acx_cardbus.c
index 57e2574fd9b..e506018c642 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.4 2006/08/03 20:24:51 mglocker Exp $ */
+/* $OpenBSD: if_acx_cardbus.c,v 1.5 2006/08/03 22:48:36 deraadt Exp $ */
/*
* Copyright (c) 2006 Claudio Jeker <claudio@openbsd.org>
@@ -146,7 +146,7 @@ acx_cardbus_attach(struct device *parent, struct device *self, void *aux)
error = Cardbus_mapreg_map(ct, b1, CARDBUS_MAPREG_TYPE_MEM, 0,
&sc->sc_mem1_bt, &sc->sc_mem1_bh, &base, &csc->sc_mapsize1);
if (error != 0) {
- printf(": could not map memory space\n");
+ printf(": could not map memory1 space\n");
return;
}
@@ -156,7 +156,7 @@ acx_cardbus_attach(struct device *parent, struct device *self, void *aux)
error = Cardbus_mapreg_map(ct, b2, CARDBUS_MAPREG_TYPE_MEM, 0,
&sc->sc_mem2_bt, &sc->sc_mem2_bh, &base, &csc->sc_mapsize2);
if (error != 0) {
- printf(": could not map memory space\n");
+ printf(": could not map memory2 space\n");
return;
}