Commit 76668257b26957ce2ca815da9e7d7fc740164123

Authored by Bjorn Helgaas
1 parent 4cf9f24db3

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/eisa/eisa-bus.c
... ... @@ -285,7 +285,7 @@
285 285 edev->res[i].start = SLOT_ADDRESS(root, slot)
286 286 + EISA_VENDOR_ID_OFFSET;
287 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 291 if (request_resource(root->res, &edev->res[i]))