PCI hotplug: pciehp: poll data link layer link active
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Wed, 22 Oct 2008 05:31:44 +0000 (14:31 +0900)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 22 Oct 2008 23:42:45 +0000 (16:42 -0700)
commitf18e9625e02bb3e5ba9e81104f14e9d904ab28c4
tree688eb9985ec1f85e2c1869a7252004789fb09a14
parentb84346ef74cf76793070762b933387729c5df1ed
PCI hotplug: pciehp: poll data link layer link active

This patch adds polling mechanism for Data Link Layer Link Active bit
after turning power on, instead of waiting for 1000 msec. This reduces
reduce the unnecessary long wait.

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/hotplug/pciehp.h
drivers/pci/hotplug/pciehp_ctrl.c
drivers/pci/hotplug/pciehp_hpc.c