i945/ICH7: Use #defines from pci_ids.h (trivial).
[coreboot.git] / src / southbridge / intel / i82801gx / i82801gx_lpc.c
index e796951a622f842afed881761d443de0d54fd7c4..c7d7e5d066bc5eacf698fd53e6c3d96f6ccfce29 100644 (file)
@@ -338,24 +338,23 @@ static struct device_operations device_ops = {
        .ops_pci                = &pci_ops,
 };
 
-/* ICH7 / ICH7R */
-static const struct pci_driver ich7_ich7r_lpc __pci_driver = {
+/* 82801GB/GR/GDH (ICH7/ICH7R/ICH7DH) */
+static const struct pci_driver ich7_ich7r_ich7dh_lpc __pci_driver = {
        .ops    = &device_ops,
        .vendor = PCI_VENDOR_ID_INTEL,
-       .device = 0x27b8,
+       .device = PCI_DEVICE_ID_INTEL_82801GB_LPC,
 };
 
-/* ICH7M / ICH7U */
+/* 82801GBM/GU (ICH7-M/ICH7-U) */
 static const struct pci_driver ich7m_ich7u_lpc __pci_driver = {
        .ops    = &device_ops,
        .vendor = PCI_VENDOR_ID_INTEL,
-       .device = 0x27b9,
+       .device = PCI_DEVICE_ID_INTEL_82801GBM_LPC,
 };
 
-/* ICH7M DH */
+/* 82801GHM (ICH7-M DH) */
 static const struct pci_driver ich7m_dh_lpc __pci_driver = {
        .ops    = &device_ops,
        .vendor = PCI_VENDOR_ID_INTEL,
-       .device = 0x27bd,
+       .device = PCI_DEVICE_ID_INTEL_82801GHM_LPC,
 };
-