summaryrefslogtreecommitdiffstats
path: root/occ_status.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'occ_status.hpp')
-rw-r--r--occ_status.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/occ_status.hpp b/occ_status.hpp
index e07ca61..74839d0 100644
--- a/occ_status.hpp
+++ b/occ_status.hpp
@@ -109,6 +109,9 @@ class Status : public Interface
**/
sdbusplus::bus::match_t hostControlSignal;
+ /** @brief Indicates whether a hub FSI scan has been attempted or not */
+ static bool hubFsiScanDone;
+
/** @brief Callback handler when device errors are detected */
void deviceErrorHandler();
@@ -121,6 +124,10 @@ class Status : public Interface
/** @brief Sends a message to host control command handler to reset OCC
*/
void resetOCC();
+
+ /** @brief Initiates hub FSI scan so that /dev/occ files are created
+ */
+ void scanHubFSI();
};
} // namespace occ
OpenPOWER on IntegriCloud