]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: don't shrink bridge resources
authorYinghai Lu <yinghai@kernel.org>
Fri, 22 Jan 2010 09:02:23 +0000 (01:02 -0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 23 Feb 2010 00:17:21 +0000 (16:17 -0800)
commitaa4f6f03782b7e2cc2cf9ee323478705873847a2
tree97dbc9a714ef03810609f2d5faca1f56fd872547
parentee56c655a3dd4f85c3609db9ffe72204582ba001
PCI: don't shrink bridge resources

When clearing leaf bridge resources, trying to get a big enough one, we
could shrink the bridge if there is no resource under it.  Confirm
against the old resource side to make sure we're increasing the
allocation.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/setup-bus.c