yeah the spec tells us to. Why?
On Tue, Nov 20, 2007 at 11:52:33AM +0100, giovanni wrote:
> hello,
>
> any reason for evaluating _STA before _PSR for getting AC status?
>
> if (aml_evalname(sc->sc_acpi, sc->sc_devnode, "_STA", 0, NULL, NULL))
> {
> dnprintf(10, "%s: no _STA\n",
> DEVNAME(sc));
> }
>
> if (aml_evalname(sc->sc_acpi, sc->sc_devnode, "_PSR", 0, NULL, &res))
> {
> dnprintf(10, "%s: no _PSR\n",
> DEVNAME(sc));
> return (1);
>
> --
> see ya,
> giovanni- acpiac giovanni
- Re: acpiac Marco Peereboom
- Re: acpiac giovanni
- Re: acpiac Marco Peereboom

