[LinuxBIOS] [PATCH] v2: improve debugging in device_util.c

Uwe Hermann uwe at hermann-uwe.de
Tue Oct 16 20:24:07 CEST 2007


On Fri, Oct 12, 2007 at 03:29:57AM +0200, Carl-Daniel Hailfinger wrote:
> 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);

Thanks, r2861.

Can you post a similar patch for v3, so it behaves the same?


Uwe.
-- 
http://www.hermann-uwe.de  | http://www.holsham-traders.de
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20071016/613d7dad/attachment.sig>


More information about the coreboot mailing list