]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Allow manual resource allocation for PCI hotplug bridges
authorFelix Radensky <felix@embedded-sol.com>
Sun, 28 Mar 2010 13:02:02 +0000 (16:02 +0300)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 21 May 2010 21:43:45 +0000 (14:43 -0700)
commitbe6c3ab98b1f20a4699dc81446ca47dbb04102fa
tree40c24330b6acd953d49e827e051bae7d761ec102
parent6e52316e2c7fd03b6e83e6c3b6bae8604db95df8
PCI: Allow manual resource allocation for PCI hotplug bridges

At the moment only PCI-E briges can be flagged as hotplug, thus
allowing manual resource preallocation via pci=hpmemsize=nnM and
pci=hpiosize=nnM kernel parameters. Some PCI hotplug bridges, e.g.
PLX 6254 can also benefit from this functionalily, as kernel fails
to properly allocate their resources when hotplug device is added
and PCI bus is rescanned.

This patch adds header quirk for PLX 6254 that marks this bridge
as hotplug. Other PCI bridges with similar problems can use it
as well.

Signed-off-by: Felix Radensky <felix@embedded-sol.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/quirks.c