Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1029 | serge | 1 | |
2 | |||
3 | |||
4 | #define INTEL_82443BX_0 (0x7190<<16)|0x8086 |
||
5 | #define INTEL_82443GX_0 (0x71a0<<16)|0x8086 |
||
6 | #define INTEL_82810_MC1 (0x7120<<16)|0x8086 |
||
7 | #define INTEL_82810_MC3 (0x7122<<16)|0x8086 |
||
8 | #define INTEL_82810E_MC (0x7124<<16)|0x8086 |
||
9 | #define INTEL_82815_MC (0x1130<<16)|0x8086 |
||
10 | #define INTEL_82820_HB (0x2500<<16)|0x8086 |
||
11 | #define INTEL_82820_UP_HB (0x2501<<16)|0x8086 |
||
12 | #define INTEL_82830_HB (0x3575<<16)|0x8086 |
||
13 | #define INTEL_82840_HB (0x1a21<<16)|0x8086 |
||
14 | #define INTEL_82845_HB (0x1a30<<16)|0x8086 |
||
15 | #define INTEL_82845G_HB (0x2560<<16)|0x8086 |
||
16 | #define INTEL_82850_HB (0x2530<<16)|0x8086 |
||
17 | #define INTEL_82855PM_HB (0x3340<<16)|0x8086 |
||
18 | #define INTEL_82855GM_HB (0x3580<<16)|0x8086 |
||
19 | #define INTEL_82860_HB (0x2531<<16)|0x8086 |
||
20 | #define INTEL_82865_HB (0x2570<<16)|0x8086 |
||
21 | #define INTEL_82875_HB (0x2578<<16)|0x8086 |
||
22 | #define INTEL_7505_0 (0x2550<<16)|0x8086 |
||
23 | #define INTEL_7205_0 (0x255d<<16)|0x8086 |
||
24 | #define INTEL_82915G_HB (0x2580<<16)|0x8086 |
||
25 | #define INTEL_82915GM_HB (0x2590<<16)|0x8086 |
||
26 | #define INTEL_82945G_HB (0x2770<<16)|0x8086 |
||
27 | #define INTEL_82945GM_HB (0x27A0<<16)|0x8086 |
||
28 | |||
29 | |||
30 | |||
31 | { |
||
32 | int id; |
||
33 | int driver; |
||
34 | }pci_device_t; |
||
35 | |||
36 | |||
37 | |||
38 | |||
39 | |||
40 | // { INTEL_82443BX_0, 0 }, |
||
41 | // { INTEL_82443GX_0, 0 }, |
||
42 | // { INTEL_82810_MC1, 0 }, |
||
43 | // { INTEL_82810_MC3, 0 }, |
||
44 | // { INTEL_82810E_MC, 0 }, |
||
45 | // { INTEL_82815_MC, 0 }, |
||
46 | // { INTEL_82820_HB, 0 }, |
||
47 | // { INTEL_82820_UP_HB,0 }, |
||
48 | // { INTEL_82830_HB, 0 }, |
||
49 | // { INTEL_82840_HB, 0 }, |
||
50 | // { INTEL_82845_HB, 0 }, |
||
51 | // { INTEL_82845G_HB, 0 }, |
||
52 | // { INTEL_82850_HB, 0 }, |
||
53 | // { INTEL_82855PM_HB, 0 }, |
||
54 | // { INTEL_82855GM_HB, 0 }, |
||
55 | // { INTEL_82860_HB, 0 }, |
||
56 | { INTEL_82865_HB, 0 }, |
||
57 | // { INTEL_82875_HB, 0 }, |
||
58 | // { INTEL_7505_0, 0 }, |
||
59 | // { INTEL_7205_0, 0 }, |
||
60 | // { INTEL_82915G_HB, 0 }, |
||
61 | // { INTEL_82915GM_HB, 0 }, |
||
62 | // { INTEL_82945G_HB, 0 }, |
||
63 | // { INTEL_82945GM_HB, 0 }, |
||
64 | { 0, 0 } |
||
65 | }; |
||
66 | |||
67 | |||
68 | { |
||
69 | while(list->id) |
||
70 | { |
||
71 | if(dev == list->id) |
||
72 | return list; |
||
73 | list++; |
||
74 | } |
||
75 | return NULL; |
||
76 | } |
||
77 | |||
78 | |||
79 | { |
||
80 | u32_t bus, last_bus; |
||
81 | PCITAG tag; |
||
82 | |||
83 | |||
84 | return 0; |
||
85 | |||
86 | |||
87 | { |
||
88 | u32_t devfn; |
||
89 | |||
90 | |||
91 | { |
||
92 | u32_t pciId; |
||
93 | u8_t devclass; |
||
94 | pci_device_t *dev; |
||
95 | |||
96 | |||
97 | devclass = PciRead8(bus,devfn, 0x0B); |
||
98 | |||
99 | |||
100 | continue; |
||
101 | |||
102 | |||
103 | { |
||
104 | dbgprintf("detect agp host %x\n",dev->id); |
||
105 | |||
106 | |||
107 | |||
108 | |||
109 | }; |
||
110 | }; |
||
111 | }; |
||
112 | return 0; |
||
113 | };256;devfn++) |
||
114 | >=last_bus;bus++) |
||
115 | |||
116 |