please test/review
There is one general issue which needs to be solved before we can integrate the PCI and USB support for PowerPC into mainline.
It is imperative that the I/O addresses are not hardwired into the PCI driver (or the root node driver) because each machine uses different locations of the PCI buses. Using wrong hardwired addresses can cause the machine to freeze (there might be some exception which the kernel could catch to avoid a lockup, but I haven't investigated this yet).
This is the reason for the recent commits in mainline which export the OpenFirmware device tree into uspace (using sysinfo). In the OFW tree one can find the PCI buses and their I/O address ranges (see the "ranges" property in the OFW PCI binding [1]).
I have already started to implement the decoding of the OFW data in the root node driver, but it is far from ready yet.
[1] http://www.openfirmware.org/ofwg/bindings/pci/pci2_1.pdf M.D. _______________________________________________ HelenOS-devel mailing list [email protected] http://lists.modry.cz/cgi-bin/listinfo/helenos-devel
