aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFinn Thain <[email protected]>2018-07-02 04:21:19 -0400
committerMichael Ellerman <[email protected]>2018-07-31 19:56:41 +1000
commitc16a85a5aad47d712860b42f0ca989b0cb62257a (patch)
tree8ad55e30af2d81e2e337cc2144fef4914810a0b6 /tools/perf/scripts/python
parentc70c35da52c064983199b1b1cbd4daa5a07ef60c (diff)
macintosh/via-pmu: Add support for m68k PowerBooks
Put #ifdefs around the Open Firmware, xmon, interrupt dispatch, battery and suspend code. Add the necessary interrupt handling to support m68k PowerBooks. The pmu_kind value is available to userspace using the PMU_IOC_GET_MODEL ioctl. It is not clear yet what hardware classes are be needed to describe m68k PowerBook models, so pmu_kind is given the provisional value PMU_UNKNOWN. To find out about the hardware, user programs can use /proc/bootinfo or /proc/hardware, or send the PMU_GET_VERSION command using /dev/adb. Tested-by: Stan Johnson <[email protected]> Signed-off-by: Finn Thain <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions