]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] ACPI: increase PCIBIOS_MIN_IO on x86
authorIvan Kokshaysky <ink@jurassic.park.msu.ru>
Tue, 2 Aug 2005 23:09:03 +0000 (03:09 +0400)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 3 Aug 2005 01:21:25 +0000 (18:21 -0700)
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>
drivers/acpi/motherboard.c

index 61ea70742d4912863df0fe4a25f01c1a98d54829..2934475d67d605a540ee4a58d3ef11ccda10c3c8 100644 (file)
@@ -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