Re: [2.5.50, ACPI] link error

From: Roman Zippel (zippel@linux-m68k.org)
Date: Thu Dec 05 2002 - 11:47:42 EST


Hi,

On Thu, 5 Dec 2002, Shawn Starr wrote:

> SLEEP SUSPEND SLEEP visible SUSPEND visible
> n n y n
> y n y y
> y y y y
>
> We really do need recursive support though. A user should not be able to
> select SOFTWARE_SUSPEND without SLEEP selected.

So just let SOFTWARE_SUSPEND depend on ACPI_SLEEP, if ACPI_SLEEP is
independent it doesn't has to depend on SUSPEND.
Another possibility is that you might want to restore the old behaviour,
that SOFTWARE_SUSPEND is always visible and forces ACPI_SLEEP to y if
needed, but then you have to explicitly disable the user prompt and
SOFTWARE_SUSPEND must not depend on ACPI_SLEEP:

config ACPI_SLEEP
        bool "Sleep States" if !SOFTWARE_SUSPEND
        default SOFTWARE_SUSPEND

config SOFTWARE_SUSPEND
        bool "Software Suspend (EXPERIMENTAL)"
        depends on EXPERIMENTAL && PM

bye, Roman

PS: Could you check your mailer why your mails don't reach lkml?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Dec 07 2002 - 22:00:23 EST