diff options
author | Michael Brown | 2005-04-14 16:26:28 +0200 |
---|---|---|
committer | Michael Brown | 2005-04-14 16:26:28 +0200 |
commit | 9183f2412ec61216ac1e0ee0e202961db203be0b (patch) | |
tree | 1634c5f5511253eefd4b465084b6c05bc74fbc6f | |
parent | Updated to current device API. (diff) | |
download | ipxe-9183f2412ec61216ac1e0ee0e202961db203be0b.tar.gz ipxe-9183f2412ec61216ac1e0ee0e202961db203be0b.tar.xz ipxe-9183f2412ec61216ac1e0ee0e202961db203be0b.zip |
bus header files must include dev.h to get struct dev.
-rw-r--r-- | src/drivers/bus/eisa.c | 1 | ||||
-rw-r--r-- | src/drivers/bus/mca.c | 1 | ||||
-rw-r--r-- | src/drivers/bus/pci.c | 1 | ||||
-rw-r--r-- | src/include/eisa.h | 1 | ||||
-rw-r--r-- | src/include/mca.h | 4 | ||||
-rw-r--r-- | src/include/pci.h | 1 |
6 files changed, 5 insertions, 4 deletions
diff --git a/src/drivers/bus/eisa.c b/src/drivers/bus/eisa.c index 1cd53c9b..00656511 100644 --- a/src/drivers/bus/eisa.c +++ b/src/drivers/bus/eisa.c @@ -1,5 +1,4 @@ #include "etherboot.h" -#include "dev.h" #include "io.h" #include "timer.h" #include "eisa.h" diff --git a/src/drivers/bus/mca.c b/src/drivers/bus/mca.c index f87da8d2..60690ae1 100644 --- a/src/drivers/bus/mca.c +++ b/src/drivers/bus/mca.c @@ -6,7 +6,6 @@ */ #include "etherboot.h" -#include "dev.h" #include "io.h" #include "mca.h" diff --git a/src/drivers/bus/pci.c b/src/drivers/bus/pci.c index e9831913..6e08f089 100644 --- a/src/drivers/bus/pci.c +++ b/src/drivers/bus/pci.c @@ -1,5 +1,4 @@ #include "etherboot.h" -#include "dev.h" #include "pci.h" /* diff --git a/src/include/eisa.h b/src/include/eisa.h index 081ce47e..df03fe84 100644 --- a/src/include/eisa.h +++ b/src/include/eisa.h @@ -2,6 +2,7 @@ #define EISA_H #include "isa_ids.h" +#include "dev.h" /* * EISA constants diff --git a/src/include/mca.h b/src/include/mca.h index 9115b98d..e5daf715 100644 --- a/src/include/mca.h +++ b/src/include/mca.h @@ -8,6 +8,9 @@ #ifndef MCA_H #define MCA_H +#include "isa_ids.h" +#include "dev.h" + /* * MCA constants * @@ -19,7 +22,6 @@ #define MCA_POS_REG(n) (0x100+(n)) /* Is there a standard that would define this? */ -#include "isa_ids.h" #define GENERIC_MCA_VENDOR ISA_VENDOR ( 'M', 'C', 'A' ) /* diff --git a/src/include/pci.h b/src/include/pci.h index e7ac084b..ee1631de 100644 --- a/src/include/pci.h +++ b/src/include/pci.h @@ -23,6 +23,7 @@ #include "stdint.h" #include "pci_ids.h" +#include "dev.h" /* * PCI constants |