Author: avg
Date: Sat Oct  6 19:06:23 2012
New Revision: 241278
URL: http://svn.freebsd.org/changeset/base/241278

Log:
  MFC r240343: rc.d/power_profile: use recently added Cmax for cx_lowest

Modified:
  stable/8/etc/rc.d/power_profile
Directory Properties:
  stable/8/etc/   (props changed)

Modified: stable/8/etc/rc.d/power_profile
==============================================================================
--- stable/8/etc/rc.d/power_profile     Sat Oct  6 19:06:09 2012        
(r241277)
+++ stable/8/etc/rc.d/power_profile     Sat Oct  6 19:06:23 2012        
(r241278)
@@ -81,8 +81,7 @@ esac
 # Set the various sysctls based on the profile's values.
 node="hw.acpi.cpu.cx_lowest"
 highest_value="C1"
-lowest_value="`(sysctl -n dev.cpu.0.cx_supported | \
-       awk '{ print "C" split($0, a) }' -) 2> /dev/null`"
+lowest_value="Cmax"
 eval value=\$${profile}_cx_lowest
 sysctl_set
 
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to