aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJustin Hibbits <jhibbits@FreeBSD.org>2014-01-19 00:23:59 +0000
committerJustin Hibbits <jhibbits@FreeBSD.org>2014-01-19 00:23:59 +0000
commitfeb0538308ee350479fb69db10973f01599a0992 (patch)
treecb0a1f591cb71297b3e29cc9c797404d5ac8c714 /sys
parent9db69902c6efff5769afc5fb0d8385089d3e1293 (diff)
downloadsrc-feb0538308ee350479fb69db10973f01599a0992.tar.gz
src-feb0538308ee350479fb69db10973f01599a0992.zip
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
Notes
Notes: svn path=/head/; revision=260872
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 ca979d8c9238..c6bd1b053ae2 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);