summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael Brown2005-04-13 05:00:50 +0200
committerMichael Brown2005-04-13 05:00:50 +0200
commitac1c0a753dc51192cff49fd15a24ba2d8d50a3dd (patch)
tree568c92a85f083c7ec3bcf980b4797c51d6bee915 /src
parentMinor fixups (diff)
downloadipxe-ac1c0a753dc51192cff49fd15a24ba2d8d50a3dd.tar.gz
ipxe-ac1c0a753dc51192cff49fd15a24ba2d8d50a3dd.tar.xz
ipxe-ac1c0a753dc51192cff49fd15a24ba2d8d50a3dd.zip
Add MCA devices
Diffstat (limited to 'src')
-rw-r--r--src/include/dev.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/dev.h b/src/include/dev.h
index e77c763d..365c18d8 100644
--- a/src/include/dev.h
+++ b/src/include/dev.h
@@ -4,6 +4,7 @@
#include "stdint.h"
#include "nic.h"
#include "pci.h"
+#include "mca.h"
/* Need to check the packing of this struct if Etherboot is ported */
struct dev_id {
@@ -12,6 +13,7 @@ struct dev_id {
uint8_t bus_type;
#define PCI_BUS_TYPE 1
#define ISA_BUS_TYPE 2
+#define MCA_BUS_TYPE 3
} __attribute__ ((packed));
/* Dont use sizeof, that will include the padding */
@@ -24,6 +26,7 @@ struct dev {
/* All possible bus types */
union {
struct pci_device pci;
+ struct mca_device mca;
};
/* All possible device types */
union {