On Tue, Nov 9, 2010 at 11:26 PM, Mark Kettenis <[email protected]>
wrote:
> As can be seen from PR 6508, the current implementation of the
> acpibat(4) notify stuff causes infinite recursion.  The AML for that
> particular machine will execute a Notify(\_SC.BAT, 0x81) from the
> _BST() method.  Since we always execute both _BST() and _BIF() from
> the \_SC.BAT notify handler it's easy to see that things go wrong.
> The fix is to only call _BST() if the notify value is 0x80 (or 0x00
> for the "poll" case) and only call _BIF() if the notify value is 0x81.
>
> This diff also simplifies the battery presence detect logic, which was
> unecessaryly complex.
>
> ok?
>

ok mikeb

Reply via email to