summaryrefslogtreecommitdiff
path: root/drivers/acpi/motherboard.c
diff options
context:
space:
mode:
authorIvan Kokshaysky <ink@jurassic.park.msu.ru>2005-08-03 03:09:03 +0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-08-03 05:21:25 +0400
commit0b2bfb4e7ff61f286676867c3508569bea6fbf7a (patch)
tree39c39d75aa916afcc3a3f736d3a5fd00a48ea003 /drivers/acpi/motherboard.c
parent71db63acff69618b3d9d3114bd061938150e146b (diff)
downloadlinux-0b2bfb4e7ff61f286676867c3508569bea6fbf7a.tar.xz
[PATCH] ACPI: increase PCIBIOS_MIN_IO on x86
We have increased PCIBIOS_MIN_IO to 0x4000, but still want motherboard resources to be allocated properly. So we need to state 0x1000 (according to the comment) limit explicitely. Signed-off-by: Ivan Kokshaysky <ink@jurassic.park.msu.ru> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/acpi/motherboard.c')
-rw-r--r--drivers/acpi/motherboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/motherboard.c b/drivers/acpi/motherboard.c
index 61ea70742d49..2934475d67d6 100644
--- a/drivers/acpi/motherboard.c
+++ b/drivers/acpi/motherboard.c
@@ -43,7 +43,7 @@ ACPI_MODULE_NAME ("acpi_motherboard")
*/
#define IS_RESERVED_ADDR(base, len) \
(((len) > 0) && ((base) > 0) && ((base) + (len) < IO_SPACE_LIMIT) \
- && ((base) + (len) > PCIBIOS_MIN_IO))
+ && ((base) + (len) > 0x1000))
/*
* Clearing the flag (IORESOURCE_BUSY) allows drivers to use