[Dell]: DellEMC S6100 disable pericom/xlinx chipset (#4868)

- Xilinx/pericom peripherals are not actively used in DellEMC S6100 switch.
- These peripherals are throwing PCIE corrected messages in some of the units and filling syslog.
- Since it is not usable disabling it at startup.
This commit is contained in:
paavaanan 2020-07-03 10:38:04 +05:30 committed by Abhishek Dosi
parent 9c62ce9ebb
commit 369bf887d4

View File

@ -254,6 +254,8 @@ remove_python_api_package() {
init_devnum
if [[ "$1" == "init" ]]; then
pericom="/sys/bus/pci/devices/0000:08:00.0"
modprobe i2c-dev
modprobe i2c-mux-pca954x force_deselect_on_exit=1
modprobe dell_ich
@ -262,6 +264,10 @@ if [[ "$1" == "init" ]]; then
modprobe nvram
systemctl start s6100-reboot-cause.service
# Disable pericom/xilinx
echo 1 > /sys/bus/pci/devices/0000:02:00.0/remove
[ -d $pericom ] && echo 1 > $pericom/remove
# Disable Watchdog Timer
if [[ -e /usr/local/bin/platform_watchdog_disable.sh ]]; then
/usr/local/bin/platform_watchdog_disable.sh