summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/ofw/openpic_ofw.c
Commit message (Collapse)AuthorAgeFilesLines
* Where appropriate, use the endian-flipping OF_getencprop() instead ofnwhitehorn2015-11-171-3/+3
| | | | | | | | | | | | | OF_getprop() to get encode-int encoded values from the OF tree. This is a no-op at present, since all existing PowerPC ports are big-endian, but it is a correctness improvement and will be required if we have a little-endian kernel at some future point. Where it is totally impossible for the code ever to be used on a little-endian system (much of powerpc/powermac, for instance), I have not necessarily made the appropriate changes. MFC after: 1 month
* Move Open Firmware device root on PowerPC, ARM, and MIPS systems tonwhitehorn2014-02-051-1/+1
| | | | | | | | a sub-node of nexus (ofwbus) rather than direct attach under nexus. This fixes FDT on x86 and will make coexistence with ACPI on ARM systems easier. SPARC is unchanged. Reviewed by: imp, ian
* Add suspend/resume state saving for OpenPIC on PowerMac. It's likely thisjhibbits2013-12-211-0/+3
| | | | can be used on the others (cpcht and psim), but that has not been tested.
* Allow PIC drivers to translate firmware sense codes for themselves. Thisnwhitehorn2013-10-241-0/+36
| | | | | is designed to replace the tables in dev/fdt/fdt_ARCH.c, but will not happen quite yet.
* Standards-conformance and code deduplication:nwhitehorn2013-10-221-0/+129
- Use bus reference phandles in place of FDT offsets as IRQ domain keys - Unify the identical macio/fdt/mambo OpenPIC drivers into one - Be more forgiving (following ePAPR) about what we need from the device tree to identify an OpenPIC - Correctly map all IRQs into an interrupt domain - Set IRQ_*_CONFORM for interrupts on an unknown PIC type instead of failing attachment for that device.
OpenPOWER on IntegriCloud