Skip to content

Commit

Permalink
[mellanox]: Adapt to new hw-management package (sonic-net#12)
Browse files Browse the repository at this point in the history
Use single start script for all platforms and remove symbolic links
Change path to system eeprom

Signed-off-by: marian-pritsak <marianp@mellanox.com>
  • Loading branch information
marian-pritsak authored and lguohan committed Jul 13, 2018
1 parent eb17762 commit 325d157
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 8 deletions.
1 change: 0 additions & 1 deletion device/mellanox/x86_64-mlnx_msn2100-r0/hw-management

This file was deleted.

2 changes: 1 addition & 1 deletion device/mellanox/x86_64-mlnx_msn2100-r0/plugins/eeprom.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ class board(eeprom_tlvinfo.TlvInfoDecoder):
_TLV_INFO_MAX_LEN = 256

def __init__(self, name, path, cpld_root, ro):
self.eeprom_path = "/bsp/eeprom/sys_eeprom"
self.eeprom_path = "/bsp/eeprom/vpd_info"
super(board, self).__init__(self.eeprom_path, 0, '', True)
1 change: 0 additions & 1 deletion device/mellanox/x86_64-mlnx_msn2410-r0/hw-management

This file was deleted.

2 changes: 1 addition & 1 deletion device/mellanox/x86_64-mlnx_msn2410-r0/plugins/eeprom.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ class board(eeprom_tlvinfo.TlvInfoDecoder):
_TLV_INFO_MAX_LEN = 256

def __init__(self, name, path, cpld_root, ro):
self.eeprom_path = "/bsp/eeprom/sys_eeprom"
self.eeprom_path = "/bsp/eeprom/vpd_info"
super(board, self).__init__(self.eeprom_path, 0, '', True)
1 change: 0 additions & 1 deletion device/mellanox/x86_64-mlnx_msn2700-r0/hw-management

This file was deleted.

2 changes: 1 addition & 1 deletion device/mellanox/x86_64-mlnx_msn2700-r0/plugins/eeprom.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ class board(eeprom_tlvinfo.TlvInfoDecoder):
_TLV_INFO_MAX_LEN = 256

def __init__(self, name, path, cpld_root, ro):
self.eeprom_path = "/bsp/eeprom/sys_eeprom"
self.eeprom_path = "/bsp/eeprom/vpd_info"
super(board, self).__init__(self.eeprom_path, 0, '', True)
1 change: 0 additions & 1 deletion device/mellanox/x86_64-mlnx_msn2740-r0/hw-management

This file was deleted.

2 changes: 1 addition & 1 deletion device/mellanox/x86_64-mlnx_msn2740-r0/plugins/eeprom.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ class board(eeprom_tlvinfo.TlvInfoDecoder):
_TLV_INFO_MAX_LEN = 256

def __init__(self, name, path, cpld_root, ro):
self.eeprom_path = "/bsp/eeprom/sys_eeprom"
self.eeprom_path = "/bsp/eeprom/vpd_info"
super(board, self).__init__(self.eeprom_path, 0, '', True)

0 comments on commit 325d157

Please sign in to comment.