[BACK]Return to fcu.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / macppc / dev

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/arch/macppc/dev/fcu.c between version 1.2 and 1.3

version 1.2, 2021/07/27 23:38:42 version 1.3, 2021/07/28 00:59:10
Line 490  fcu_adjust(void *cookie)
Line 490  fcu_adjust(void *cookie)
                 sc->sc_pwm = FALSE;                  sc->sc_pwm = FALSE;
                 for (i = 0; i < FCU_ZONE_COUNT; i++)                  for (i = 0; i < FCU_ZONE_COUNT; i++)
                         fancontrol_adjust_zone(&sc->sc_zones[i]);                          fancontrol_adjust_zone(&sc->sc_zones[i]);
                 kpause("fanctrl", true, mstohz(sc->sc_pwm ? 1000 : 5000), NULL);                  /*
                    * take a shorter nap if we're in the proccess of adjusting a
                    * PWM fan, which relies on measuring speed and then changing
                    * its duty cycle until we're reasonable close to the target
                    * speed
                    */
                   kpause("fanctrl", true, mstohz(sc->sc_pwm ? 1000 : 2000), NULL);
         }          }
         kthread_exit(0);          kthread_exit(0);
 }  }

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

CVSweb <webmaster@jp.NetBSD.org>