Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/include Define _PCI_HAVE_DMA64 for aarch64



details:   https://anonhg.NetBSD.org/src/rev/6f02a09d31e4
branches:  trunk
changeset: 433304:6f02a09d31e4
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Thu Sep 06 22:30:34 2018 +0000

description:
Define _PCI_HAVE_DMA64 for aarch64

diffstat:

 sys/arch/arm/include/pci_machdep.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 0c39b325101b -r 6f02a09d31e4 sys/arch/arm/include/pci_machdep.h
--- a/sys/arch/arm/include/pci_machdep.h        Thu Sep 06 19:19:44 2018 +0000
+++ b/sys/arch/arm/include/pci_machdep.h        Thu Sep 06 22:30:34 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pci_machdep.h,v 1.12 2017/04/19 12:58:59 jmcneill Exp $        */
+/*     $NetBSD: pci_machdep.h,v 1.13 2018/09/06 22:30:34 jmcneill Exp $        */
 
 /*
  * Modified for arm32 by Mark Brinicombe
@@ -37,6 +37,10 @@
  * Machine-specific definitions for PCI autoconfiguration.
  */
 
+#ifdef __aarch64__
+#define _PCI_HAVE_DMA64
+#endif
+
 #include <sys/errno.h>
 
 /*



Home | Main Index | Thread Index | Old Index