Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/arch/sparc64/sparc64 Pullup 1.89 [eeh]:



details:   https://anonhg.NetBSD.org/src/rev/44f86efcf200
branches:  netbsd-1-5
changeset: 489778:44f86efcf200
user:      tv <tv%NetBSD.org@localhost>
date:      Tue Oct 17 02:11:00 2000 +0000

description:
Pullup 1.89 [eeh]:
Add bus_space*stream*() methods.

diffstat:

 sys/arch/sparc64/sparc64/machdep.c |  30 ++++++++++++++++++++++++------
 1 files changed, 24 insertions(+), 6 deletions(-)

diffs (52 lines):

diff -r 68907c86651c -r 44f86efcf200 sys/arch/sparc64/sparc64/machdep.c
--- a/sys/arch/sparc64/sparc64/machdep.c        Tue Oct 17 02:07:11 2000 +0000
+++ b/sys/arch/sparc64/sparc64/machdep.c        Tue Oct 17 02:11:00 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.68.2.5 2000/08/07 01:23:34 mrg Exp $ */
+/*     $NetBSD: machdep.c,v 1.68.2.6 2000/10/17 02:11:00 tv Exp $ */
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -172,7 +172,16 @@
        ASI_PHYS_NON_CACHED,                    /* SBUS */
        ASI_PHYS_NON_CACHED_LITTLE,             /* PCI configuration space */
        ASI_PHYS_NON_CACHED_LITTLE,             /* PCI memory space */
-       ASI_PHYS_NON_CACHED_LITTLE,                     /* PCI I/O space */
+       ASI_PHYS_NON_CACHED_LITTLE,             /* PCI I/O space */
+       0
+};
+
+int bus_stream_asi[] = {
+       ASI_PHYS_NON_CACHED,                    /* UPA */
+       ASI_PHYS_NON_CACHED,                    /* SBUS */
+       ASI_PHYS_NON_CACHED,                    /* PCI configuration space */
+       ASI_PHYS_NON_CACHED,                    /* PCI memory space */
+       ASI_PHYS_NON_CACHED,                    /* PCI I/O space */
        0
 };
 #else
@@ -180,11 +189,20 @@
  * MMU access - we want to use the MMU for all this..
  */
 int bus_type_asi[] = {
-       ASI_PRIMARY,
-       ASI_PRIMARY,
+       ASI_PRIMARY,                            /* UPA */
+       ASI_PRIMARY,                            /* SBUS */
        ASI_PHYS_NON_CACHED_LITTLE,             /* PCI configuration space */
-       ASI_PRIMARY,
-       ASI_PRIMARY,
+       ASI_PRIMARY,                            /* PCI memory space */
+       ASI_PRIMARY,                            /* PCI I/O space */
+       0
+};
+
+int bus_stream_asi[] = {
+       ASI_PRIMARY,                            /* UPA */
+       ASI_PRIMARY,                            /* SBUS */
+       ASI_PHYS_NON_CACHED,                    /* PCI configuration space */
+       ASI_PRIMARY_LITTLE,                     /* PCI memory space */
+       ASI_PRIMARY_LITTLE,                     /* PCI I/O space */
        0
 };
 #endif



Home | Main Index | Thread Index | Old Index