diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2013-04-16 00:34:07 +0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-04-16 00:34:07 +0400 |
commit | a2080d0c561c546d73cb8b296d4b7ca414e6860b (patch) | |
tree | 5121f972d0d6944fde6036d902b2767f480c1e5c /drivers/eisa | |
parent | 26abfeed4341872364386c6a52b9acef8c81a81a (diff) | |
download | linux-a2080d0c561c546d73cb8b296d4b7ca414e6860b.tar.xz |
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; } |