[PATCH] PCI: remove bogus resource collision error
authorRajesh Shah <rajesh.shah@intel.com>
Wed, 23 Nov 2005 23:44:59 +0000 (15:44 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 24 Nov 2005 07:04:27 +0000 (23:04 -0800)
commited6d14f9760857c745206c978b80352fc09cfd19
tree61ac73cfb001362521060d8484d05825e1f20f60
parent5a49f2036ad14092c11d09f186da86fd5ae49a05
[PATCH] PCI: remove bogus resource collision error

When attempting to hotadd a PCI card with a bridge on it, I saw
the kernel reporting resource collision errors even when there were
really no collisions. The problem is that the code doesn't skip
over "invalid" resources with their resource type flag not set.
Others have reported similar problems at boot time and for
non-bridge PCI card hotplug too, where the code flags a
resource collision for disabled ROMs. This patch fixes both
problems.

Signed-off-by: Rajesh Shah <rajesh.shah@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/pci/i386.c