Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:pcie:hot-reset-linux [2019/04/16 21:02] – alex | en:pcie:hot-reset-linux [2020/04/29 05:59] (current) – alex | ||
|---|---|---|---|
| Line 15: | Line 15: | ||
| I am not aware of any ' | I am not aware of any ' | ||
| - | <code sh> | + | < |
| #!/bin/bash | #!/bin/bash | ||
| Line 65: | Line 65: | ||
| Ensure that all attached drivers are unloaded before running this script. This script will attempt to remove the PCIe device, then command the upstream switch port to issue a hot reset, then attempt to rescan the PCIe bus. This script has also only been tested on devices with a single function, so it may need some reworking for devices with multiple functions. | Ensure that all attached drivers are unloaded before running this script. This script will attempt to remove the PCIe device, then command the upstream switch port to issue a hot reset, then attempt to rescan the PCIe bus. This script has also only been tested on devices with a single function, so it may need some reworking for devices with multiple functions. | ||
| + | [[https:// | ||