소스 검색

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

tags/v0.9.3
Michael Brown 19 년 전
부모
커밋
9183f2412e
6개의 변경된 파일5개의 추가작업 그리고 4개의 파일을 삭제
  1. 0
    1
      src/drivers/bus/eisa.c
  2. 0
    1
      src/drivers/bus/mca.c
  3. 0
    1
      src/drivers/bus/pci.c
  4. 1
    0
      src/include/eisa.h
  5. 3
    1
      src/include/mca.h
  6. 1
    0
      src/include/pci.h

+ 0
- 1
src/drivers/bus/eisa.c 파일 보기

1
 #include "etherboot.h"
1
 #include "etherboot.h"
2
-#include "dev.h"
3
 #include "io.h"
2
 #include "io.h"
4
 #include "timer.h"
3
 #include "timer.h"
5
 #include "eisa.h"
4
 #include "eisa.h"

+ 0
- 1
src/drivers/bus/mca.c 파일 보기

6
  */
6
  */
7
 
7
 
8
 #include "etherboot.h"
8
 #include "etherboot.h"
9
-#include "dev.h"
10
 #include "io.h"
9
 #include "io.h"
11
 #include "mca.h"
10
 #include "mca.h"
12
 
11
 

+ 0
- 1
src/drivers/bus/pci.c 파일 보기

1
 #include "etherboot.h"
1
 #include "etherboot.h"
2
-#include "dev.h"
3
 #include "pci.h"
2
 #include "pci.h"
4
 
3
 
5
 /*
4
 /*

+ 1
- 0
src/include/eisa.h 파일 보기

2
 #define EISA_H
2
 #define EISA_H
3
 
3
 
4
 #include "isa_ids.h"
4
 #include "isa_ids.h"
5
+#include "dev.h"
5
 
6
 
6
 /*
7
 /*
7
  * EISA constants
8
  * EISA constants

+ 3
- 1
src/include/mca.h 파일 보기

8
 #ifndef MCA_H
8
 #ifndef MCA_H
9
 #define MCA_H
9
 #define MCA_H
10
 
10
 
11
+#include "isa_ids.h"
12
+#include "dev.h"
13
+
11
 /*
14
 /*
12
  * MCA constants
15
  * MCA constants
13
  *
16
  *
19
 #define MCA_POS_REG(n)			(0x100+(n))
22
 #define MCA_POS_REG(n)			(0x100+(n))
20
 
23
 
21
 /* Is there a standard that would define this? */
24
 /* Is there a standard that would define this? */
22
-#include "isa_ids.h"
23
 #define GENERIC_MCA_VENDOR ISA_VENDOR ( 'M', 'C', 'A' )
25
 #define GENERIC_MCA_VENDOR ISA_VENDOR ( 'M', 'C', 'A' )
24
 
26
 
25
 /*
27
 /*

+ 1
- 0
src/include/pci.h 파일 보기

23
 
23
 
24
 #include "stdint.h"
24
 #include "stdint.h"
25
 #include "pci_ids.h"
25
 #include "pci_ids.h"
26
+#include "dev.h"
26
 
27
 
27
 /*
28
 /*
28
  * PCI constants
29
  * PCI constants

Loading…
취소
저장