summaryrefslogtreecommitdiffstats
path: root/src/southbridge/intel/i82801ix
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/intel/i82801ix')
-rw-r--r--src/southbridge/intel/i82801ix/azalia.c4
-rw-r--r--src/southbridge/intel/i82801ix/lpc.c14
-rw-r--r--src/southbridge/intel/i82801ix/pci.c2
-rw-r--r--src/southbridge/intel/i82801ix/pcie.c14
-rw-r--r--src/southbridge/intel/i82801ix/sata.c18
-rw-r--r--src/southbridge/intel/i82801ix/smbus.c4
-rw-r--r--src/southbridge/intel/i82801ix/thermal.c4
-rw-r--r--src/southbridge/intel/i82801ix/usb_ehci.c6
8 files changed, 33 insertions, 33 deletions
diff --git a/src/southbridge/intel/i82801ix/azalia.c b/src/southbridge/intel/i82801ix/azalia.c
index 017941537549..fdc951472e9d 100644
--- a/src/southbridge/intel/i82801ix/azalia.c
+++ b/src/southbridge/intel/i82801ix/azalia.c
@@ -92,6 +92,6 @@ static struct device_operations azalia_ops = {
/* ICH9DH/ICH9DO/ICH9R/ICH9/ICH9M-E/ICH9M */
static const struct pci_driver i82801ix_azalia __pci_driver = {
.ops = &azalia_ops,
- .vendor = PCI_VENDOR_ID_INTEL,
- .device = PCI_DEVICE_ID_INTEL_82801IB_HD_AUDIO,
+ .vendor = PCI_VID_INTEL,
+ .device = PCI_DID_INTEL_82801IB_HD_AUDIO,
};
diff --git a/src/southbridge/intel/i82801ix/lpc.c b/src/southbridge/intel/i82801ix/lpc.c
index 0132ac5b8927..9f70d1f8be9f 100644
--- a/src/southbridge/intel/i82801ix/lpc.c
+++ b/src/southbridge/intel/i82801ix/lpc.c
@@ -465,17 +465,17 @@ static struct device_operations device_ops = {
};
static const unsigned short pci_device_ids[] = {
- PCI_DEVICE_ID_INTEL_82801IH_LPC, /* ICH9DH */
- PCI_DEVICE_ID_INTEL_82801IO_LPC, /* ICH9DO */
- PCI_DEVICE_ID_INTEL_82801IR_LPC, /* ICH9R */
- PCI_DEVICE_ID_INTEL_82801IEM_LPC, /* ICH9M-E */
- PCI_DEVICE_ID_INTEL_82801IB_LPC, /* ICH9 */
- PCI_DEVICE_ID_INTEL_82801IBM_LPC, /* ICH9M */
+ PCI_DID_INTEL_82801IH_LPC, /* ICH9DH */
+ PCI_DID_INTEL_82801IO_LPC, /* ICH9DO */
+ PCI_DID_INTEL_82801IR_LPC, /* ICH9R */
+ PCI_DID_INTEL_82801IEM_LPC, /* ICH9M-E */
+ PCI_DID_INTEL_82801IB_LPC, /* ICH9 */
+ PCI_DID_INTEL_82801IBM_LPC, /* ICH9M */
0
};
static const struct pci_driver ich9_lpc __pci_driver = {
.ops = &device_ops,
- .vendor = PCI_VENDOR_ID_INTEL,
+ .vendor = PCI_VID_INTEL,
.devices = pci_device_ids,
};
diff --git a/src/southbridge/intel/i82801ix/pci.c b/src/southbridge/intel/i82801ix/pci.c
index da710a3a8d88..5a1350361c3b 100644
--- a/src/southbridge/intel/i82801ix/pci.c
+++ b/src/southbridge/intel/i82801ix/pci.c
@@ -44,6 +44,6 @@ static const unsigned short pci_device_ids[] = {
static const struct pci_driver ich9_pci __pci_driver = {
.ops = &device_ops,
- .vendor = PCI_VENDOR_ID_INTEL,
+ .vendor = PCI_VID_INTEL,
.devices = pci_device_ids,
};
diff --git a/src/southbridge/intel/i82801ix/pcie.c b/src/southbridge/intel/i82801ix/pcie.c
index a20e7d6dc46b..a199dd12a8bf 100644
--- a/src/southbridge/intel/i82801ix/pcie.c
+++ b/src/southbridge/intel/i82801ix/pcie.c
@@ -82,16 +82,16 @@ static struct device_operations device_ops = {
/* 82801Ix (ICH9DH/ICH9DO/ICH9R/ICH9/ICH9M-E/ICH9M) */
static const unsigned short pci_device_ids[] = {
- PCI_DEVICE_ID_INTEL_82801IB_PCIE1, /* Port 1 */
- PCI_DEVICE_ID_INTEL_82801IB_PCIE2, /* Port 2 */
- PCI_DEVICE_ID_INTEL_82801IB_PCIE3, /* Port 3 */
- PCI_DEVICE_ID_INTEL_82801IB_PCIE4, /* Port 4 */
- PCI_DEVICE_ID_INTEL_82801IB_PCIE5, /* Port 5 */
- PCI_DEVICE_ID_INTEL_82801IB_PCIE6, /* Port 6 */
+ PCI_DID_INTEL_82801IB_PCIE1, /* Port 1 */
+ PCI_DID_INTEL_82801IB_PCIE2, /* Port 2 */
+ PCI_DID_INTEL_82801IB_PCIE3, /* Port 3 */
+ PCI_DID_INTEL_82801IB_PCIE4, /* Port 4 */
+ PCI_DID_INTEL_82801IB_PCIE5, /* Port 5 */
+ PCI_DID_INTEL_82801IB_PCIE6, /* Port 6 */
0
};
static const struct pci_driver ich9_pcie __pci_driver = {
.ops = &device_ops,
- .vendor = PCI_VENDOR_ID_INTEL,
+ .vendor = PCI_VID_INTEL,
.devices = pci_device_ids,
};
diff --git a/src/southbridge/intel/i82801ix/sata.c b/src/southbridge/intel/i82801ix/sata.c
index df74123defd7..260d76a8cbb9 100644
--- a/src/southbridge/intel/i82801ix/sata.c
+++ b/src/southbridge/intel/i82801ix/sata.c
@@ -140,8 +140,8 @@ static void sata_init(struct device *const dev)
const config_t *const config = dev->chip_info;
const u16 devid = pci_read_config16(dev, PCI_DEVICE_ID);
- const int is_mobile = (devid == PCI_DEVICE_ID_INTEL_82801IBM_IEM_SATA_IDE_P01) ||
- (devid == PCI_DEVICE_ID_INTEL_82801IBM_IEM_SATA_AHCI_P0145);
+ const int is_mobile = (devid == PCI_DID_INTEL_82801IBM_IEM_SATA_IDE_P01) ||
+ (devid == PCI_DID_INTEL_82801IBM_IEM_SATA_AHCI_P0145);
printk(BIOS_DEBUG, "i82801ix_sata: initializing...\n");
@@ -251,17 +251,17 @@ static struct device_operations sata_ops = {
};
static const unsigned short pci_device_ids[] = {
- PCI_DEVICE_ID_INTEL_82801IB_SATA_P0123,
- PCI_DEVICE_ID_INTEL_82801IB_SATA_P01,
- PCI_DEVICE_ID_INTEL_82801IB_SATA_AHCI1,
- PCI_DEVICE_ID_INTEL_82801IB_SATA_AHCI2,
- PCI_DEVICE_ID_INTEL_82801IBM_IEM_SATA_IDE_P01,
- PCI_DEVICE_ID_INTEL_82801IBM_IEM_SATA_AHCI_P0145,
+ PCI_DID_INTEL_82801IB_SATA_P0123,
+ PCI_DID_INTEL_82801IB_SATA_P01,
+ PCI_DID_INTEL_82801IB_SATA_AHCI1,
+ PCI_DID_INTEL_82801IB_SATA_AHCI2,
+ PCI_DID_INTEL_82801IBM_IEM_SATA_IDE_P01,
+ PCI_DID_INTEL_82801IBM_IEM_SATA_AHCI_P0145,
0,
};
static const struct pci_driver pch_sata __pci_driver = {
.ops = &sata_ops,
- .vendor = PCI_VENDOR_ID_INTEL,
+ .vendor = PCI_VID_INTEL,
.devices = pci_device_ids,
};
diff --git a/src/southbridge/intel/i82801ix/smbus.c b/src/southbridge/intel/i82801ix/smbus.c
index 1ccd9f50718c..17f7b6b0f13f 100644
--- a/src/southbridge/intel/i82801ix/smbus.c
+++ b/src/southbridge/intel/i82801ix/smbus.c
@@ -29,6 +29,6 @@ static struct device_operations smbus_ops = {
static const struct pci_driver pch_smbus __pci_driver = {
.ops = &smbus_ops,
- .vendor = PCI_VENDOR_ID_INTEL,
- .device = PCI_DEVICE_ID_INTEL_82801IB_SMB,
+ .vendor = PCI_VID_INTEL,
+ .device = PCI_DID_INTEL_82801IB_SMB,
};
diff --git a/src/southbridge/intel/i82801ix/thermal.c b/src/southbridge/intel/i82801ix/thermal.c
index 173a0e6be4f9..543b2ffd3864 100644
--- a/src/southbridge/intel/i82801ix/thermal.c
+++ b/src/southbridge/intel/i82801ix/thermal.c
@@ -43,6 +43,6 @@ static struct device_operations device_ops = {
static const struct pci_driver ich9_thermal __pci_driver = {
.ops = &device_ops,
- .vendor = PCI_VENDOR_ID_INTEL,
- .device = PCI_DEVICE_ID_INTEL_82801IB_THERMAL,
+ .vendor = PCI_VID_INTEL,
+ .device = PCI_DID_INTEL_82801IB_THERMAL,
};
diff --git a/src/southbridge/intel/i82801ix/usb_ehci.c b/src/southbridge/intel/i82801ix/usb_ehci.c
index 64f23f6690c0..4e6327a8cd42 100644
--- a/src/southbridge/intel/i82801ix/usb_ehci.c
+++ b/src/southbridge/intel/i82801ix/usb_ehci.c
@@ -33,8 +33,8 @@ static void usb_ehci_set_subsystem(struct device *dev, unsigned int vendor,
}
static const unsigned short pci_device_ids[] = {
- PCI_DEVICE_ID_INTEL_82801IB_EHCI1,
- PCI_DEVICE_ID_INTEL_82801IB_EHCI2,
+ PCI_DID_INTEL_82801IB_EHCI1,
+ PCI_DID_INTEL_82801IB_EHCI2,
0
};
@@ -52,6 +52,6 @@ static struct device_operations usb_ehci_ops = {
static const struct pci_driver pch_usb_ehci1 __pci_driver = {
.ops = &usb_ehci_ops,
- .vendor = PCI_VENDOR_ID_INTEL,
+ .vendor = PCI_VID_INTEL,
.devices = pci_device_ids,
};