diff options
author | jhibbits <jhibbits@FreeBSD.org> | 2014-01-26 02:23:16 +0000 |
---|---|---|
committer | jhibbits <jhibbits@FreeBSD.org> | 2014-01-26 02:23:16 +0000 |
commit | 5c96f061e7bff64c2387d5fd90ff095b71ce59b2 (patch) | |
tree | fbcbc932828739e69dd35db05e367d7f617fa9be /sys/powerpc/powermac | |
parent | db6e97e28efb01c634cde294414c0d121a016168 (diff) | |
download | FreeBSD-src-5c96f061e7bff64c2387d5fd90ff095b71ce59b2.zip FreeBSD-src-5c96f061e7bff64c2387d5fd90ff095b71ce59b2.tar.gz |
MFC r260872:
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
Diffstat (limited to 'sys/powerpc/powermac')
-rw-r--r-- | sys/powerpc/powermac/pmu.c | 2 |
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); |