Skip to content

Commit

Permalink
[mellanox]: Adapt to new hw-management package (#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 <[email protected]>
  • Loading branch information
marian-pritsak authored and lguohan committed Aug 11, 2018
1 parent 5ae64e7 commit f9c5783
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 f9c5783

Please sign in to comment.