diff options
author | Emmanuel Vadot <manu@FreeBSD.org> | 2022-07-27 07:55:06 +0000 |
---|---|---|
committer | Emmanuel Vadot <manu@FreeBSD.org> | 2022-08-08 13:22:35 +0000 |
commit | 7d2702a1983945210a1daa30b6e09ea7eb7b24d3 (patch) | |
tree | 92dba8d238dc6ea4ad2f19211885d5e105444517 | |
parent | 2d4b17685fd2891ffc28590a408df4b96d218b05 (diff) | |
download | src-7d2702a1983945210a1daa30b6e09ea7eb7b24d3.tar.gz src-7d2702a1983945210a1daa30b6e09ea7eb7b24d3.zip |
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
-rw-r--r-- | sys/compat/linuxkpi/common/include/linux/notifier.h | 5 |
1 files changed, 4 insertions, 1 deletions
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, |