Explorar el Código

Add MCA devices

tags/v0.9.3
Michael Brown hace 19 años
padre
commit
ac1c0a753d
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3
    0
      src/include/dev.h

+ 3
- 0
src/include/dev.h Ver fichero

@@ -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 {

Loading…
Cancelar
Guardar