[devices]: Optics fixes in Dell Z9100/Z9264f platforms (#2936)
This commit is contained in:
parent
ccf91c3609
commit
6d62249f04
@ -221,6 +221,10 @@ if [[ "$1" == "init" ]]; then
|
||||
#Copy led_proc_init.soc
|
||||
init_switch_port_led
|
||||
|
||||
value=0x0
|
||||
echo $value > /sys/class/i2c-adapter/i2c-14/14-003e/qsfp_lpmode
|
||||
echo $value > /sys/class/i2c-adapter/i2c-15/15-003e/qsfp_lpmode
|
||||
echo $value > /sys/class/i2c-adapter/i2c-16/16-003e/qsfp_lpmode
|
||||
|
||||
elif [[ "$1" == "deinit" ]]; then
|
||||
xcvr_presence_interrupts "disable"
|
||||
|
@ -82,7 +82,7 @@ switch_board_modsel() {
|
||||
do
|
||||
port_addr=$(( 16384 + ((i - 1) * 16)))
|
||||
hex=$( printf "0x%x" $port_addr )
|
||||
python /usr/bin/pcisysfs.py --set --offset $hex --val 0x41 --res $resource > /dev/null 2>&1
|
||||
python /usr/bin/pcisysfs.py --set --offset $hex --val 0x10 --res $resource > /dev/null 2>&1
|
||||
done
|
||||
}
|
||||
init_devnum
|
||||
|
Loading…
Reference in New Issue
Block a user