Skip to content

Commit

Permalink
[PATCH] ACPI: increase PCIBIOS_MIN_IO on x86
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ivan Kokshaysky authored and Linus Torvalds committed Aug 3, 2005
1 parent 71db63a commit 0b2bfb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/acpi/motherboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0b2bfb4

Please sign in to comment.