summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2005-02-18 00:23:36 +0000
committernjl <njl@FreeBSD.org>2005-02-18 00:23:36 +0000
commit18a69f46e3ac23cb04aa2d1abf75f3aebf0c4e9a (patch)
treef4abd78e49b192efb6c1137801aa4a380e6e4218 /share
parentc54115d548403a18776fc113c093f02b9b1b7cd6 (diff)
downloadFreeBSD-src-18a69f46e3ac23cb04aa2d1abf75f3aebf0c4e9a.zip
FreeBSD-src-18a69f46e3ac23cb04aa2d1abf75f3aebf0c4e9a.tar.gz
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.
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud