summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgovinda <none@none>2008-04-04 11:14:40 -0700
committergovinda <none@none>2008-04-04 11:14:40 -0700
commit02024914b7c5eaa1ac562c29018130bb3698724d (patch)
tree259d562faf0b3bf2aab976a33bf75edb1d8e149b
parentcc7a88b54b4969574f03e1a1225bb13be487f5db (diff)
downloadillumos-gate-02024914b7c5eaa1ac562c29018130bb3698724d.tar.gz
6641666 mars hotplug fails with "unconfigure failed error"
-rw-r--r--usr/src/uts/common/io/hotplug/pciehpc/pciehpc.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/usr/src/uts/common/io/hotplug/pciehpc/pciehpc.c b/usr/src/uts/common/io/hotplug/pciehpc/pciehpc.c
index 1d7deabfa6..0a517d314d 100644
--- a/usr/src/uts/common/io/hotplug/pciehpc/pciehpc.c
+++ b/usr/src/uts/common/io/hotplug/pciehpc/pciehpc.c
@@ -1157,14 +1157,11 @@ pciehpc_slot_connect(caddr_t ops_arg, hpc_slot_t slot_hdl,
if (!(status & PCIE_LINKSTS_DLL_LINK_ACTIVE))
goto cleanup2;
}
-
- /* wait 100ms after DLL_LINK_ACTIVE field reads 1b */
- delay(drv_usectohz(100000));
- } else {
- /* wait 1 sec for link to come up */
- delay(drv_usectohz(1000000));
}
+ /* wait 1 sec for link to come up */
+ delay(drv_usectohz(1000000));
+
/* check power is really turned ON */
control = pciehpc_reg_get16(ctrl_p,
ctrl_p->pcie_caps_reg_offset + PCIE_SLOTCTL);