[Skiboot-stable] [PATCH 1/2] platform/mowgli: modify slot_name
Lulu Su
Lulu_Su at wistron.com
Wed Oct 28 21:50:08 AEDT 2020
From: LuluTHSu <Lulu_Su at wistron.com>
Since Mowgli has only one slot, modify the names of other slots to avoid confusion.
Cc: skiboot-stable at lists.ozlabs.org
Signed-off-by: LuluTHSu <Lulu_Su at wistron.com>
---
platforms/astbmc/mowgli.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/platforms/astbmc/mowgli.c b/platforms/astbmc/mowgli.c
index 9bfe7a4..40436d9 100644
--- a/platforms/astbmc/mowgli.c
+++ b/platforms/astbmc/mowgli.c
@@ -15,17 +15,17 @@
#include "astbmc.h"
-ST_PLUGGABLE(mowgli_slot1, "Pcie Slot1 (16x)");
-ST_PLUGGABLE(mowgli_slot2, "Pcie Slot2 (8x)");
+ST_PLUGGABLE(mowgli_slot1, "Pcie Slot1");
+ST_BUILTIN_DEV(mowgli_builtin_SAS, "Builtin SAS");
ST_BUILTIN_DEV(mowgli_builtin_bmc, "BMC");
-ST_PLUGGABLE(mowgli_slot3, "Pcie Slot3 (8x)");
+ST_BUILTIN_DEV(mowgli_builtin_ethernet, "Builtin Ethernet");
ST_BUILTIN_DEV(mowgli_builtin_usb, "Builtin USB");
static const struct slot_table_entry mowgli_phb_table[] = {
ST_PHB_ENTRY(0, 0, mowgli_slot1),
- ST_PHB_ENTRY(0, 1, mowgli_slot2),
+ ST_PHB_ENTRY(0, 1, mowgli_builtin_SAS),
ST_PHB_ENTRY(0, 2, mowgli_builtin_bmc),
- ST_PHB_ENTRY(0, 3, mowgli_slot3),
+ ST_PHB_ENTRY(0, 3, mowgli_builtin_ethernet),
ST_PHB_ENTRY(0, 4, mowgli_builtin_usb),
{ .etype = st_end },
--
2.7.4
---------------------------------------------------------------------------------------------------------------------------------------------------------------
This email contains confidential or legally privileged information and is for the sole use of its intended recipient.
Any unauthorized review, use, copying or distribution of this email or the content of this email is strictly prohibited.
If you are not the intended recipient, you may reply to the sender and should delete this e-mail immediately.
---------------------------------------------------------------------------------------------------------------------------------------------------------------
More information about the Skiboot-stable
mailing list