git: 210e756d4b32 - main - linuxkpi: Define `IRQ_NOTCONNECTED`
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 13 Feb 2023 21:09:52 UTC
The branch main has been updated by dumbbell (ports committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=210e756d4b32f43e8cc5f748456158757892a46a
commit 210e756d4b32f43e8cc5f748456158757892a46a
Author: Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
AuthorDate: 2023-02-10 10:26:17 +0000
Commit: Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
CommitDate: 2023-02-13 21:09:32 +0000
linuxkpi: Define `IRQ_NOTCONNECTED`
Reviewed by: manu
Approved by: manu
Differential Revision: https://reviews.freebsd.org/D38539
---
sys/compat/linuxkpi/common/include/linux/interrupt.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sys/compat/linuxkpi/common/include/linux/interrupt.h b/sys/compat/linuxkpi/common/include/linux/interrupt.h
index f7915863525d..03fbcfa76245 100644
--- a/sys/compat/linuxkpi/common/include/linux/interrupt.h
+++ b/sys/compat/linuxkpi/common/include/linux/interrupt.h
@@ -47,6 +47,8 @@ typedef irqreturn_t (*irq_handler_t)(int, void *);
#define IRQ_DISABLE_UNLAZY 0
+#define IRQ_NOTCONNECTED (1U << 31)
+
int lkpi_request_irq(struct device *, unsigned int, irq_handler_t,
irq_handler_t, unsigned long, const char *, void *);
int lkpi_enable_irq(unsigned int);