On 04/01/16 20:55, Tarl Neustaedter wrote:
On 2016-Jan-4 09:11 , Mark Cave-Ayland wrote:
While the configuration space range appears in real SPARC device trees, it isn't mentioned in the IEEE-1275 PCI bindings and in fact causes Darwin/OS X to calculate PCI address spaces incorrectly.
While not quibbling about whether it causes Darwin problems, config space *is* mentioned in the PCI binding, section 2.1.4.
See http://www.o3one.org/hwdocs/openfirmware/pci_supplement_2_1.pdf
Hi Tarl,
Good to hear from you again! The part we're looking at is the ranges property for bridges (see section 3.1.1). The documentation mentions all the spaces other than configuration space, although the configuration space appears in the Sun device trees in the PCI host bridge (and it was this entry that was confusing Darwin/OS X).
ATB,
Mark.