On 12/08/18 18:30, Segher Boessenkool wrote:
On Sun, Aug 12, 2018 at 01:55:10PM +0100, Mark Cave-Ayland wrote:
The problem with using the ioport as part of the controller node address is that the address cannot be determined until after the PCI BARs have been programmed.
If it is a PCI device, it should have the configuration space address as its node address. See https://www.openfirmware.info/data/docs/bus.pci.pdf 4.1.1 "reg".
Or is this some weird thing that does not have a PCI function for the IDE?
Ah no, this isn't the PCI IDE device itself, it's the IDE controller nodes that live underneath the PCI IDE device node.
ATB,
Mark.