bus header files must include dev.h to get struct dev.

This commit is contained in:
Michael Brown
2005-04-14 14:26:28 +00:00
parent e0a8ee385e
commit 9183f2412e
6 changed files with 5 additions and 4 deletions

View File

@@ -1,5 +1,4 @@
#include "etherboot.h" #include "etherboot.h"
#include "dev.h"
#include "io.h" #include "io.h"
#include "timer.h" #include "timer.h"
#include "eisa.h" #include "eisa.h"

View File

@@ -6,7 +6,6 @@
*/ */
#include "etherboot.h" #include "etherboot.h"
#include "dev.h"
#include "io.h" #include "io.h"
#include "mca.h" #include "mca.h"

View File

@@ -1,5 +1,4 @@
#include "etherboot.h" #include "etherboot.h"
#include "dev.h"
#include "pci.h" #include "pci.h"
/* /*

View File

@@ -2,6 +2,7 @@
#define EISA_H #define EISA_H
#include "isa_ids.h" #include "isa_ids.h"
#include "dev.h"
/* /*
* EISA constants * EISA constants

View File

@@ -8,6 +8,9 @@
#ifndef MCA_H #ifndef MCA_H
#define MCA_H #define MCA_H
#include "isa_ids.h"
#include "dev.h"
/* /*
* MCA constants * MCA constants
* *
@@ -19,7 +22,6 @@
#define MCA_POS_REG(n) (0x100+(n)) #define MCA_POS_REG(n) (0x100+(n))
/* Is there a standard that would define this? */ /* Is there a standard that would define this? */
#include "isa_ids.h"
#define GENERIC_MCA_VENDOR ISA_VENDOR ( 'M', 'C', 'A' ) #define GENERIC_MCA_VENDOR ISA_VENDOR ( 'M', 'C', 'A' )
/* /*

View File

@@ -23,6 +23,7 @@
#include "stdint.h" #include "stdint.h"
#include "pci_ids.h" #include "pci_ids.h"
#include "dev.h"
/* /*
* PCI constants * PCI constants