[LinuxBIOS] [PATCH] v2: improve debugging in device_util.c
Carl-Daniel Hailfinger
c-d.hailfinger.devel.2006 at gmx.net
Fri Oct 12 03:29:57 CEST 2007
Add resource size and resource granularity reporting to device_util.c
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
---
Index: LinuxBIOSv2/src/devices/device_util.c
===================================================================
--- LinuxBIOSv2/src/devices/device_util.c (Revision 2849)
+++ LinuxBIOSv2/src/devices/device_util.c (Arbeitskopie)
@@ -467,10 +467,11 @@
#endif
}
printk_debug(
- "%s %02x <- [0x%010Lx - 0x%010Lx] %s%s%s\n",
+ "%s %02x <- [0x%010Lx - 0x%010Lx] 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);
More information about the coreboot
mailing list