Date: Sun, 19 Jan 2014 00:24:00 +0000 (UTC) From: Justin Hibbits <jhibbits@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r260872 - head/sys/powerpc/powermac Message-ID: <201401190024.s0J0O0fb018098@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhibbits Date: Sun Jan 19 00:23:59 2014 New Revision: 260872 URL: http://svnweb.freebsd.org/changeset/base/260872 Log: 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 Modified: head/sys/powerpc/powermac/pmu.c Modified: head/sys/powerpc/powermac/pmu.c ============================================================================== --- head/sys/powerpc/powermac/pmu.c Sat Jan 18 23:48:20 2014 (r260871) +++ head/sys/powerpc/powermac/pmu.c Sun Jan 19 00:23:59 2014 (r260872) @@ -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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401190024.s0J0O0fb018098>