Is there a generic way to reset a PCI device in Linux from the command line? That is, cause the PCI bus to issue a reset command.
|
feedback
|
migrated from serverfault.com Jan 23 at 10:30
This question came from our site for system administrators and desktop support professionals.
|
Since a generic PCI device is not hotpluggable there won't be a way to reset it and have the kernel re-enumerate it. Whatever kind of problems you are trying to solve, there surely is a better way than to just reset it. | |||
feedback
|
|
The closest thing the PCI bus has to a device level reset is changing the power state to D3 and back to D0. After unloading the driver ( it would be bad to reset the hardware out from under the driver ), you can use | |||
|
feedback
|