diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2013-04-15 22:34:07 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-04-15 22:34:07 +0200 |
commit | a2080d0c561c546d73cb8b296d4b7ca414e6860b (patch) | |
tree | 5121f972d0d6944fde6036d902b2767f480c1e5c /drivers/eisa | |
parent | EISA: Initialize device before its resources (diff) | |
download | linux-a2080d0c561c546d73cb8b296d4b7ca414e6860b.tar.xz linux-a2080d0c561c546d73cb8b296d4b7ca414e6860b.zip |
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 <bhelgaas@google.com>
Diffstat (limited to 'drivers/eisa')
-rw-r--r-- | drivers/eisa/eisa-bus.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |