projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cf9f24
)
EISA: Mark vendor ID resource as I/O port space
author
Bjorn Helgaas
<bhelgaas@google.com>
Mon, 15 Apr 2013 20:33:56 +0000
(14:33 -0600)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Mon, 15 Apr 2013 20:33:56 +0000
(14:33 -0600)
Previously we marked this as merely IORESOURCE_BUSY without indicating
the type. Setting the type makes %pR on the resource work better.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/eisa/eisa-bus.c
patch
|
blob
|
history
diff --git
a/drivers/eisa/eisa-bus.c
b/drivers/eisa/eisa-bus.c
index 0b06df44ed5456be3082ed20a0c70c13d8e50937..bf30dcb77bcb3c1bca98e23e3e51e4b0700a4408 100644
(file)
--- a/
drivers/eisa/eisa-bus.c
+++ b/
drivers/eisa/eisa-bus.c
@@
-285,7
+285,7
@@
static int __init eisa_request_resources(struct eisa_root_device *root,
edev->res[i].start = SLOT_ADDRESS(root, slot)
+ EISA_VENDOR_ID_OFFSET;
edev->res[i].end = edev->res[i].start + 3;
- edev->res[i].flags = IORESOURCE_BUSY;
+ edev->res[i].flags = IORESOURCE_
IO | IORESOURCE_
BUSY;
}
if (request_resource(root->res, &edev->res[i]))