summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjhibbits <jhibbits@FreeBSD.org>2014-01-19 00:23:59 +0000
committerjhibbits <jhibbits@FreeBSD.org>2014-01-19 00:23:59 +0000
commit7a272192f6d529c6c778e23fc4e6882ffe19c0a1 (patch)
treecb0a1f591cb71297b3e29cc9c797404d5ac8c714 /sys
parentea15a84683afb8d5458f1b934244dedec05043fd (diff)
downloadFreeBSD-src-7a272192f6d529c6c778e23fc4e6882ffe19c0a1.zip
FreeBSD-src-7a272192f6d529c6c778e23fc4e6882ffe19c0a1.tar.gz
There's actually no data in the PMU_GET_VERSION command. Don't send any.
This change now allows the PMU to be used on PowerBook5,8. MFC after: 1 week
Diffstat (limited to 'sys')
-rw-r--r--sys/powerpc/powermac/pmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/powermac/pmu.c b/sys/powerpc/powermac/pmu.c
index ca979d8..c6bd1b0 100644
--- a/sys/powerpc/powermac/pmu.c
+++ b/sys/powerpc/powermac/pmu.c
@@ -378,7 +378,7 @@ pmu_attach(device_t dev)
pmu_write_reg(sc, vIER, 0x94); /* make sure VIA interrupts are on */
pmu_send(sc, PMU_SYSTEM_READY, 1, cmd, 16, resp);
- pmu_send(sc, PMU_GET_VERSION, 1, cmd, 16, resp);
+ pmu_send(sc, PMU_GET_VERSION, 0, cmd, 16, resp);
/* Initialize child buses (ADB) */
node = ofw_bus_get_node(dev);
OpenPOWER on IntegriCloud