summaryrefslogtreecommitdiffstats
path: root/src/include/gpxe/pci.h
diff options
context:
space:
mode:
authorMichael Brown2007-01-08 04:23:38 +0100
committerMichael Brown2007-01-08 04:23:38 +0100
commit5af4918356a224735b7a2d5034d714e1ebedb49e (patch)
tree5f5f0f849e484cd0234b3b0691cb464ab445c5ca /src/include/gpxe/pci.h
parentRemove types and prototypes now provided in the undi*.h headers. (diff)
downloadipxe-5af4918356a224735b7a2d5034d714e1ebedb49e.tar.gz
ipxe-5af4918356a224735b7a2d5034d714e1ebedb49e.tar.xz
ipxe-5af4918356a224735b7a2d5034d714e1ebedb49e.zip
Added support for wildcard device/vendor ID matches
Diffstat (limited to 'src/include/gpxe/pci.h')
-rw-r--r--src/include/gpxe/pci.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/gpxe/pci.h b/src/include/gpxe/pci.h
index 5fc21009..801bf2cc 100644
--- a/src/include/gpxe/pci.h
+++ b/src/include/gpxe/pci.h
@@ -239,6 +239,9 @@ struct pci_device_id {
uint16_t device;
};
+/** Match-anything ID */
+#define PCI_ANY_ID 0xffff
+
/** A PCI device */
struct pci_device {
/** Generic device */