From faa1f6dc89819ca9743de3c7e0adfa54fb748718 Mon Sep 17 00:00:00 2001 From: Xiaofei Tan Date: Tue, 8 Oct 2019 20:38:58 +0800 Subject: [PATCH] rasdaemon: support three more modules for OEM type1 error for hip08 Support three more modules for OEM type1 error for hip08. They are RDE, GIC and USB. Signed-off-by: Xiaofei Tan Signed-off-by: Mauro Carvalho Chehab --- non-standard-hisi_hip08.c | 6 ++++++ 1 file changed, 6 insertions(+) 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"; } -- 2.49.0