Skip to content

Commit

Permalink
[devices]: blacllikst gpio_ich driver for S6100/Z9100 (sonic-net#2357)
Browse files Browse the repository at this point in the history
  • Loading branch information
paavaanan authored and lguohan committed Dec 6, 2018
1 parent 6ba93ac commit 35a0d69
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions device/dell/x86_64-dell_s6100_c2538-r0/installer.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
CONSOLE_PORT=0x2f8
CONSOLE_DEV=1
ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="module_blacklist=gpio_ich"
5 changes: 5 additions & 0 deletions device/dell/x86_64-dell_s6100_c2538-r0/plugins/sfputil.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,11 @@ def __init__(self):
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):
Expand Down
1 change: 1 addition & 0 deletions device/dell/x86_64-dell_z9100_c2538-r0/installer.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
CONSOLE_PORT=0x2f8
CONSOLE_DEV=1
ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="module_blacklist=gpio_ich"

0 comments on commit 35a0d69

Please sign in to comment.