[devices]: blacllikst gpio_ich driver for S6100/Z9100 (#2357)

This commit is contained in:
paavaanan 2018-12-07 03:49:46 +05:30 committed by lguohan
parent 6ba93acd9c
commit 35a0d699fb
3 changed files with 7 additions and 0 deletions

View File

@ -1,2 +1,3 @@
CONSOLE_PORT=0x2f8
CONSOLE_DEV=1
ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="module_blacklist=gpio_ich"

View File

@ -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):

View File

@ -1,2 +1,3 @@
CONSOLE_PORT=0x2f8
CONSOLE_DEV=1
ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="module_blacklist=gpio_ich"