aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/intel/i82801jx/sata.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/sata.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/sata.c')
-rw-r--r--src/southbridge/intel/i82801jx/sata.c18
1 files changed, 12 insertions, 6 deletions
diff --git a/src/southbridge/intel/i82801jx/sata.c b/src/southbridge/intel/i82801jx/sata.c
index 8bfc476e8c..9fe1f9ec15 100644
--- a/src/southbridge/intel/i82801jx/sata.c
+++ b/src/southbridge/intel/i82801jx/sata.c
@@ -20,10 +20,10 @@
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ids.h>
-#include "i82801ix.h"
+#include "i82801jx.h"
#include <pc80/mc146818rtc.h>
-typedef struct southbridge_intel_i82801ix_config config_t;
+typedef struct southbridge_intel_i82801jx_config config_t;
static void sata_enable_ahci_mmap(struct device *const dev, const u8 port_map,
const int is_mobile)
@@ -148,10 +148,10 @@ static void sata_init(struct device *const dev)
const int is_mobile = (devid == 0x2928) || (devid == 0x2929);
u8 sata_mode;
- printk(BIOS_DEBUG, "i82801ix_sata: initializing...\n");
+ printk(BIOS_DEBUG, "i82801jx_sata: initializing...\n");
if (config == NULL) {
- printk(BIOS_ERR, "i82801ix_sata: error: "
+ printk(BIOS_ERR, "i82801jx_sata: error: "
"device not in devicetree.cb!\n");
return;
}
@@ -277,8 +277,14 @@ static struct device_operations sata_ops = {
};
static const unsigned short pci_device_ids[] = {
- 0x2920, 0x2921, 0x2922, 0x2923,
- 0x2928, 0x2929,
+ 0x3a00,
+ 0x3a02,
+ 0x3a05,
+ 0x3a06,
+ 0x3a20,
+ 0x3a22,
+ 0x3a25,
+ 0x3a26,
0,
};