diff --git a/sys/dev/acpi/acpi_cpu_cstate.c b/sys/dev/acpi/acpi_cpu_cstate.c index be0fa9f74e77..f717ebf0ea06 100644 --- a/sys/dev/acpi/acpi_cpu_cstate.c +++ b/sys/dev/acpi/acpi_cpu_cstate.c @@ -1,4 +1,4 @@ -/* $NetBSD: acpi_cpu_cstate.c,v 1.58 2011/10/13 05:20:45 jruoho Exp $ */ +/* $NetBSD: acpi_cpu_cstate.c,v 1.59 2012/02/25 17:22:52 jruoho Exp $ */ /*- * Copyright (c) 2010, 2011 Jukka Ruohonen @@ -27,7 +27,7 @@ * SUCH DAMAGE. */ #include -__KERNEL_RCSID(0, "$NetBSD: acpi_cpu_cstate.c,v 1.58 2011/10/13 05:20:45 jruoho Exp $"); +__KERNEL_RCSID(0, "$NetBSD: acpi_cpu_cstate.c,v 1.59 2012/02/25 17:22:52 jruoho Exp $"); #include #include @@ -243,8 +243,6 @@ acpicpu_cstate_cst_add(struct acpicpu_softc *sc, ACPI_OBJECT *elm) (void)memset(&state, 0, sizeof(*cs)); - state.cs_flags = ACPICPU_FLAG_C_BM_STS; - if (elm->Type != ACPI_TYPE_PACKAGE) { rv = AE_TYPE; goto out; @@ -350,6 +348,9 @@ acpicpu_cstate_cst_add(struct acpicpu_softc *sc, ACPI_OBJECT *elm) break; + case ACPI_STATE_C3: /* FALLTHROUGH */ + state.cs_flags = ACPICPU_FLAG_C_BM_STS; + default: if ((sc->sc_flags & ACPICPU_FLAG_C_FFH) == 0) {