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);
_______________________________________________
svn-src-stable-9@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-stable-9
To unsubscribe, send any mail to "svn-src-stable-9-unsubscr...@freebsd.org"

Reply via email to