diff options
Diffstat (limited to 'arch/x86/pci/amd_bus.c')
| -rw-r--r-- | arch/x86/pci/amd_bus.c | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/arch/x86/pci/amd_bus.c b/arch/x86/pci/amd_bus.c index 649bdde63e32..bfa50e65ef6c 100644 --- a/arch/x86/pci/amd_bus.c +++ b/arch/x86/pci/amd_bus.c @@ -93,7 +93,8 @@ static int __init early_root_info_init(void)  		vendor = id & 0xffff;  		device = (id>>16) & 0xffff; -		if (vendor != PCI_VENDOR_ID_AMD) +		if (vendor != PCI_VENDOR_ID_AMD && +		    vendor != PCI_VENDOR_ID_HYGON)  			continue;  		if (hb_probes[i].device == device) { @@ -390,7 +391,8 @@ static int __init pci_io_ecs_init(void)  static int __init amd_postcore_init(void)  { -	if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD) +	if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD && +	    boot_cpu_data.x86_vendor != X86_VENDOR_HYGON)  		return 0;  	early_root_info_init(); |