diff options
author | Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> | 2008-05-27 19:05:26 +0900 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-05-27 15:43:25 -0700 |
commit | 6592e02ae4bd7b277230aa0c5821588a13b9d8e3 (patch) | |
tree | 91f51146d5fbda41840b846e81d55555d9363f18 /drivers/pci/hotplug/pciehp_ctrl.c | |
parent | 5808639bfa98d69f77a481d759570d85f164fea0 (diff) | |
download | linux-6592e02ae4bd7b277230aa0c5821588a13b9d8e3.tar.gz linux-6592e02ae4bd7b277230aa0c5821588a13b9d8e3.tar.bz2 linux-6592e02ae4bd7b277230aa0c5821588a13b9d8e3.zip |
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