diff options
author | imp <imp@FreeBSD.org> | 2007-05-16 18:44:56 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2007-05-16 18:44:56 +0000 |
commit | 02c57cc5852f76ff37122ff16789ef541790e5ba (patch) | |
tree | acbf3d720cce1e85d5f2987db72d2933c916e9c0 /sys | |
parent | fabb40094da49469f53cbd0d9270525530ff4173 (diff) | |
download | FreeBSD-src-02c57cc5852f76ff37122ff16789ef541790e5ba.zip FreeBSD-src-02c57cc5852f76ff37122ff16789ef541790e5ba.tar.gz |
Better message on cbb resource alloc failure
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pccbb/pccbb.c | 2 |
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); |