Skip to content

Commit 8ff9bae

Browse files
authored
Merge branch 'develop' into RDKBACCL-1177_FR_ContinuousReboot
2 parents 7323320 + 19a8597 commit 8ff9bae

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

meta-rdk-mtk-bpir4/recipes-ccsp/ccsp/ccsp-psm/bbhm_def_cfg_banana.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,9 @@
214214
<Record name="eRT.com.cisco.spvtg.ccsp.tr181pa.Device.WiFi.Radio.2.FactoryResetSSID" type="astr">0</Record>
215215
<Record name="eRT.com.cisco.spvtg.ccsp.tr181pa.Device.WiFi.SsidUpgradeRequired" type="astr">1</Record>
216216

217+
<!-- Ethernet interfaces of BananaPi Pi -->
218+
<Record name="dmsb.ethagent.ethifcount" type="astr">4</Record>
219+
217220
<Record name="dmsb.BridgeNamePrefix" type="astr">brlan</Record>
218221
<Record name="dmsb.bridgeVlanRange" type="astr">164...512</Record>
219222

meta-rdk-mtk-bpir4/recipes-ccsp/hal/files/Ethernet-Lan-changes.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ Index: ethsw/rdkb_hal/src/ethsw/ccsp_hal_ethsw.c
4747
memset(&ifr, 0, sizeof(ifr));
4848
- snprintf(ifr.ifr_name, sizeof(ifr.ifr_name), "%s", "eth1");
4949
+ if (PortId == 1)
50-
+ snprintf(ifr.ifr_name, sizeof(ifr.ifr_name), "erouter0");
50+
+ snprintf(ifr.ifr_name, sizeof(ifr.ifr_name), "%s", "erouter0");
5151
+ else
52-
+ snprintf(ifr.ifr_name, sizeof(ifr.ifr_name),"lan",(PortId-1));
52+
+ snprintf(ifr.ifr_name, sizeof(ifr.ifr_name),"lan%d",(PortId-1));
5353

5454
if (ioctl(sockfd, SIOCGIFFLAGS, &ifr) < 0)
5555
{

0 commit comments

Comments
 (0)