Port-i386 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [PATCH] x86/intr.c: fix build if NO_PCI_MSI_MSIX is defined



Hi,

The patch was already applied, thanks.

On Wed, Apr 24, 2024, 18:47 Paolo Pisati <p.pisati%gmail.com@localhost> wrote:
...
/home/flag/bsd/netbsd/src/sys/arch/x86/x86/intr.c: In function 'intr_create_intrid':
/home/flag/bsd/netbsd/src/sys/arch/x86/x86/intr.c:315:34: error: 'MSI_INT_DEV_MASK' undeclared (first use in this function)
  315 |   pih = __SHIFTIN((uint64_t)dev, MSI_INT_DEV_MASK)
      |                                  ^~~~~~~~~~~~~~~~
...

Signed-off-by: Paolo Pisati <p.pisati%gmail.com@localhost>
---
 sys/arch/x86/x86/intr.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/arch/x86/x86/intr.c b/sys/arch/x86/x86/intr.c
index a94ea7f17707..beb3dab5673b 100644
--- a/sys/arch/x86/x86/intr.c
+++ b/sys/arch/x86/x86/intr.c
@@ -138,6 +138,7 @@ __KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.167 2024/03/05 20:58:05 andvar Exp $");
 #include "opt_intrdebug.h"
 #include "opt_multiprocessor.h"
 #include "opt_acpi.h"
+#include "opt_pci.h"

 #include <sys/param.h>
 #include <sys/systm.h>
--
2.34.1



Home | Main Index | Thread Index | Old Index