From 97722c6e7d73857da2173a934d675bc5142bc7ff Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Tue, 16 Oct 2007 19:29:34 +0000 Subject: [PATCH] Add resource size and resource granularity reporting to device_util.c. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Uwe Hermann git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@507 f3766cd6-281f-0410-b1cd-43a5c92072e9 --- device/device_util.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/device/device_util.c b/device/device_util.c index 3951e64544..3002778fd0 100644 --- a/device/device_util.c +++ b/device/device_util.c @@ -601,11 +601,11 @@ void report_resource_stored(struct device *dev, struct resource *resource, sprintf(buf, "bus %02x ", dev->link[0].secondary); #endif } - printk(BIOS_DEBUG, - "%s %02lx <- [0x%010llx - 0x%010llx] %s%s%s\n", - dev_path(dev), - resource->index, - base, end, buf, resource_type(resource), comment); + printk(BIOS_DEBUG, "%s %02lx <- [0x%010llx - 0x%010llx] " + "size 0x%08Lx gran 0x%02x %s%s%s\n", + dev_path(dev), resource->index, base, end, + resource->size, resource->gran, buf, + resource_type(resource), comment); } }