|
@@ -4,6 +4,7 @@
|
4
|
4
|
#include "stdint.h"
|
5
|
5
|
#include "nic.h"
|
6
|
6
|
#include "pci.h"
|
|
7
|
+#include "mca.h"
|
7
|
8
|
|
8
|
9
|
/* Need to check the packing of this struct if Etherboot is ported */
|
9
|
10
|
struct dev_id {
|
|
@@ -12,6 +13,7 @@ struct dev_id {
|
12
|
13
|
uint8_t bus_type;
|
13
|
14
|
#define PCI_BUS_TYPE 1
|
14
|
15
|
#define ISA_BUS_TYPE 2
|
|
16
|
+#define MCA_BUS_TYPE 3
|
15
|
17
|
} __attribute__ ((packed));
|
16
|
18
|
|
17
|
19
|
/* Dont use sizeof, that will include the padding */
|
|
@@ -24,6 +26,7 @@ struct dev {
|
24
|
26
|
/* All possible bus types */
|
25
|
27
|
union {
|
26
|
28
|
struct pci_device pci;
|
|
29
|
+ struct mca_device mca;
|
27
|
30
|
};
|
28
|
31
|
/* All possible device types */
|
29
|
32
|
union {
|