John Baldwin be00f6053b Fix a few edge cases with error handling in cpufreq(4)'s CPUFREQ_GET()
method:
- If the last of the child cpufreq drivers returns an error while trying to
  fetch its list of supported frequencies but an earlier driver found the
  requested frequency, don't return an error to the caller.
- If all of the child cpufreq drivers fail and the attempt to match the
  frequency based on 'cpu_est_clockrate()' fails, return ENXIO rather than
  returning success and returning a frequency of CPUFREQ_VAL_UNKNOWN.

MFC after:	3 days
PR:		kern/121433
Reported by:	Eugene Grosbein  eugen ! kuzbass dot ru
2008-05-05 19:13:52 +00:00
..
2008-03-31 12:12:27 +00:00
2008-03-31 12:05:52 +00:00
2008-04-16 14:08:12 +00:00
2008-03-07 15:27:08 +00:00
2008-04-29 05:48:05 +00:00
2007-04-23 12:53:00 +00:00
2007-12-14 21:30:51 +00:00
2008-03-19 07:33:16 +00:00
2008-03-31 12:12:27 +00:00
2008-03-31 12:12:27 +00:00
2008-02-04 12:25:13 +00:00
2008-04-08 09:45:49 +00:00