Blob Blame History Raw
From 3775782808e8b9b8aa72ed2ce23e145433e193cf Mon Sep 17 00:00:00 2001
From: Lyonel Vincent <lyonel@ezix.org>
Date: Wed, 27 May 2020 01:16:20 +0200
Subject: [PATCH 17/17] report product model on Power systems

Github PR #54

---
 src/core/device-tree.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/core/device-tree.cc b/src/core/device-tree.cc
index e7227e1f74b7..027ad16fc557 100644
--- a/src/core/device-tree.cc
+++ b/src/core/device-tree.cc
@@ -1396,7 +1396,7 @@ static void get_ibm_model(hwNode & n)
   {
     if (ibm_model_defs[i].model == machinetype || ibm_model_defs[i].model == model)
     {
-      n.setProduct(ibm_model_defs[i].modelname);
+      n.setProduct(n.getProduct() + " (" + ibm_model_defs[i].modelname + ")");
       n.addHint("icon", string(ibm_model_defs[i].icon));
       n.setConfig("chassis", ibm_model_defs[i].chassis);
       return;
-- 
2.17.1