aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/intel/i82801jx/thermal.c
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2017-04-09 20:48:37 +0200
committerMartin Roth <martinroth@google.com>2017-07-21 15:44:19 +0000
commit349e08535a7666cabe52ebc331e3bce5468b786b (patch)
tree6e337227e7450ac1d931ac61eaf939ae936ad50c /src/southbridge/intel/i82801jx/thermal.c
parent7b9c139ac26eded525980e896b354c99c08cdca7 (diff)
sb/intel/i82801jx: Add correct PCI ids and change names
Change-Id: Ic9226098dafa2465aa5fccc72c442de2b94e44c7 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/19249 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/southbridge/intel/i82801jx/thermal.c')
-rw-r--r--src/southbridge/intel/i82801jx/thermal.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/southbridge/intel/i82801jx/thermal.c b/src/southbridge/intel/i82801jx/thermal.c
index 12cf89891f..a5d5bed309 100644
--- a/src/southbridge/intel/i82801jx/thermal.c
+++ b/src/southbridge/intel/i82801jx/thermal.c
@@ -20,7 +20,7 @@
#include <device/pci.h>
#include <device/pci_ids.h>
-#include "i82801ix.h"
+#include "i82801jx.h"
static void thermal_init(struct device *dev)
{
@@ -74,8 +74,14 @@ static struct device_operations device_ops = {
.ops_pci = &thermal_pci_ops,
};
-static const struct pci_driver ich9_thermal __pci_driver = {
+static const unsigned short pci_device_ids[] = {
+ 0x3a32,
+ 0x3a62,
+ 0
+};
+
+static const struct pci_driver ich10_thermal __pci_driver = {
.ops = &device_ops,
.vendor = PCI_VENDOR_ID_INTEL,
- .device = 0x2932,
+ .devices = pci_device_ids,
};