Source-Changes-HG archive

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

[src/trunk]: src/sys/arch move __HAVE_PCI_MSI_MSIX to <x86/pci_machdep_common.h>



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

description:
move __HAVE_PCI_MSI_MSIX to <x86/pci_machdep_common.h>

diffstat:

 sys/arch/amd64/include/types.h            |  5 +----
 sys/arch/i386/include/types.h             |  5 +----
 sys/arch/x86/include/pci_machdep_common.h |  6 +++++-
 3 files changed, 7 insertions(+), 9 deletions(-)

diffs (58 lines):

diff -r 3bc43337560a -r dc19e54903f9 sys/arch/amd64/include/types.h
--- a/sys/arch/amd64/include/types.h    Sat Aug 01 12:04:46 2020 +0000
+++ b/sys/arch/amd64/include/types.h    Sat Aug 01 12:14:39 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: types.h,v 1.68 2020/05/04 15:55:56 jdolecek Exp $      */
+/*     $NetBSD: types.h,v 1.69 2020/08/01 12:14:39 jdolecek Exp $      */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -100,9 +100,6 @@
 #define        __HAVE_MM_MD_DIRECT_MAPPED_IO
 #define        __HAVE_MM_MD_DIRECT_MAPPED_PHYS
 #define        __HAVE_UCAS_FULL
-#if !defined(NO_PCI_MSI_MSIX)
-#define        __HAVE_PCI_MSI_MSIX
-#endif
 
 #ifdef _KERNEL_OPT
 #define        __HAVE_RAS
diff -r 3bc43337560a -r dc19e54903f9 sys/arch/i386/include/types.h
--- a/sys/arch/i386/include/types.h     Sat Aug 01 12:04:46 2020 +0000
+++ b/sys/arch/i386/include/types.h     Sat Aug 01 12:14:39 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: types.h,v 1.91 2020/05/04 15:55:56 jdolecek Exp $      */
+/*     $NetBSD: types.h,v 1.92 2020/08/01 12:14:40 jdolecek Exp $      */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -133,9 +133,6 @@
 #define        __HAVE_TLS_VARIANT_II
 #define        __HAVE_COMMON___TLS_GET_ADDR
 #define        __HAVE_UCAS_FULL
-#if !defined(NO_PCI_MSI_MSIX)
-#define __HAVE_PCI_MSI_MSIX
-#endif
 #define        __HAVE_RAS
 
 #endif /* _I386_MACHTYPES_H_ */
diff -r 3bc43337560a -r dc19e54903f9 sys/arch/x86/include/pci_machdep_common.h
--- a/sys/arch/x86/include/pci_machdep_common.h Sat Aug 01 12:04:46 2020 +0000
+++ b/sys/arch/x86/include/pci_machdep_common.h Sat Aug 01 12:14:39 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pci_machdep_common.h,v 1.24 2020/04/25 15:26:18 bouyer Exp $   */
+/*     $NetBSD: pci_machdep_common.h,v 1.25 2020/08/01 12:14:40 jdolecek Exp $ */
 
 /*
  * Copyright (c) 1996 Christopher G. Demetriou.  All rights reserved.
@@ -33,6 +33,10 @@
 #ifndef _X86_PCI_MACHDEP_COMMON_H_
 #define _X86_PCI_MACHDEP_COMMON_H_
 
+#if !defined(NO_PCI_MSI_MSIX)
+#define __HAVE_PCI_MSI_MSIX
+#endif
+
 /*
  * Machine-specific definitions for PCI autoconfiguration.
  */



Home | Main Index | Thread Index | Old Index