aboutsummaryrefslogtreecommitdiff
path: root/util/inteltool/pcie.c
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2009-08-29 15:45:43 +0000
committerStefan Reinauer <stepan@openbios.org>2009-08-29 15:45:43 +0000
commitb2aedb1a3f2409b549c4094654281893b82c7435 (patch)
tree457da51421f91f7996ee2f02c13cff6a70770a3d /util/inteltool/pcie.c
parent669c4a954ec6b57f0156844bea4f656f3aa9ccca (diff)
add i810 and ich0
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4620 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/inteltool/pcie.c')
-rw-r--r--util/inteltool/pcie.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/util/inteltool/pcie.c b/util/inteltool/pcie.c
index 86ccf69119..3a31ae4717 100644
--- a/util/inteltool/pcie.c
+++ b/util/inteltool/pcie.c
@@ -42,7 +42,8 @@ int print_epbar(struct pci_dev *nb)
epbar_phys = pci_read_long(nb, 0x40) & 0xfffffffe;
epbar_phys |= ((uint64_t)pci_read_long(nb, 0x44)) << 32;
break;
- case 0x1234: // Dummy for non-existent functionality
+ case PCI_DEVICE_ID_INTEL_82810:
+ case PCI_DEVICE_ID_INTEL_82810DC:
printf("This northbrigde does not have EPBAR.\n");
return 1;
default:
@@ -88,7 +89,8 @@ int print_dmibar(struct pci_dev *nb)
dmibar_phys = pci_read_long(nb, 0x68) & 0xfffffffe;
dmibar_phys |= ((uint64_t)pci_read_long(nb, 0x6c)) << 32;
break;
- case 0x1234: // Dummy for non-existent functionality
+ case PCI_DEVICE_ID_INTEL_82810:
+ case PCI_DEVICE_ID_INTEL_82810DC:
printf("This northbrigde does not have DMIBAR.\n");
return 1;
default:
@@ -136,7 +138,8 @@ int print_pciexbar(struct pci_dev *nb)
pciexbar_reg = pci_read_long(nb, 0x60);
pciexbar_reg |= ((uint64_t)pci_read_long(nb, 0x64)) << 32;
break;
- case 0x1234: // Dummy for non-existent functionality
+ case PCI_DEVICE_ID_INTEL_82810:
+ case PCI_DEVICE_ID_INTEL_82810DC:
printf("Error: This northbrigde does not have PCIEXBAR.\n");
return 1;
default: