Skip to content

Commit cfc19ab

Browse files
committed
updates mobo string in hba_lspci function to support MS73-HB2 board
1 parent 12cdfd8 commit cfc19ab

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tools/server_identifier

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import sys
1414
import shlex
1515
import glob
1616
import configparser
17+
from xmlrpc import server
1718

1819
g_product_lut_idx = {
1920
"MOBO_MODEL": 0,
@@ -722,7 +723,7 @@ def hba_lspci(server):
722723
"9660-16i", "9361-16i", "9361-24i"
723724
]
724725

725-
if server["Motherboard"]["Product Name"] == "MS73-HB0-000":
726+
if server["Motherboard"]["Product Name"] in ["MS73-HB0-000", "MS73-HB2-000"]:
726727
rx_pci=re.compile(
727728
r"^((?:[0-9A-Fa-f]{4}:)?[0-9A-Fa-f]{2}:[0-9A-Fa-f]{2}\.[0-9A-Fa-f]).*\n"
728729
r"\tSubsystem: .*?(9600-16i|9600-24i|SAS9305-16i|SAS9305-24i|"

0 commit comments

Comments
 (0)