supplementary submission
This commit is contained in:
parent
43c1c4b210
commit
7e3a6a1c38
@ -182,7 +182,11 @@ format_log_print(){
|
||||
# @Param4 pca9548 channel
|
||||
# @Param5 pcie slot number
|
||||
do_i2c_detect(){
|
||||
format_print $INFO "PCIe slot $5 : bus$1 9548channel$4"
|
||||
if [ $nic_type == "ocp" ];then
|
||||
format_print $INFO "OCP slot $5 : bus$1 9548channel$4"
|
||||
else
|
||||
format_print $INFO "PCIe slot $5 : bus$1 9548channel$4"
|
||||
fi
|
||||
i2ctransfer -y $1 w1@$2 $3
|
||||
i2cdetect -y $1
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user