diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2018-07-02 04:21:19 -0400 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-07-31 19:56:41 +1000 |
commit | c16a85a5aad47d712860b42f0ca989b0cb62257a (patch) | |
tree | 8ad55e30af2d81e2e337cc2144fef4914810a0b6 /arch | |
parent | c70c35da52c064983199b1b1cbd4daa5a07ef60c (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 <userm57@yahoo.com>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions