]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
LinuxKPI: device: add device_set_wakeup_enable()
authorBjoern A. Zeeb <bz@FreeBSD.org>
Sat, 28 Jan 2023 15:18:24 +0000 (15:18 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Thu, 23 Feb 2023 19:31:52 +0000 (19:31 +0000)
commitc30972f3d0e4abd83f1eb8e3087dc7acd588a7d7
tree0312d5152eca3d3ce32150d436488c8b7c15a174
parenta6f89b2b5f7e94be6dd14139ff0633526eed9968
LinuxKPI: device: add device_set_wakeup_enable()

Add a dummy device_set_wakeup_enable() which is used for WoWLAN which we
do not (yet) support and device_wakeup_enable() which is a wrapper to the
former with the enable argument being true.

Sponsored by: The FreeBSD Foundation
Approved by: re (cperciva)
Differential Revision: https://reviews.freebsd.org/D38238

(cherry picked from commit ffdf10fb9cf13464801f2d78d3e1470201394812)
(cherry picked from commit b45e9a172d3830bed00018325eaa73c04a0b3a13)
sys/compat/linuxkpi/common/include/linux/device.h