Date: Wed, 7 Sep 2022 15:10:14 GMT From: Emmanuel Vadot <manu@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: d3d30e4d2f79 - stable/13 - linuxkpi: Add more notifier defines Message-ID: <202209071510.287FAEcu022351@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=d3d30e4d2f79015b07c42c2286d52e0254ec8c00 commit d3d30e4d2f79015b07c42c2286d52e0254ec8c00 Author: Emmanuel Vadot <manu@FreeBSD.org> AuthorDate: 2022-07-27 07:55:06 +0000 Commit: Emmanuel Vadot <manu@FreeBSD.org> CommitDate: 2022-09-07 15:09:04 +0000 linuxkpi: Add more notifier defines Needded by drm-kmod. Reviewed by: bz, emaste, hselasky Obtained from: drm-kmod Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D36018 (cherry picked from commit 7d2702a1983945210a1daa30b6e09ea7eb7b24d3) --- sys/compat/linuxkpi/common/include/linux/notifier.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys/compat/linuxkpi/common/include/linux/notifier.h b/sys/compat/linuxkpi/common/include/linux/notifier.h index cafbb64f3f3e..bd822d73d5e3 100644 --- a/sys/compat/linuxkpi/common/include/linux/notifier.h +++ b/sys/compat/linuxkpi/common/include/linux/notifier.h @@ -34,7 +34,10 @@ #include <sys/types.h> #include <sys/eventhandler.h> -#define NOTIFY_DONE 0 +#define NOTIFY_DONE 0 +#define NOTIFY_OK 0x0001 +#define NOTIFY_STOP_MASK 0x8000 +#define NOTIFY_BAD (NOTIFY_STOP_MASK | 0x0002) enum { NETDEV_CHANGE,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202209071510.287FAEcu022351>