diff --git a/sys/platform/pc32/acpica5/acpi_pstate_machdep.c b/sys/platform/pc32/acpica5/acpi_pstate_machdep.c index 6e09388..50ee357 100644 --- a/sys/platform/pc32/acpica5/acpi_pstate_machdep.c +++ b/sys/platform/pc32/acpica5/acpi_pstate_machdep.c @@ -156,8 +156,10 @@ acpi_pst_amd_probe(void) { uint32_t regs[4], ext_family; +#if 0 if ((cpu_id & 0x00000f00) != 0x00000f00) return NULL; +#endif /* Check whether APMI exists */ do_cpuid(0x80000000, regs); @@ -350,11 +352,13 @@ acpi_pst_amd0f_check_pstates(const struct acpi_pstate *pstates, int npstates) mvs = AMD0F_PST_CTL_MVS(p->st_cval); rvo = AMD0F_PST_CTL_RVO(p->st_cval); +#if 0 /* Only 0 is allowed, i.e. 25mV stepping */ if (mvs != 0) { kprintf("cpu%d: Invalid MVS %#x\n", mycpuid, mvs); return EINVAL; } +#endif /* -> mV */ mvs_mv = 25 * (1 << mvs);