-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drmgr/pci: Add multipath partner device support for hotplug replace
If the PCI device has multipath partner device, its device node contains "ibm,multipath-partner-drc" property which gives the DRC index of the partner device. So for the replace operation, the following steps will be executed: - Find the device based on the partner DRC index of the requested device - Remove the requested device - Remove the partner path - Add the new device based on user input - Find the device based on the partner DRC index of the new device - Add the partner path of the new device Since both paths will be using the same slot, LED indicators and the slot identification will be done only for the primary device in both removal and add operations. Signed-off-by: Haren Myneni <[email protected]> Signed-off-by: Tyrel Datwyler <[email protected]>
- Loading branch information
Showing
1 changed file
with
69 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters