Fix missing model of inspur's FPGA
This patch modifies incorrect variable 'name' with 'model'. Change-Id: I0e5058d521bd2853700ac7b9e4cd17f700e08ba9
This commit is contained in:
parent
725c512da6
commit
77a5b390ad
@ -37,7 +37,7 @@ INSPUR_FPGA_FLAGS = ["Inspur Electronic Information Industry Co., Ltd.",
|
||||
INSPUR_FPGA_INFO_PATTERN = re.compile(
|
||||
r"(?P<devices>[0-9a-fA-F]{4}:[0-9a-fA-F]{2}:"
|
||||
r"[0-9a-fA-F]{2}\.[0-9a-fA-F]) "
|
||||
r"(?P<controller>.*) [\[].*]: (?P<name>.*) .*"
|
||||
r"(?P<controller>.*) [\[].*]: (?P<model>.*) .*"
|
||||
r"[\[](?P<vendor_id>[0-9a-fA-F]"
|
||||
r"{4}):(?P<product_id>[0-9a-fA-F]{4})].*")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user