]> www.infradead.org Git - users/mchehab/rasdaemon.git/commitdiff
rasdaemon: support three more modules for OEM type1 error for hip08
authorXiaofei Tan <tanxiaofei@huawei.com>
Tue, 8 Oct 2019 12:38:58 +0000 (20:38 +0800)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 10 Oct 2019 17:34:02 +0000 (14:34 -0300)
Support three more modules for OEM type1 error for hip08. They are
RDE, GIC and USB.

Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
non-standard-hisi_hip08.c

index 61e19b72267c6e87de3767ac40aee98bad8d5ae1..1774ec7a93bd5b1b3ca57359a5dc3ca1569a7809 100644 (file)
 #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";
 }