diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2013-04-15 16:33:56 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-04-15 16:33:56 -0400 |
commit | 76668257b26957ce2ca815da9e7d7fc740164123 (patch) | |
tree | f7f3147041deaa21851714377124027ba39436fe /drivers/eisa | |
parent | 4cf9f24db3954ac5802de24c826b7ebed27760c4 (diff) |
EISA: Mark vendor ID resource as I/O port space
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>
Diffstat (limited to 'drivers/eisa')
-rw-r--r-- | drivers/eisa/eisa-bus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/eisa/eisa-bus.c b/drivers/eisa/eisa-bus.c index 0b06df44ed54..bf30dcb77bcb 100644 --- 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, | |||
285 | edev->res[i].start = SLOT_ADDRESS(root, slot) | 285 | edev->res[i].start = SLOT_ADDRESS(root, slot) |
286 | + EISA_VENDOR_ID_OFFSET; | 286 | + EISA_VENDOR_ID_OFFSET; |
287 | edev->res[i].end = edev->res[i].start + 3; | 287 | edev->res[i].end = edev->res[i].start + 3; |
288 | edev->res[i].flags = IORESOURCE_BUSY; | 288 | edev->res[i].flags = IORESOURCE_IO | IORESOURCE_BUSY; |
289 | } | 289 | } |
290 | 290 | ||
291 | if (request_resource(root->res, &edev->res[i])) | 291 | if (request_resource(root->res, &edev->res[i])) |