Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Feb 2005 00:23:36 +0000 (UTC)
From:      Nate Lawson <njl@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern cpufreq_if.m kern_cpu.c src/sys/dev/acpica acpi_perf.c acpi_throttle.c src/sys/dev/cpufreq ichss.c
Message-ID:  <200502180023.j1I0NaTF056421@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
njl         2005-02-18 00:23:36 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             cpufreq_if.m kern_cpu.c 
    sys/dev/acpica       acpi_throttle.c acpi_perf.c 
    sys/dev/cpufreq      ichss.c 
  Log:
  Introduce a new method, cpufreq_drv_type(), that returns the type of the
  driver.  This used to be handled by cpufreq_drv_settings() but it's
  useful to get the type/flags separately from getting the settings.
  (For example, you don't have to pass an array of cf_setting just to find
  the driver type.)
  
  Use this new method in our in-tree drivers to detect reliably if acpi_perf
  is present and owns the hardware.  This simplifies logic in drivers as well
  as fixing a bug introduced in my last commit where too many drivers attached.
  
  Revision  Changes    Path
  1.9       +19 -5     src/sys/dev/acpica/acpi_perf.c
  1.4       +15 -3     src/sys/dev/acpica/acpi_throttle.c
  1.5       +18 -9     src/sys/dev/cpufreq/ichss.c
  1.2       +8 -0      src/sys/kern/cpufreq_if.m
  1.8       +7 -6      src/sys/kern/kern_cpu.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502180023.j1I0NaTF056421>