Skip to content

Commit

Permalink
EISA: Mark vendor ID resource as I/O port space
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
bjorn-helgaas committed Apr 15, 2013
1 parent 4cf9f24 commit 7666825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/eisa/eisa-bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -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]))
Expand Down

0 comments on commit 7666825

Please sign in to comment.