[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/2] dmioem: Recognize Gen 11 system.
From: |
Jerry Hoemann |
Subject: |
[PATCH 1/2] dmioem: Recognize Gen 11 system. |
Date: |
Mon, 13 Feb 2023 18:25:25 -0700 |
Add G11 to dmi_hpegen_t.
Signed-off-by: Jerry Hoemann <jerry.hoemann@hpe.com>
---
dmioem.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dmioem.c b/dmioem.c
index 0b3d91c..f3243da 100644
--- a/dmioem.c
+++ b/dmioem.c
@@ -161,11 +161,12 @@ static void dmi_print_hp_net_iface_rec(u8 id, u8 bus, u8
dev, const u8 *mac)
}
}
-typedef enum { G6 = 6, G7, G8, G9, G10, G10P } dmi_hpegen_t;
+typedef enum { G6 = 6, G7, G8, G9, G10, G10P, G11 } dmi_hpegen_t;
static int dmi_hpegen(const char *s)
{
struct { const char *name; dmi_hpegen_t gen; } table[] = {
+ { "Gen11", G11 },
{ "Gen10 Plus", G10P },
{ "Gen10", G10 },
{ "Gen9", G9 },
--
2.39.1