From: Tiejun Chen Date: Thu, 2 Jun 2011 03:02:50 +0000 (+0800) Subject: PCI: enumerate the PCI device only removed out PCI hieratchy of OS when re-scanning PCI X-Git-Tag: v3.1-rc1~122^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1a98b695b4efe10067d0e1cb5b66146a4e517bf;p=pandora-kernel.git PCI: enumerate the PCI device only removed out PCI hieratchy of OS when re-scanning PCI When hot-plugging a root bridge, we always prevent assigning a bus number that already exists. This makes sure we don't step over an existing bus. But sometimes we only remove PCI device in PCI hieratchy of OS, i,e. echo 1 > /sys/bus/pci/devices/.../remove but actually don't hotplug this device out the platform, so in this case we still should re-scan this bus to enumerate this device when re-scanning PCI again. Signed-off-by: Tiejun Chen Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed