fix(plugin : platform_5280m7) 修复detect时不显示插槽信息得问题
This commit is contained in:
parent
625118199f
commit
72c0ce073e
@ -128,9 +128,9 @@ build_i2c_connect(){
|
|||||||
# @Param5 pcie slot number
|
# @Param5 pcie slot number
|
||||||
do_i2c_detect(){
|
do_i2c_detect(){
|
||||||
if [ "${nic_type}" == "ocp" ];then
|
if [ "${nic_type}" == "ocp" ];then
|
||||||
$fmt_print "log" "Info" "OCP slot $5 : bus$1 9548channel$4"
|
$fmt_print "console" "Info" "OCP slot $5 : bus$1 9548channel$4"
|
||||||
else
|
else
|
||||||
$fmt_print "log" "Info" "PCIe slot $5 : bus$1 9548channel$4"
|
$fmt_print "console" "Info" "PCIe slot $5 : bus$1 9548channel$4"
|
||||||
fi
|
fi
|
||||||
i2ctransfer -y $1 w1@$2 $3
|
i2ctransfer -y $1 w1@$2 $3
|
||||||
i2cdetect -y $1
|
i2cdetect -y $1
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user