Skip to content

Commit 35a0d69

Browse files
paavaananlguohan
paavaanan
authored andcommitted
[devices]: blacllikst gpio_ich driver for S6100/Z9100 (#2357)
1 parent 6ba93ac commit 35a0d69

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
CONSOLE_PORT=0x2f8
22
CONSOLE_DEV=1
3+
ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="module_blacklist=gpio_ich"

device/dell/x86_64-dell_s6100_c2538-r0/plugins/sfputil.py

+5
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,11 @@ def __init__(self):
236236
self.port_to_eeprom_mapping[port_num] =\
237237
"No IOM"
238238

239+
self.oir_fd = open(self.OIR_FD_PATH, "r")
240+
self.epoll = select.epoll()
241+
if self.oir_fd != -1:
242+
self.epoll.register(self.oir_fd.fileno(), select.EPOLLIN)
243+
239244
SfpUtilBase.__init__(self)
240245

241246
def __del__(self):
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
CONSOLE_PORT=0x2f8
22
CONSOLE_DEV=1
3+
ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="module_blacklist=gpio_ich"

0 commit comments

Comments
 (0)