diff options
author | imp <imp@FreeBSD.org> | 2005-12-30 19:38:47 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2005-12-30 19:38:47 +0000 |
commit | bb33881ebafc6bb23199a8bcd75d1afd19a33fa2 (patch) | |
tree | f9a2bd97d7e6b5a1a153c719382c992731c49854 /sys/dev/cardbus | |
parent | 6e8e63097f5e97cb99d75732eb643bb78ed0ce86 (diff) | |
download | FreeBSD-src-bb33881ebafc6bb23199a8bcd75d1afd19a33fa2.zip FreeBSD-src-bb33881ebafc6bb23199a8bcd75d1afd19a33fa2.tar.gz |
Remove now-obsolete printf warning.
Diffstat (limited to 'sys/dev/cardbus')
-rw-r--r-- | sys/dev/cardbus/cardbus.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/sys/dev/cardbus/cardbus.c b/sys/dev/cardbus/cardbus.c index 9718941..85a8113 100644 --- a/sys/dev/cardbus/cardbus.c +++ b/sys/dev/cardbus/cardbus.c @@ -287,18 +287,13 @@ cardbus_release_all_resources(device_t cbdev, struct cardbus_devinfo *dinfo) /* Free all allocated resources */ STAILQ_FOREACH(rle, &dinfo->pci.resources, link) { if (rle->res) { - if (rman_get_device(rle->res) != cbdev) - device_printf(cbdev, "Bug: Resource still " - "owned by child. " - "(type=%d, rid=%d, addr=%lx)\n", - rle->type, rle->rid, - rman_get_start(rle->res)); BUS_RELEASE_RESOURCE(device_get_parent(cbdev), cbdev, rle->type, rle->rid, rle->res); rle->res = NULL; /* * zero out config so the card won't acknowledge - * access to the space anymore + * access to the space anymore. XXX doesn't handle + * 64-bit bars. */ pci_write_config(dinfo->pci.cfg.dev, rle->rid, 0, 4); } |