summaryrefslogtreecommitdiffstats
path: root/src/include/mca.h
diff options
context:
space:
mode:
authorMichael Brown2005-04-14 12:10:54 +0200
committerMichael Brown2005-04-14 12:10:54 +0200
commit75d864432cc41c45d46df9ea7d3afd7cccbc0148 (patch)
tree8b98bce9c01b2f99f16d5da9f93a4e147dfe1865 /src/include/mca.h
parentStripped references to variables in C code. (diff)
downloadipxe-75d864432cc41c45d46df9ea7d3afd7cccbc0148.tar.gz
ipxe-75d864432cc41c45d46df9ea7d3afd7cccbc0148.tar.xz
ipxe-75d864432cc41c45d46df9ea7d3afd7cccbc0148.zip
Use the magic of common symbols to allow struct dev to effectively grow at
link time to accommodate whatever bus objects are included.
Diffstat (limited to 'src/include/mca.h')
-rw-r--r--src/include/mca.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/mca.h b/src/include/mca.h
index e69b6560..c12b1cab 100644
--- a/src/include/mca.h
+++ b/src/include/mca.h
@@ -28,6 +28,7 @@
*/
struct dev;
struct mca_device {
+ char *magic; /* must be first */
struct dev *dev;
unsigned int slot;
unsigned char pos[8];