Commit 950b6f3c authored by Pu Wen's avatar Pu Wen
Browse files

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

hygon inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I7DX6V


CVE: NA

---------------------------

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

Signed-off-by: default avatarPu Wen <puwen@hygon.cn>
parent c7e0becf
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -266,6 +266,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;
	}