[devices]: blacllikst gpio_ich driver for S6100/Z9100 (#2357)
This commit is contained in:
parent
6ba93acd9c
commit
35a0d699fb
@ -1,2 +1,3 @@
|
||||
CONSOLE_PORT=0x2f8
|
||||
CONSOLE_DEV=1
|
||||
ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="module_blacklist=gpio_ich"
|
||||
|
@ -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):
|
||||
|
@ -1,2 +1,3 @@
|
||||
CONSOLE_PORT=0x2f8
|
||||
CONSOLE_DEV=1
|
||||
ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="module_blacklist=gpio_ich"
|
||||
|
Loading…
Reference in New Issue
Block a user