summaryrefslogtreecommitdiff
path: root/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/configure-nic-mctp-endpoint.sh
diff options
context:
space:
mode:
authorPotin Lai <potin.lai@quantatw.com>2024-04-23 11:59:31 +0300
committerPotin Lai <potin.lai@quantatw.com>2024-04-23 11:59:31 +0300
commit178a2a2b4c1060abc4bea5f01042d6e8a67f4315 (patch)
treee2c3497e1a0c8f952412d9d2165beaeaa2672c3a /meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/configure-nic-mctp-endpoint.sh
parent82cb94f7b99c143331415603d929fbf201f2146e (diff)
downloadopenbmc-178a2a2b4c1060abc4bea5f01042d6e8a67f4315.tar.xz
yosemite4: fix nic slot number from 0 to 3
Change the NIC slot number from 0 to 3 to meet with system definition. Change-Id: Ic7f10e8ca81c68ffe410ee2eae9e41b413986519 Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Diffstat (limited to 'meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/configure-nic-mctp-endpoint.sh')
-rw-r--r--meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/configure-nic-mctp-endpoint.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/configure-nic-mctp-endpoint.sh b/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/configure-nic-mctp-endpoint.sh
index b2036bc5f0..59031b5400 100644
--- a/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/configure-nic-mctp-endpoint.sh
+++ b/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/configure-nic-mctp-endpoint.sh
@@ -4,9 +4,9 @@
action=$1
slot=$2
# NIC bus are 24~27.
-bus=$((23 + slot))
+bus=$((24 + slot))
# Static EID for NIC are 90~93.
-eid=$((89 + slot))
+eid=$((90 + slot))
sleep 2