summaryrefslogtreecommitdiffstats
path: root/sys/dev/pccbb
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2007-05-16 18:44:56 +0000
committerimp <imp@FreeBSD.org>2007-05-16 18:44:56 +0000
commit02c57cc5852f76ff37122ff16789ef541790e5ba (patch)
treeacbf3d720cce1e85d5f2987db72d2933c916e9c0 /sys/dev/pccbb
parentfabb40094da49469f53cbd0d9270525530ff4173 (diff)
downloadFreeBSD-src-02c57cc5852f76ff37122ff16789ef541790e5ba.zip
FreeBSD-src-02c57cc5852f76ff37122ff16789ef541790e5ba.tar.gz
Better message on cbb resource alloc failure
Diffstat (limited to 'sys/dev/pccbb')
-rw-r--r--sys/dev/pccbb/pccbb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pccbb/pccbb.c b/sys/dev/pccbb/pccbb.c
index 3f8fefd..2e14811 100644
--- a/sys/dev/pccbb/pccbb.c
+++ b/sys/dev/pccbb/pccbb.c
@@ -1168,7 +1168,7 @@ cbb_cardbus_alloc_resource(device_t brdev, device_t child, int type,
res = BUS_ALLOC_RESOURCE(device_get_parent(brdev), child, type, rid,
start, end, count, flags & ~RF_ACTIVE);
if (res == NULL) {
- printf("cbb alloc res fail\n");
+ printf("cbb alloc res fail type %d rid %x\n", type, *rid);
return (NULL);
}
cbb_insert_res(sc, res, type, *rid);
OpenPOWER on IntegriCloud