aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/intel/lynxpoint/pcie.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/intel/lynxpoint/pcie.c')
-rw-r--r--src/southbridge/intel/lynxpoint/pcie.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/southbridge/intel/lynxpoint/pcie.c b/src/southbridge/intel/lynxpoint/pcie.c
index 30773e63b2..24fab3b41e 100644
--- a/src/southbridge/intel/lynxpoint/pcie.c
+++ b/src/southbridge/intel/lynxpoint/pcie.c
@@ -38,7 +38,7 @@ static struct root_port_config rpc;
static inline int max_root_ports(void)
{
- if (pch_is_lp() || pch_silicon_id() == PCI_DEVICE_ID_INTEL_LPT_H81)
+ if (pch_is_lp() || pch_silicon_id() == PCI_DID_INTEL_LPT_H81)
return 6;
return 8;
@@ -749,25 +749,25 @@ static struct device_operations device_ops = {
};
static const unsigned short pci_device_ids[] = {
- PCI_DEVICE_ID_INTEL_LPT_H_PCIE_RP1,
- PCI_DEVICE_ID_INTEL_LPT_H_PCIE_RP2,
- PCI_DEVICE_ID_INTEL_LPT_H_PCIE_RP3,
- PCI_DEVICE_ID_INTEL_LPT_H_PCIE_RP4,
- PCI_DEVICE_ID_INTEL_LPT_H_PCIE_RP5,
- PCI_DEVICE_ID_INTEL_LPT_H_PCIE_RP6,
- PCI_DEVICE_ID_INTEL_LPT_H_PCIE_RP7,
- PCI_DEVICE_ID_INTEL_LPT_H_PCIE_RP8,
- PCI_DEVICE_ID_INTEL_LPT_LP_PCIE_RP1,
- PCI_DEVICE_ID_INTEL_LPT_LP_PCIE_RP2,
- PCI_DEVICE_ID_INTEL_LPT_LP_PCIE_RP3,
- PCI_DEVICE_ID_INTEL_LPT_LP_PCIE_RP4,
- PCI_DEVICE_ID_INTEL_LPT_LP_PCIE_RP5,
- PCI_DEVICE_ID_INTEL_LPT_LP_PCIE_RP6,
+ PCI_DID_INTEL_LPT_H_PCIE_RP1,
+ PCI_DID_INTEL_LPT_H_PCIE_RP2,
+ PCI_DID_INTEL_LPT_H_PCIE_RP3,
+ PCI_DID_INTEL_LPT_H_PCIE_RP4,
+ PCI_DID_INTEL_LPT_H_PCIE_RP5,
+ PCI_DID_INTEL_LPT_H_PCIE_RP6,
+ PCI_DID_INTEL_LPT_H_PCIE_RP7,
+ PCI_DID_INTEL_LPT_H_PCIE_RP8,
+ PCI_DID_INTEL_LPT_LP_PCIE_RP1,
+ PCI_DID_INTEL_LPT_LP_PCIE_RP2,
+ PCI_DID_INTEL_LPT_LP_PCIE_RP3,
+ PCI_DID_INTEL_LPT_LP_PCIE_RP4,
+ PCI_DID_INTEL_LPT_LP_PCIE_RP5,
+ PCI_DID_INTEL_LPT_LP_PCIE_RP6,
0
};
static const struct pci_driver pch_pcie __pci_driver = {
.ops = &device_ops,
- .vendor = PCI_VENDOR_ID_INTEL,
+ .vendor = PCI_VID_INTEL,
.devices = pci_device_ids,
};