acpi/pstate: Increase max supported P-states
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 10 Jul 2015 14:06:31 +0000 (22:06 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 10 Jul 2015 15:35:23 +0000 (23:35 +0800)
Intel Broadwell cpus could have 16 P-states.

sys/dev/acpica/acpi_cpu_pstate.c

index 312ae13..b5791fa 100644 (file)
@@ -53,7 +53,7 @@
 #include "acpi_cpu.h"
 #include "acpi_cpu_pstate.h"
 
-#define ACPI_NPSTATE_MAX       16
+#define ACPI_NPSTATE_MAX       32
 
 #define ACPI_PSS_PX_NENTRY     6