summaryrefslogtreecommitdiffstats
path: root/src/southbridge/intel/bd82x6x/sata.c
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2012-06-22 13:16:11 -0700
committerPatrick Georgi <patrick@georgi-clan.de>2012-07-24 12:26:33 +0200
commit9a380abaa2c96c9e937327a43e13d700c722df6d (patch)
tree0f6412ebd320a40d5cf555c27eb934c2506d4b4d /src/southbridge/intel/bd82x6x/sata.c
parentbaae2d2761bee15e80f37e8e8ee400c7504a987c (diff)
downloadcoreboot-9a380abaa2c96c9e937327a43e13d700c722df6d.tar.gz
coreboot-9a380abaa2c96c9e937327a43e13d700c722df6d.tar.bz2
coreboot-9a380abaa2c96c9e937327a43e13d700c722df6d.zip
bd82x6x: Convert all PCI ID lists to new scheme
- Convert all PCI ID lists to new scheme - Unify code (variable names) - add missing PCI IDs for Panther Point PCIe root ports. Change-Id: I6357f6ebce7ddffe45a3ec642b0c594147f6134c Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/1301 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/southbridge/intel/bd82x6x/sata.c')
-rw-r--r--src/southbridge/intel/bd82x6x/sata.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/southbridge/intel/bd82x6x/sata.c b/src/southbridge/intel/bd82x6x/sata.c
index 431a29b9a6af..c0eb23249d68 100644
--- a/src/southbridge/intel/bd82x6x/sata.c
+++ b/src/southbridge/intel/bd82x6x/sata.c
@@ -230,13 +230,13 @@ static struct device_operations sata_ops = {
.ops_pci = &sata_pci_ops,
};
-static const unsigned short all_dev_ids[] = { 0x1c00, 0x1c01, 0x1c02, 0x1c03,
- 0x1e00, 0x1e01, 0x1e02, 0x1e03,
- 0 };
-/* Non-AHCI and Non-RAID Mode */
-static const struct pci_driver pch_sata_normal_driver __pci_driver = {
- .ops = &sata_ops,
- .vendor = PCI_VENDOR_ID_INTEL,
- .devices = all_dev_ids,
+static const unsigned short pci_device_ids[] = { 0x1c00, 0x1c01, 0x1c02, 0x1c03,
+ 0x1e00, 0x1e01, 0x1e02, 0x1e03,
+ 0 };
+
+static const struct pci_driver pch_sata __pci_driver = {
+ .ops = &sata_ops,
+ .vendor = PCI_VENDOR_ID_INTEL,
+ .devices = pci_device_ids,
};