The branch main has been updated by manu:

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

commit 7d2702a1983945210a1daa30b6e09ea7eb7b24d3
Author:     Emmanuel Vadot <[email protected]>
AuthorDate: 2022-07-27 07:55:06 +0000
Commit:     Emmanuel Vadot <[email protected]>
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,

Reply via email to