Date: Sun, 26 Jan 2014 02:41:01 +0000 (UTC) From: Justin Hibbits <jhibbits@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r261179 - stable/9/sys/powerpc/powermac Message-ID: <201401260241.s0Q2f1Cc095449@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhibbits Date: Sun Jan 26 02:41:00 2014 New Revision: 261179 URL: http://svnweb.freebsd.org/changeset/base/261179 Log: 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. Modified: stable/9/sys/powerpc/powermac/pmu.c Directory Properties: stable/9/sys/ (props changed) Modified: stable/9/sys/powerpc/powermac/pmu.c ============================================================================== --- stable/9/sys/powerpc/powermac/pmu.c Sun Jan 26 02:36:06 2014 (r261178) +++ stable/9/sys/powerpc/powermac/pmu.c Sun Jan 26 02:41:00 2014 (r261179) @@ -365,7 +365,7 @@ pmu_attach(device_t dev) pmu_write_reg(sc, vIER, 0x90); /* 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?201401260241.s0Q2f1Cc095449>