From patchwork Fri Oct 30 02:22:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lulu Su X-Patchwork-Id: 1390666 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CMmLz2hncz9sSG for ; Fri, 30 Oct 2020 13:23:23 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=wistron.com Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4CMmLz2TjrzDqbl for ; Fri, 30 Oct 2020 13:23:23 +1100 (AEDT) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=wistron.com (client-ip=103.200.3.19; helo=segapp02.wistron.com; envelope-from=lulu_su@wistron.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=wistron.com Received: from segapp02.wistron.com (segapp02.wistron.com [103.200.3.19]) by lists.ozlabs.org (Postfix) with ESMTP id 4CMmLX5hrzzDqXf for ; Fri, 30 Oct 2020 13:23:00 +1100 (AEDT) Received: from EXCHAPP03.whq.wistron (unverified [10.37.38.26]) by TWNHUMSW3.wistron.com (Clearswift SMTPRS 5.6.0) with ESMTP id ; Fri, 30 Oct 2020 10:22:55 +0800 Received: from EXCHAPP02.whq.wistron (10.37.38.25) by EXCHAPP03.whq.wistron (10.37.38.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1913.5; Fri, 30 Oct 2020 10:22:43 +0800 Received: from gitserver.wistron.com (10.37.38.233) by EXCHAPP02.whq.wistron (10.37.38.25) with Microsoft SMTP Server id 15.1.1913.5 via Frontend Transport; Fri, 30 Oct 2020 10:22:43 +0800 From: Lulu Su To: , Stewart Smith Date: Fri, 30 Oct 2020 10:22:30 +0800 Message-ID: <20201030022230.21949-2-Lulu_Su@wistron.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201030022230.21949-1-Lulu_Su@wistron.com> References: <20201030022230.21949-1-Lulu_Su@wistron.com> MIME-Version: 1.0 X-TM-SNTS-SMTP: 04AA1A3B952544FCE3DDCD9CE30CC49CC61A9B576BA060109B52B2A18A32CFF62000:8 Subject: [Skiboot] [PATCH 2/2] platform/mowgli: modify slot_name X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Oliver OHalloran , LuluTHSu , skiboot-stable@lists.ozlabs.org, Klaus Heinrich Kiwi Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" From: LuluTHSu Since Mowgli has only one slot, modify the names of other slots to avoid confusion. Cc: skiboot-stable@lists.ozlabs.org Signed-off-by: LuluTHSu --- 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 0246bff..083255f 100644 --- a/platforms/astbmc/mowgli.c +++ b/platforms/astbmc/mowgli.c @@ -17,17 +17,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_PLUGGABLE(mowgli_builtin_SAS, "Builtin SAS"); ST_BUILTIN_DEV(mowgli_builtin_bmc, "BMC"); -ST_PLUGGABLE(mowgli_slot3, "Pcie Slot3 (8x)"); +ST_PLUGGABLE(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 },