Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Aug 2022 14:04:23 GMT
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 7d2702a19839 - main - linuxkpi: Add more notifier defines
Message-ID:  <202208081404.278E4NlU088940@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=7d2702a1983945210a1daa30b6e09ea7eb7b24d3

commit 7d2702a1983945210a1daa30b6e09ea7eb7b24d3
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2022-07-27 07:55:06 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-08-08 13:22:35 +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
---
 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?202208081404.278E4NlU088940>