提交 76668257 编写于 作者: B Bjorn Helgaas

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: NBjorn Helgaas <bhelgaas@google.com>
上级 4cf9f24d
...@@ -285,7 +285,7 @@ static int __init eisa_request_resources(struct eisa_root_device *root, ...@@ -285,7 +285,7 @@ static int __init eisa_request_resources(struct eisa_root_device *root,
edev->res[i].start = SLOT_ADDRESS(root, slot) edev->res[i].start = SLOT_ADDRESS(root, slot)
+ EISA_VENDOR_ID_OFFSET; + EISA_VENDOR_ID_OFFSET;
edev->res[i].end = edev->res[i].start + 3; 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])) if (request_resource(root->res, &edev->res[i]))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册