aboutsummaryrefslogtreecommitdiff
path: root/src/include/device/pci.h
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@secunet.com>2011-02-03 09:14:40 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2011-02-03 09:14:40 +0000
commit87fcffac82a4e3b24e152678e73cd7e6c2f1dcad (patch)
tree20bced90e5a3a025fc1e42bbd731d4296c11b5d3 /src/include/device/pci.h
parent539500ee3373b91985aec9749ae35fb5a94e1c51 (diff)
Wrap CONFIG_MAINBOARD_PCI_SUBSYSTEM_{VENDOR,DEVICE}_ID in weak functions
This is so that boards can determine them on runtime based on hardware properties, if so desired. Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com> Acked-by: Joseph Kellermann <Joseph.Kellermann@heitec.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6329 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/include/device/pci.h')
-rw-r--r--src/include/device/pci.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/device/pci.h b/src/include/device/pci.h
index 6af723d745..d4cfb8558c 100644
--- a/src/include/device/pci.h
+++ b/src/include/device/pci.h
@@ -103,4 +103,7 @@ static inline const struct pci_bus_operations *ops_pci_bus(struct bus *bus)
return bops;
}
+unsigned mainboard_pci_subsystem_vendor_id(struct device *dev);
+unsigned mainboard_pci_subsystem_device_id(struct device *dev);
+
#endif /* PCI_H */