http://defect.opensolaris.org/bz/show_bug.cgi?id=6113





--- Comment #16 from J?rgen Keil <jrgn.keil at googlemail.com>  2009-01-27 
07:25:53 ---
Any why is "plat_level = max_level;" used when an out of range 
_PPC index is found?  Doesn't that result in the ASUS_W5F notebook
always running at the slowest possible speed?

       1 --- a/usr/src/uts/i86pc/io/cpudrv/cpudrv_mach.c
       2 +++ b/usr/src/uts/i86pc/io/cpudrv/cpudrv_mach.c
      ...
      32 +      max_level = cpupm->num_spd - 1;
      33 +      if ((plat_level < 0) || (plat_level > max_level)) {
      34 +              cmn_err(CE_NOTE, "!cpudrv_pm_get_topspeed: instance %d:
"
      35 +                  "_PPC out of range %d", instance, plat_level);
      36 +
      37 +              plat_level = max_level;                        <<<<<<<<
      38 +      }


My suggested fix for this problem did use "plat_level = 0;" ...

-- 
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Reply via email to