summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/diffdir.c
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2010-11-10 21:40:55 +0000
committerkettenis <kettenis@openbsd.org>2010-11-10 21:40:55 +0000
commitd1f44921107ef8e9365ab5556ab856cb2733dd29 (patch)
treec1a75e55d3595c4cc0fff701bbfdb984955b7fd0 /usr.bin/diff/diffdir.c
parentSeveral updates for the Osprey (AR9380): (diff)
downloadwireguard-openbsd-d1f44921107ef8e9365ab5556ab856cb2733dd29.tar.xz
wireguard-openbsd-d1f44921107ef8e9365ab5556ab856cb2733dd29.zip
The acpibat(4) notify function should not unconditionally call both _BIF
and _BST. Some machines (like the Toshiba Satellite Pro U550 18F mentioned in PR 6508) have AML that does a Notify(0x81) from the _BST method, which leads to infinite recursion. Instead call _BIF when the argument is 0x81 and call _BST when the argument is 0x80 or 0x00 (the latter indicates we're polling). Simplify the battery detection logic while there. ok mikeb@, marco@
Diffstat (limited to 'usr.bin/diff/diffdir.c')
0 files changed, 0 insertions, 0 deletions