summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorThomas Miletich2009-10-23 17:00:25 +0200
committerMichael Brown2009-10-24 19:57:02 +0200
commit8912e24fdc6b74c59f420c4e345730a974708d2f (patch)
tree3cec2217e4ea117e7594961ee2e6d25a53c1b3b9 /src/include
parent[sis190] Insert forgotten FILE_LICENCE() to sis190.h (diff)
downloadipxe-8912e24fdc6b74c59f420c4e345730a974708d2f.tar.gz
ipxe-8912e24fdc6b74c59f420c4e345730a974708d2f.tar.xz
ipxe-8912e24fdc6b74c59f420c4e345730a974708d2f.zip
[sis190] Hide the ISA bridge's PCI IDs from parserom.pl
Signed-off-by: Michael Brown <mcb30@etherboot.org> Modified-by: Michael Brown <mcb30@etherboot.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gpxe/pci.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/include/gpxe/pci.h b/src/include/gpxe/pci.h
index da33eda96..9ce894b47 100644
--- a/src/include/gpxe/pci.h
+++ b/src/include/gpxe/pci.h
@@ -359,13 +359,18 @@ struct pci_driver {
* PCI_ROM is used to build up entries in a struct pci_id array. It
* is also parsed by parserom.pl to generate Makefile rules and files
* for rom-o-matic.
+ *
+ * PCI_ID can be used to generate entries without creating a
+ * corresponding ROM in the build process.
*/
-#define PCI_ROM( _vendor, _device, _name, _description, _data ) { \
+#define PCI_ID( _vendor, _device, _name, _description, _data ) { \
.vendor = _vendor, \
.device = _device, \
.name = _name, \
.driver_data = _data \
}
+#define PCI_ROM( _vendor, _device, _name, _description, _data ) \
+ PCI_ID( _vendor, _device, _name, _description, _data )
extern void adjust_pci_device ( struct pci_device *pci );
extern unsigned long pci_bar_start ( struct pci_device *pci,