From: Bjorn Helgaas Date: Mon, 15 Apr 2013 20:34:07 +0000 (-0600) Subject: EISA: Log device resources in dmesg X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=a2080d0c561c546d73cb8b296d4b7ca414e6860b;p=openwrt%2Fstaging%2Fblogic.git EISA: Log device resources in dmesg Note the resources consumed by EISA devices in dmesg, similar to what we already do for PCI and PNP devices. Signed-off-by: Bjorn Helgaas --- diff --git a/drivers/eisa/eisa-bus.c b/drivers/eisa/eisa-bus.c index d0c50b477d0b..272a3ec35957 100644 --- a/drivers/eisa/eisa-bus.c +++ b/drivers/eisa/eisa-bus.c @@ -286,6 +286,7 @@ static int __init eisa_request_resources(struct eisa_root_device *root, edev->res[i].flags = IORESOURCE_IO | IORESOURCE_BUSY; } + dev_printk(KERN_DEBUG, &edev->dev, "%pR\n", &edev->res[i]); if (request_resource(root->res, &edev->res[i])) goto failed; }