The BSP hot swap feature API is given in the table below:
Function |
Description |
---|---|
open() |
Establish a connection between PCI bus and the Hot Swap Controller device. |
lock() |
Called before device initialization, to show that the PCI slot is busy. |
unlock() |
Called after device shut down, to show that the PCI slot is free to extract. |
close() |
Close a connection between PCI bus and the Hot Swap Controller device. |