pci: don't reassign to ROM res if it is not going to be enabled
authorYinghai Lu <yinghai@kernel.org>
Sun, 28 Feb 2010 23:49:39 +0000 (15:49 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 1 Mar 2010 15:41:55 +0000 (07:41 -0800)
commit9a928660c9dcaff568c9d379655c5aa16fb981f8
treedf244e4ebf47647b59dfafd4c5f999cf67309e48
parent30ff056c42c665b9ea535d8515890857ae382540
pci: don't reassign to ROM res if it is not going to be enabled

A ROM resource that doesn't fit should not cause us to try to re-assign
all the bus resources.  Nobody generally cares, and re-assigning is
going to just cause way more troubles than it tries to solve.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/pci/setup-bus.c