Skip to content

Commit 0619b59

Browse files
aparkhomenko-xsightderan1980
authored andcommitted
[Xsight] update config_syncd_xsight()
1 parent 205e560 commit 0619b59

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

syncd/scripts/syncd_init_common.sh

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -536,18 +536,7 @@ config_syncd_xsight()
536536
LABEL_REVISION_FILE="/etc/sonic/hw_revision"
537537
ONIE_MACHINE=`sed -n -e 's/^.*onie_machine=//p' /etc/machine.conf`
538538

539-
ln -sf /usr/share/sonic/hwsku/xdrv_config.json /etc/xsight/xdrv_config.json
540-
ln -sf /usr/share/sonic/hwsku/xlink_cfg.json /etc/xsight/xlink_cfg.json
541-
ln -sf /usr/share/sonic/hwsku/lanes_polarity.json /etc/xsight/lanes_polarity.json
542-
543-
if [ -f ${LABEL_REVISION_FILE} ]; then
544-
LABEL_REVISION=`cat ${LABEL_REVISION_FILE}`
545-
if [[ x${LABEL_REVISION} == x"R0B" ]] || [[ x${LABEL_REVISION} == x"R0B2" ]]; then
546-
ln -sf /etc/xsight/serdes_config_A0.json /etc/xsight/serdes_config.json
547-
else
548-
ln -sf /etc/xsight/serdes_config_A1.json /etc/xsight/serdes_config.json
549-
fi
550-
fi
539+
/usr/bin/init_xsai.sh
551540

552541
#export XLOG_DEBUG="XSW SAI SAI-HOST XHAL-TBL XHAL-LKP XHAL-LPM XHAL-TCAM XHAL-DTE XHAL-RNG XHAL-SP XHAL-RPC"
553542
export XLOG_SYSLOG=ALL

0 commit comments

Comments
 (0)