From 35a0d699fba52db176d439a9648cca9cb96bfa8e Mon Sep 17 00:00:00 2001 From: paavaanan Date: Fri, 7 Dec 2018 03:49:46 +0530 Subject: [PATCH] [devices]: blacllikst gpio_ich driver for S6100/Z9100 (#2357) --- device/dell/x86_64-dell_s6100_c2538-r0/installer.conf | 1 + device/dell/x86_64-dell_s6100_c2538-r0/plugins/sfputil.py | 5 +++++ device/dell/x86_64-dell_z9100_c2538-r0/installer.conf | 1 + 3 files changed, 7 insertions(+) diff --git a/device/dell/x86_64-dell_s6100_c2538-r0/installer.conf b/device/dell/x86_64-dell_s6100_c2538-r0/installer.conf index 26ee5ef89d..0a9a3a639e 100644 --- a/device/dell/x86_64-dell_s6100_c2538-r0/installer.conf +++ b/device/dell/x86_64-dell_s6100_c2538-r0/installer.conf @@ -1,2 +1,3 @@ CONSOLE_PORT=0x2f8 CONSOLE_DEV=1 +ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="module_blacklist=gpio_ich" diff --git a/device/dell/x86_64-dell_s6100_c2538-r0/plugins/sfputil.py b/device/dell/x86_64-dell_s6100_c2538-r0/plugins/sfputil.py index 745aaae744..04723b109a 100644 --- a/device/dell/x86_64-dell_s6100_c2538-r0/plugins/sfputil.py +++ b/device/dell/x86_64-dell_s6100_c2538-r0/plugins/sfputil.py @@ -236,6 +236,11 @@ class SfpUtil(SfpUtilBase): self.port_to_eeprom_mapping[port_num] =\ "No IOM" + self.oir_fd = open(self.OIR_FD_PATH, "r") + self.epoll = select.epoll() + if self.oir_fd != -1: + self.epoll.register(self.oir_fd.fileno(), select.EPOLLIN) + SfpUtilBase.__init__(self) def __del__(self): diff --git a/device/dell/x86_64-dell_z9100_c2538-r0/installer.conf b/device/dell/x86_64-dell_z9100_c2538-r0/installer.conf index 26ee5ef89d..0a9a3a639e 100644 --- a/device/dell/x86_64-dell_z9100_c2538-r0/installer.conf +++ b/device/dell/x86_64-dell_z9100_c2538-r0/installer.conf @@ -1,2 +1,3 @@ CONSOLE_PORT=0x2f8 CONSOLE_DEV=1 +ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="module_blacklist=gpio_ich"