x86/amd_nb: Add support for Hygon family 18h model 6h

Hygon family 18h model 6h processor has the same DF F1 device ID
as M05H_DF_F1.

Signed-off-by: Pu Wen <puwen@hygon.cn>
Signed-off-by: Jinliang Zheng <alexjlzheng@tencent.com>
Reviewed-by: Bin Lai <robinlai@tencent.com>
Signed-off-by: Jinliang Zheng <alexjlzheng@tencent.com>
Reviewed-by: caelli <caelli@tencent.com>
Signed-off-by: Jianping Liu <frankjpliu@tencent.com>
This commit is contained in:
Pu Wen 2023-06-08 12:49:51 +08:00 committed by Jianping Liu
parent 17704da187
commit 2bf609d3dd
1 changed files with 3 additions and 0 deletions

View File

@ -277,6 +277,9 @@ static int get_df1_register(struct pci_dev *misc, int offset, u32 *value)
else
device = PCI_DEVICE_ID_HYGON_18H_M04H_DF_F1;
break;
case 0x6:
device = PCI_DEVICE_ID_HYGON_18H_M05H_DF_F1;
break;
default:
return -ENODEV;
}