Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-05-09 04:43:07 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-05-09 04:43:07 -0700
commit7e941d4d7ef9ad41ed0a8b23b9e64d16593b801d (patch)
tree770692aa2063a889898c077bd1a8c2da546cb3a4
parentc99ae253229080624867c02818f999680a613ff2 (diff)
Mark the ACPI CPU throttle and timer IO regions busy.
This should help some laptops where the generic PCI code might otherwise believe that this range is unused. The ACPI IO range is usually not visible as a standard BAR.
-rw-r--r--drivers/acpi/processor.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/acpi/processor.c b/drivers/acpi/processor.c
index d0c50022573c..99c02080f3a5 100644
--- a/drivers/acpi/processor.c
+++ b/drivers/acpi/processor.c
@@ -2225,6 +2225,16 @@ acpi_processor_get_info (
object.processor.pblk_address + 4;
pr->power.states[ACPI_STATE_C3].address =
object.processor.pblk_address + 5;
+
+ /*
+ * We don't care about error returns - we just try to mark
+ * these reserved so that nobody else is confused into thinking
+ * that this region might be unused..
+ *
+ * (In particular, allocating the IO range for Cardbus)
+ */
+ request_region(pr->throttling.address, 6, "ACPI CPU throttle");
+ request_region(acpi_fadt.xpm_tmr_blk.address, 4, "ACPI timer");
}
acpi_processor_get_power_info(pr);