svn commit: r261177 - stable/10/sys/powerpc/powermac

Justin Hibbits jhibbits at FreeBSD.org
Sun Jan 26 02:23:17 UTC 2014


Author: jhibbits
Date: Sun Jan 26 02:23:16 2014
New Revision: 261177
URL: http://svnweb.freebsd.org/changeset/base/261177

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/10/sys/powerpc/powermac/pmu.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/powerpc/powermac/pmu.c
==============================================================================
--- stable/10/sys/powerpc/powermac/pmu.c	Sun Jan 26 01:27:53 2014	(r261176)
+++ stable/10/sys/powerpc/powermac/pmu.c	Sun Jan 26 02:23:16 2014	(r261177)
@@ -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);


More information about the svn-src-all mailing list