summaryrefslogtreecommitdiffstats
path: root/include/opal.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/opal.h')
-rw-r--r--include/opal.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/include/opal.h b/include/opal.h
index 3b318381..622e1d5d 100644
--- a/include/opal.h
+++ b/include/opal.h
@@ -165,7 +165,9 @@
#define OPAL_FLASH_WRITE 111
#define OPAL_FLASH_ERASE 112
#define OPAL_PRD_MSG 113
-#define OPAL_LAST 113
+#define OPAL_LEDS_GET_INDICATOR 114
+#define OPAL_LEDS_SET_INDICATOR 115
+#define OPAL_LAST 115
/* Device tree flags */
@@ -378,14 +380,14 @@ enum OpalPciMaskAction {
};
enum OpalSlotLedType {
- OPAL_SLOT_LED_ID_TYPE = 0,
- OPAL_SLOT_LED_FAULT_TYPE = 1
+ OPAL_SLOT_LED_TYPE_ID = 0, /* IDENTIFY LED */
+ OPAL_SLOT_LED_TYPE_FAULT = 1, /* FAULT LED */
+ OPAL_SLOT_LED_TYPE_MAX = 2
};
-enum OpalLedAction {
- OPAL_TURN_OFF_LED = 0,
- OPAL_TURN_ON_LED = 1,
- OPAL_QUERY_LED_STATE_AFTER_BUSY = 2
+enum OpalSlotLedState {
+ OPAL_SLOT_LED_STATE_OFF = 0, /* LED is OFF */
+ OPAL_SLOT_LED_STATE_ON = 1 /* LED is ON */
};
enum OpalEpowStatus {
OpenPOWER on IntegriCloud