diff options
author | Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> | 2008-05-27 10:05:26 (GMT) |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-05-27 22:43:25 (GMT) |
commit | 6592e02ae4bd7b277230aa0c5821588a13b9d8e3 (patch) | |
tree | 91f51146d5fbda41840b846e81d55555d9363f18 /drivers/pci/hotplug/pciehp_ctrl.c | |
parent | 5808639bfa98d69f77a481d759570d85f164fea0 (diff) | |
download | linux-6592e02ae4bd7b277230aa0c5821588a13b9d8e3.tar.xz |
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 <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/hotplug/pciehp_ctrl.c')
0 files changed, 0 insertions, 0 deletions