[patch 2/2] ACPI: increase PCIBIOS_MIN_IO on x86

From: Ivan Kokshaysky
Date: Tue Aug 02 2005 - 18:12:58 EST


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@xxxxxxxxxxxxxxxxxxxx>

--- 2.5.13-rc5/drivers/acpi/motherboard.c Fri Jun 17 23:48:29 2005
+++ linux/drivers/acpi/motherboard.c Wed Aug 3 02:54:05 2005
@@ -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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/