]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] increase PCIBIOS_MIN_IO on x86
authorIvan Kokshaysky <ink@jurassic.park.msu.ru>
Tue, 2 Aug 2005 22:59:47 +0000 (02:59 +0400)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 3 Aug 2005 01:21:25 +0000 (18:21 -0700)
commit6a303e188b486babccb5399540d08e0ab2f7499b
tree49c43f9115648cd730e4a11e455877ad5ee680c5
parentd6baddffdafca64ac3ef253d7d5f0ede1b6a7846
[PATCH] increase PCIBIOS_MIN_IO on x86

There is a number of x86 laptops that have some non-PCI IO ports
in the 0x1000-0x1fff range, and it's quite hard to control the correct
order of resource allocation between PCI and other subsystems controlling
these ports. Especially with modular kernel.

So just increase PCIBIOS_MIN_IO to 0x4000 to prevent any new PCI
resource allocations in the problematic range (this limitation must
apply _only_ to the root bus resources - see Linus' change in
pci_bus_alloc_resource).  As PCIBIOS_MIN_IO and PCIBIOS_MIN_CARDBUS_IO
are the same now on i386 and x86-64, we can remove the latter.

Signed-off-by: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-i386/pci.h
include/asm-x86_64/pci.h