From 349e08535a7666cabe52ebc331e3bce5468b786b Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Sun, 9 Apr 2017 20:48:37 +0200 Subject: sb/intel/i82801jx: Add correct PCI ids and change names Change-Id: Ic9226098dafa2465aa5fccc72c442de2b94e44c7 Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/19249 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/southbridge/intel/i82801jx/hdaudio.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'src/southbridge/intel/i82801jx/hdaudio.c') diff --git a/src/southbridge/intel/i82801jx/hdaudio.c b/src/southbridge/intel/i82801jx/hdaudio.c index c3602c40b0..c75eee7d3b 100644 --- a/src/southbridge/intel/i82801jx/hdaudio.c +++ b/src/southbridge/intel/i82801jx/hdaudio.c @@ -23,13 +23,13 @@ #include #include #include -#include "i82801ix.h" +#include "i82801jx.h" #define HDA_ICII_REG 0x68 #define HDA_ICII_BUSY (1 << 0) #define HDA_ICII_VALID (1 << 1) -typedef struct southbridge_intel_i82801ix_config config_t; +typedef struct southbridge_intel_i82801jx_config config_t; static int set_bits(void *port, u32 mask, u32 val) { @@ -311,9 +311,14 @@ static struct device_operations azalia_ops = { .ops_pci = &azalia_pci_ops, }; -/* ICH9DH/ICH9DO/ICH9R/ICH9/ICH9M-E/ICH9M */ -static const struct pci_driver i82801ix_azalia __pci_driver = { +static const unsigned short pci_device_ids[] = { + 0x3a3e, + 0x3a6e, + 0 +}; + +static const struct pci_driver i82801jx_azalia __pci_driver = { .ops = &azalia_ops, .vendor = PCI_VENDOR_ID_INTEL, - .device = 0x293e, + .devices = pci_device_ids, }; -- cgit v1.2.3