1 |
27 |
unneback |
2003-02-24 Jonathan Larmour
|
2 |
|
|
|
3 |
|
|
* cdl/io_pci.cdl: Fix doc link.
|
4 |
|
|
|
5 |
|
|
2002-05-14 Jesper Skov
|
6 |
|
|
|
7 |
|
|
* tests/pci1.c: Fix warning.
|
8 |
|
|
|
9 |
|
|
2002-02-13 Hugo Tyson
|
10 |
|
|
|
11 |
|
|
* doc/pci.sgml: Tidy up some typos and PROGRAMLISTING width
|
12 |
|
|
issues.
|
13 |
|
|
|
14 |
|
|
2002-02-11 Mark Salter
|
15 |
|
|
|
16 |
|
|
* doc/pci.sgml: Brought docs up to date with current code.
|
17 |
|
|
|
18 |
|
|
2002-01-31 Mark Salter
|
19 |
|
|
|
20 |
|
|
* src/pci.c (cyg_pci_init): Set default memory and io bases here
|
21 |
|
|
as the HAL_PCI_ALLOC_BASE_* macros may not be static values.
|
22 |
|
|
|
23 |
|
|
2002-01-21 Mark Salter
|
24 |
|
|
|
25 |
|
|
* src/pci.c (cyg_pci_get_device_info): Fix setting of upper 32 bits
|
26 |
|
|
for 64-bit BAR.
|
27 |
|
|
|
28 |
|
|
2001-09-28 Gary Thomas
|
29 |
|
|
|
30 |
|
|
* src/pci.c (cyg_pci_find_next):
|
31 |
|
|
* include/pci.h: Allow platforms to restrict PCI bus/device ranges.
|
32 |
|
|
|
33 |
|
|
2001-08-22 Gary Thomas
|
34 |
|
|
|
35 |
|
|
* src/pci.c:
|
36 |
|
|
printf() is no longer a part of RedBoot. Thus all programs
|
37 |
|
|
must use diag_printf() and related functions instead.
|
38 |
|
|
|
39 |
|
|
2001-02-28 Hugo Tyson
|
40 |
|
|
|
41 |
|
|
* tests/pci1.c (pci_scan): Added a new function to re-scan the
|
42 |
|
|
device list after configuring to let a human confirm that we truly
|
43 |
|
|
are seeing distinct devices - ie. do they retain their distinct
|
44 |
|
|
resource allocations in the BARs? This was useful to me in
|
45 |
|
|
investigating a recalcitrant target...
|
46 |
|
|
|
47 |
|
|
2001-02-02 Jesper Skov
|
48 |
|
|
|
49 |
|
|
* tests/pci2.c (pci_test): Removed bogus check for 1MB IO limit.
|
50 |
|
|
|
51 |
|
|
2001-01-10 Jesper Skov
|
52 |
|
|
|
53 |
|
|
* src/pci.c (cyg_pci_get_device_info): Do correct casting of
|
54 |
|
|
header_type. Do not make assumptions about structure layout.
|
55 |
|
|
|
56 |
|
|
* tests/pcihdr.h: Updated.
|
57 |
|
|
|
58 |
|
|
2001-01-02 Hugo Tyson
|
59 |
|
|
|
60 |
|
|
* include/pci.h: Define new API to perform more generalized matching
|
61 |
|
|
on device properties.
|
62 |
|
|
|
63 |
|
|
* src/pci.c (cyg_pci_find_matching): New API implementation.
|
64 |
|
|
|
65 |
|
|
2000-12-21 Mark Salter
|
66 |
|
|
|
67 |
|
|
* include/pci_hw.h: Add platform hook so certain devices
|
68 |
|
|
can be skipped by generic PCI io code. This is a workaround
|
69 |
|
|
for a hw problem where configuration space cycles on some
|
70 |
|
|
devices cause a bus lockup.
|
71 |
|
|
|
72 |
|
|
* src/pci.c (cyg_pci_find_next): Use platform hook to ignore
|
73 |
|
|
certain devices during device search.
|
74 |
|
|
|
75 |
|
|
2000-12-02 Gary Thomas
|
76 |
|
|
|
77 |
|
|
* src/pci.c:
|
78 |
|
|
* cdl/io_pci.cdl: Add CDL to control debug prints.
|
79 |
|
|
|
80 |
|
|
2000-11-30 Gary Thomas
|
81 |
|
|
|
82 |
|
|
* src/pci.c (cyg_pci_find_next): Improve debug prints when
|
83 |
|
|
scanning the bus, showing vendor and device code for each slot.
|
84 |
|
|
|
85 |
|
|
2000-11-19 Gary Thomas
|
86 |
|
|
|
87 |
|
|
* src/pci.c (cyg_pci_find_device): Don't update 'devid' if no
|
88 |
|
|
suitable devices found. This allows for simpler rescan for
|
89 |
|
|
multiple device types.
|
90 |
|
|
|
91 |
|
|
2000-11-12 Gary Thomas
|
92 |
|
|
|
93 |
|
|
* src/pci_hw.c:
|
94 |
|
|
* src/pci.c: Layout changes require
|
95 |
|
|
|
96 |
|
|
2000-11-06 Jonathan Larmour
|
97 |
|
|
|
98 |
|
|
* src/pci.c (cyg_pci_find_next): Conditionalize debug printfs
|
99 |
|
|
|
100 |
|
|
2000-11-04 Mark Salter
|
101 |
|
|
|
102 |
|
|
* src/pci.c (cyg_pci_get_device_info): Add bridge support. Handle
|
103 |
|
|
already configured devices.
|
104 |
|
|
(cyg_pci_set_device_info): Add bridge support.
|
105 |
|
|
(cyg_pci_find_next): Support device id with valid bus number
|
106 |
|
|
combined with CYG_PCI_NULL_DEVFN.
|
107 |
|
|
(cyg_pci_configure_device): Return true if device already configured.
|
108 |
|
|
Fixed for devices which use no BARs.
|
109 |
|
|
(cyg_pci_allocate_io_priv): Remove bogus limit check.
|
110 |
|
|
(cyg_pci_configure_bus): New function to recursively configure a
|
111 |
|
|
bus and its subordinate bases.
|
112 |
|
|
|
113 |
|
|
* include/pci_cfg.h: Added bridge definitions.
|
114 |
|
|
(CYG_PCI_CFG_BAR_5): Corrected.
|
115 |
|
|
|
116 |
|
|
* include/pci.h (CYG_PCI_NULL_DEVFN): Define.
|
117 |
|
|
(cyg_pci_device): Add bridge support. Add num_bars. Add
|
118 |
|
|
declaration for cyg_pci_configure_bus.
|
119 |
|
|
(CYG_PCI_MAX_BUS): Increase to (arbitrary) 8.
|
120 |
|
|
|
121 |
|
|
2000-03-28 John Dallaway
|
122 |
|
|
|
123 |
|
|
* cdl/io_pci.cdl:
|
124 |
|
|
|
125 |
|
|
Adjust documentation URLs.
|
126 |
|
|
|
127 |
|
|
2000-01-31 Simon FitzMaurice
|
128 |
|
|
* cdl\io_pci.cdl:
|
129 |
|
|
|
130 |
|
|
Adjust help URLs in line with new doc layout.
|
131 |
|
|
|
132 |
|
|
2000-01-28 Simon FitzMaurice
|
133 |
|
|
* cdl\io_pci.cdl:
|
134 |
|
|
|
135 |
|
|
Adjust help URLs in line with new doc layout.
|
136 |
|
|
|
137 |
|
|
2000-01-19 Hugo Tyson
|
138 |
|
|
|
139 |
|
|
* cdl/*.cdl: Add descriptions to a number of options &c which were
|
140 |
|
|
lacking same, also tidied up other typos as noticed en passant.
|
141 |
|
|
|
142 |
|
|
1999-12-21 Jonathan Larmour
|
143 |
|
|
|
144 |
|
|
* cdl/io_pci.cdl (CYGPKG_IO_PCI): Relevant to more than one platform
|
145 |
|
|
so reparent under IO package
|
146 |
|
|
(CYGPKG_IO_PCI_CFLAGS_REMOVE): Fix display line typo
|
147 |
|
|
|
148 |
|
|
1999-11-03 John Dallaway
|
149 |
|
|
|
150 |
|
|
* cdl/io_pci.cdl: Define build options.
|
151 |
|
|
|
152 |
|
|
1999-09-24 Jesper Skov
|
153 |
|
|
|
154 |
|
|
* tests/pci2.c (pci_test): Replaced CYG_ASSERT with CYG_TEST_CHECK
|
155 |
|
|
|
156 |
|
|
1999-09-10 Jonathan Larmour
|
157 |
|
|
|
158 |
|
|
* include/pkgconf/io_pci.h: Reparent under CYGPKG_IO - this is used under
|
159 |
|
|
more than one target now and the library itself is generic.
|
160 |
|
|
|
161 |
|
|
1999-08-25 Jesper Skov
|
162 |
|
|
|
163 |
|
|
* src/pci.c (cyg_pci_init): Made it idempotent.
|
164 |
|
|
|
165 |
|
|
* tests/pci1.c:
|
166 |
|
|
* tests/pci2.c:
|
167 |
|
|
* src/pci.c:
|
168 |
|
|
* include/pci.h:
|
169 |
|
|
All functions that deal with addresses in PCI space now use PCI
|
170 |
|
|
ADDRESS types.
|
171 |
|
|
|
172 |
|
|
1999-08-24 Jesper Skov
|
173 |
|
|
|
174 |
|
|
* tests/pci1.c:
|
175 |
|
|
* tests/pci2.c:
|
176 |
|
|
* include/pci.h:
|
177 |
|
|
* src/pci.c:
|
178 |
|
|
Handle requests for memory regions in 64bit space.
|
179 |
|
|
|
180 |
|
|
1999-08-24 Jesper Skov
|
181 |
|
|
|
182 |
|
|
* tests/pci1.c: Added more output, resource allocation, debug help
|
183 |
|
|
(enable devices).
|
184 |
|
|
|
185 |
|
|
* src/pci.c (cyg_pci_find_next): Handle multi-function devices.
|
186 |
|
|
|
187 |
|
|
* include/pci_cfg.h (CYG_PCI_CFG_COMMAND_ACTIVE): Added MASTER.
|
188 |
|
|
Added HEADER_TYPE definitions.
|
189 |
|
|
|
190 |
|
|
1999-08-23 Nick Garnett
|
191 |
|
|
|
192 |
|
|
* tests/pci1.c: Fixed a couple of bugs in the vendor/device/class
|
193 |
|
|
table search code.
|
194 |
|
|
|
195 |
|
|
1999-08-23 Jesper Skov
|
196 |
|
|
|
197 |
|
|
* tests/pcihdr.h: [Added]
|
198 |
|
|
* tests/pci1.c: Added Vendor/Device ID description output.
|
199 |
|
|
|
200 |
|
|
* include/pci_cfg.h: Added vendor and class IDs.
|
201 |
|
|
Also added Prog/IF IDs.
|
202 |
|
|
|
203 |
|
|
1999-08-19 Nick Garnett
|
204 |
|
|
|
205 |
|
|
* tests/pci1.c (pci_test): Added printf() of class_rev code to
|
206 |
|
|
output of bus scan.
|
207 |
|
|
|
208 |
|
|
* include/pci.h (CYG_PCI_MAX_FN): Increased to 8.
|
209 |
|
|
|
210 |
|
|
1999-08-19 Jesper Skov
|
211 |
|
|
|
212 |
|
|
* src/pci.c (cyg_pci_allocate_memory, cyg_pci_allocate_io):
|
213 |
|
|
Check that device is inactive. Ensure that 1MB limits (IO/MEM1MB)
|
214 |
|
|
are observed.
|
215 |
|
|
|
216 |
|
|
* tests/pci2.c (pci_test): Added tests of io/mem allocators.
|
217 |
|
|
|
218 |
|
|
1999-08-17 Jesper Skov
|
219 |
|
|
|
220 |
|
|
* tests/pci2.c (pci_test): Added (empty for now)
|
221 |
|
|
* tests/pci1.c: Added API checks.
|
222 |
|
|
* include/pci.h: Fixed typo.
|
223 |
|
|
|
224 |
|
|
* include/pci.h (CYG_PCI_NULL_DEVID): Changed initializer.
|
225 |
|
|
* src/pci.c (cyg_pci_find_next): Correct check for initializer.
|
226 |
|
|
|
227 |
|
|
* tests/pci1.c: Added.
|
228 |
|
|
Fixed output.
|
229 |
|
|
|
230 |
|
|
* include/pci_cfg.h:
|
231 |
|
|
* include/pci.h:
|
232 |
|
|
* include/pci_hw.h:
|
233 |
|
|
* src/pci_hw.c:
|
234 |
|
|
* src/pci.c:
|
235 |
|
|
Renamed cyg_pci_config_interrupt to cyg_pci_translate_interrupt.
|
236 |
|
|
Untabified.
|
237 |
|
|
|
238 |
|
|
1999-08-16 John Dallaway
|
239 |
|
|
|
240 |
|
|
* cdl/io_pci.cdl:
|
241 |
|
|
|
242 |
|
|
Parent PCI library package under package on which it depends.
|
243 |
|
|
|
244 |
|
|
1999-08-16 John Dallaway
|
245 |
|
|
|
246 |
|
|
* include/pkgconf/io_pci.h:
|
247 |
|
|
|
248 |
|
|
Parent PCI package under package on which it depends.
|
249 |
|
|
|
250 |
|
|
1999-08-16 Jesper Skov
|
251 |
|
|
|
252 |
|
|
* include/pci.h:
|
253 |
|
|
* src/pci.c (cyg_pci_config_interrupt):
|
254 |
|
|
* include/pci_hw.h:
|
255 |
|
|
* src/pci_hw.c (cyg_pcihw_config_interrupt):
|
256 |
|
|
Added interrupt configuration functions.
|
257 |
|
|
|
258 |
|
|
1999-08-13 Jesper Skov
|
259 |
|
|
|
260 |
|
|
* include/pci_cfg.h:
|
261 |
|
|
* include/pci.h:
|
262 |
|
|
* src/pci_hw.c:
|
263 |
|
|
* src/pci.c:
|
264 |
|
|
Extended cyg_pci_device and API.
|
265 |
|
|
Renamed HAL macros.
|
266 |
|
|
Put physical address in base_map.
|
267 |
|
|
|
268 |
|
|
(cyg_pci_get_device_info): Fix switch. Clear base_size when device
|
269 |
|
|
enabled.
|
270 |
|
|
|
271 |
|
|
1999-08-12 Jesper Skov
|
272 |
|
|
|
273 |
|
|
* include/pci_hw.h:
|
274 |
|
|
* include/pci_cfg.h:
|
275 |
|
|
* include/pci.h:
|
276 |
|
|
* src/pci_hw.c:
|
277 |
|
|
* src/pci.c:
|
278 |
|
|
Renamed some registers. Fixed some bad arguments. Added forgotten
|
279 |
|
|
externCs.
|
280 |
|
|
cyg_pci_configure_device fleshed out a bit.
|
281 |
|
|
|
282 |
|
|
* First half-empty files checked in.
|
283 |
|
|
|
284 |
|
|
//===========================================================================
|
285 |
|
|
//####ECOSGPLCOPYRIGHTBEGIN####
|
286 |
|
|
// -------------------------------------------
|
287 |
|
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
288 |
|
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
|
289 |
|
|
//
|
290 |
|
|
// eCos is free software; you can redistribute it and/or modify it under
|
291 |
|
|
// the terms of the GNU General Public License as published by the Free
|
292 |
|
|
// Software Foundation; either version 2 or (at your option) any later version.
|
293 |
|
|
//
|
294 |
|
|
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
|
295 |
|
|
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
296 |
|
|
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
297 |
|
|
// for more details.
|
298 |
|
|
//
|
299 |
|
|
// You should have received a copy of the GNU General Public License along
|
300 |
|
|
// with eCos; if not, write to the Free Software Foundation, Inc.,
|
301 |
|
|
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
302 |
|
|
//
|
303 |
|
|
// As a special exception, if other files instantiate templates or use macros
|
304 |
|
|
// or inline functions from this file, or you compile this file and link it
|
305 |
|
|
// with other works to produce a work based on this file, this file does not
|
306 |
|
|
// by itself cause the resulting work to be covered by the GNU General Public
|
307 |
|
|
// License. However the source code for this file must still be made available
|
308 |
|
|
// in accordance with section (3) of the GNU General Public License.
|
309 |
|
|
//
|
310 |
|
|
// This exception does not invalidate any other reasons why a work based on
|
311 |
|
|
// this file might be covered by the GNU General Public License.
|
312 |
|
|
//
|
313 |
|
|
// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
|
314 |
|
|
// at http://sources.redhat.com/ecos/ecos-license/
|
315 |
|
|
// -------------------------------------------
|
316 |
|
|
//####ECOSGPLCOPYRIGHTEND####
|
317 |
|
|
//===========================================================================
|