Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/xen/x86 adjust includes to pull __HAVE_PCI_MSI_MSIX...



details:   https://anonhg.NetBSD.org/src/rev/cabaed561f53
branches:  trunk
changeset: 936665:cabaed561f53
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sat Aug 01 12:39:40 2020 +0000

description:
adjust includes to pull __HAVE_PCI_MSI_MSIX properly

diffstat:

 sys/arch/xen/x86/pintr.c    |  5 ++++-
 sys/arch/xen/x86/xen_intr.c |  5 +++--
 2 files changed, 7 insertions(+), 3 deletions(-)

diffs (48 lines):

diff -r f574ee499563 -r cabaed561f53 sys/arch/xen/x86/pintr.c
--- a/sys/arch/xen/x86/pintr.c  Sat Aug 01 12:36:35 2020 +0000
+++ b/sys/arch/xen/x86/pintr.c  Sat Aug 01 12:39:40 2020 +0000
@@ -103,12 +103,13 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pintr.c,v 1.19 2020/07/19 16:20:36 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pintr.c,v 1.20 2020/08/01 12:39:40 jdolecek Exp $");
 
 #include "opt_multiprocessor.h"
 #include "opt_xen.h"
 #include "isa.h"
 #include "pci.h"
+#include "opt_pci.h"
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -126,6 +127,8 @@
 #include <xen/evtchn.h>
 #include <xen/intr.h>
 
+#include <dev/pci/pcivar.h>
+
 #ifdef __HAVE_PCI_MSI_MSIX
 #include <x86/pci/msipic.h>
 #endif
diff -r f574ee499563 -r cabaed561f53 sys/arch/xen/x86/xen_intr.c
--- a/sys/arch/xen/x86/xen_intr.c       Sat Aug 01 12:36:35 2020 +0000
+++ b/sys/arch/xen/x86/xen_intr.c       Sat Aug 01 12:39:40 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: xen_intr.c,v 1.27 2020/05/07 19:48:58 bouyer Exp $     */
+/*     $NetBSD: xen_intr.c,v 1.28 2020/08/01 12:39:40 jdolecek Exp $   */
 
 /*-
  * Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
@@ -30,9 +30,10 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xen_intr.c,v 1.27 2020/05/07 19:48:58 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xen_intr.c,v 1.28 2020/08/01 12:39:40 jdolecek Exp $");
 
 #include "opt_multiprocessor.h"
+#include "opt_pci.h"
 
 #include <sys/param.h>
 #include <sys/kernel.h>



Home | Main Index | Thread Index | Old Index