diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2010-03-05 12:47:52 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-03-14 20:08:37 -0400 |
commit | fa35b49260b615d634bfa1f767aa315fa323c2e9 (patch) | |
tree | bb518f40386f4118d0fab130c28209201a0f24e9 /drivers/pnp/interface.c | |
parent | 9d7cca04211d4eb104eaaa424b98f650bc29c730 (diff) |
PNPACPI: add window support
Add support for resource windows. This is for bridge resources, i.e.,
regions where a bridge forwards transactions from the primary to the
secondary side. This does not add support for *setting* windows via
the /proc interface.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/pnp/interface.c')
-rw-r--r-- | drivers/pnp/interface.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/pnp/interface.c b/drivers/pnp/interface.c index 68b0c04987e4..ba437b704de8 100644 --- a/drivers/pnp/interface.c +++ b/drivers/pnp/interface.c | |||
@@ -278,9 +278,11 @@ static ssize_t pnp_show_current_resources(struct device *dmdev, | |||
278 | switch (pnp_resource_type(res)) { | 278 | switch (pnp_resource_type(res)) { |
279 | case IORESOURCE_IO: | 279 | case IORESOURCE_IO: |
280 | case IORESOURCE_MEM: | 280 | case IORESOURCE_MEM: |
281 | pnp_printf(buffer, " %#llx-%#llx\n", | 281 | pnp_printf(buffer, " %#llx-%#llx%s\n", |
282 | (unsigned long long) res->start, | 282 | (unsigned long long) res->start, |
283 | (unsigned long long) res->end); | 283 | (unsigned long long) res->end, |
284 | res->flags & IORESOURCE_WINDOW ? | ||
285 | " window" : ""); | ||
284 | break; | 286 | break; |
285 | case IORESOURCE_IRQ: | 287 | case IORESOURCE_IRQ: |
286 | case IORESOURCE_DMA: | 288 | case IORESOURCE_DMA: |