diff mbox series

[5/5] rasdaemon: support three more modules for OEM type1 error for hip08

Message ID 1570538338-230884-6-git-send-email-tanxiaofei@huawei.com (mailing list archive)
State Accepted
Headers show
Series some optimizations of hip08 oem error records | expand

Commit Message

Xiaofei Tan Oct. 8, 2019, 12:38 p.m. UTC
Support three more modules for OEM type1 error for hip08. They are
RDE, GIC and USB.

Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com>
---
 non-standard-hisi_hip08.c | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox series

Patch

diff --git a/non-standard-hisi_hip08.c b/non-standard-hisi_hip08.c
index 61e19b7..1774ec7 100644
--- a/non-standard-hisi_hip08.c
+++ b/non-standard-hisi_hip08.c
@@ -26,8 +26,11 @@ 
 #define HISI_OEM_MODULE_ID_POE	5
 #define HISI_OEM_MODULE_ID_DISP	8
 #define HISI_OEM_MODULE_ID_LPC	9
+#define HISI_OEM_MODULE_ID_GIC	13
+#define HISI_OEM_MODULE_ID_RDE	14
 #define HISI_OEM_MODULE_ID_SAS	15
 #define HISI_OEM_MODULE_ID_SATA	16
+#define HISI_OEM_MODULE_ID_USB	17
 
 #define HISI_OEM_VALID_SOC_ID		BIT(0)
 #define HISI_OEM_VALID_SOCKET_ID	BIT(1)
@@ -202,8 +205,11 @@  static char *oem_type1_module_name(uint8_t module_id)
 	case HISI_OEM_MODULE_ID_POE: return "POE";
 	case HISI_OEM_MODULE_ID_DISP: return "DISP";
 	case HISI_OEM_MODULE_ID_LPC: return "LPC";
+	case HISI_OEM_MODULE_ID_GIC: return "GIC";
+	case HISI_OEM_MODULE_ID_RDE: return "RDE";
 	case HISI_OEM_MODULE_ID_SAS: return "SAS";
 	case HISI_OEM_MODULE_ID_SATA: return "SATA";
+	case HISI_OEM_MODULE_ID_USB: return "USB";
 	}
 	return "unknown";
 }