Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 275930
b: refs/heads/master
c: b3c0045
h: refs/heads/master
v: v3
  • Loading branch information
Kenji Kaneshige authored and Jesse Barnes committed Nov 11, 2011
1 parent 39c1bb4 commit 410b3cb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0027cb3e1947d0f453fece40ed16764fb362bac6
refs/heads/master: b3c004542229099e18198061c737e13eafc8d4d6
8 changes: 8 additions & 0 deletions trunk/drivers/pci/hotplug/pciehp_hpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,14 @@ int pciehp_check_link_status(struct controller *ctrl)
return retval;
}

/*
* If the port supports Link speeds greater than 5.0 GT/s, we
* must wait for 100 ms after Link training completes before
* sending configuration request.
*/
if (ctrl->pcie->port->subordinate->max_bus_speed > PCIE_SPEED_5_0GT)
msleep(100);

pcie_update_link_speed(ctrl->pcie->port->subordinate, lnk_status);

return retval;
Expand Down

0 comments on commit 410b3cb

Please sign in to comment.