acpi/pstate: Adjust FID/VID verification for AMD 0Fh family CPUs
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 16 Mar 2011 13:28:16 +0000 (21:28 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 16 Mar 2011 13:54:40 +0000 (21:54 +0800)
commited468a9acfb6c2a578281394cffdcd81be04598a
tree8dbc8f312a957ea8dd0d9f94f4f635878bdeacf0
parente41b9af504e954c28c82731d41e9b835f87d01c1
acpi/pstate: Adjust FID/VID verification for AMD 0Fh family CPUs

- If min/max are same, then there is only one P-State, which does
  not make sense to have the P-State sysctl tree.
- If the first and last P-State entres do not match max/min, then
  just log a warning message.
- The original FID/VID checks should only be applied to intermediate
  P-States.
- Correct FID check against min FID.
sys/platform/pc32/acpica5/acpi_pstate_machdep.c
sys/platform/pc64/acpica5/acpi_pstate_machdep.c