summaryrefslogtreecommitdiffstats
path: root/drivers/eisa
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2013-04-15 14:34:07 -0600
committerBjorn Helgaas <bhelgaas@google.com>2013-04-15 14:34:07 -0600
commita2080d0c561c546d73cb8b296d4b7ca414e6860b (patch)
tree5121f972d0d6944fde6036d902b2767f480c1e5c /drivers/eisa
parent26abfeed4341872364386c6a52b9acef8c81a81a (diff)
downloadlinux-a2080d0c561c546d73cb8b296d4b7ca414e6860b.tar.gz
linux-a2080d0c561c546d73cb8b296d4b7ca414e6860b.tar.bz2
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.c1
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;
}