From: Kenji Kaneshige Date: Tue, 27 May 2008 10:05:26 +0000 (+0900) Subject: pciehp: poll cmd completion if hotplug interrupt is disabled X-Git-Tag: v2.6.26-rc5~46^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6592e02ae4bd7b277230aa0c5821588a13b9d8e3;p=pandora-kernel.git pciehp: poll cmd completion if hotplug interrupt is disabled Fix improper long wait for command completion in pciehp probing. As described in PCI Express specification, software notification is not generated if the command that occurs as a result of a write to the Slot Control register that disables software notification of command completed events. Since pciehp driver doesn't take it into account, such command is issued in pciehp probing, and it causes improper long wait for command completion. This patch changes the pciehp driver to take such command into account. Signed-off-by: Kenji Kaneshige Signed-off-by: Kristen Carlson Accardi Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed