Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/include Make PHYS_ASI() also recognize litt...



details:   https://anonhg.NetBSD.org/src/rev/f87ceb174dc6
branches:  trunk
changeset: 520594:f87ceb174dc6
user:      eeh <eeh%NetBSD.org@localhost>
date:      Mon Jan 14 20:44:30 2002 +0000

description:
Make PHYS_ASI() also recognize little-endian ASIs.

diffstat:

 sys/arch/sparc64/include/ctlreg.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 2b4983a668a7 -r f87ceb174dc6 sys/arch/sparc64/include/ctlreg.h
--- a/sys/arch/sparc64/include/ctlreg.h Mon Jan 14 19:59:31 2002 +0000
+++ b/sys/arch/sparc64/include/ctlreg.h Mon Jan 14 20:44:30 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ctlreg.h,v 1.28 2001/08/06 23:55:34 eeh Exp $ */
+/*     $NetBSD: ctlreg.h,v 1.29 2002/01/14 20:44:30 eeh Exp $ */
 
 /*
  * Copyright (c) 1996-2001 Eduardo Horvath
@@ -178,7 +178,7 @@
 #define ASI_SECONDARY_NO_FAULT         ASI_SECONDARY_NOFAULT
 #define ASI_SECONDARY_NO_FAULT_LITTLE  ASI_SECONDARY_NOFAULT_LITTLE
 
-#define        PHYS_ASI(x)     (((x) | 0x08) == 0x1c)
+#define        PHYS_ASI(x)     (((x) | 0x09) == 0x1d)
 #define        LITTLE_ASI(x)   ((x) & ASI_LITTLE)
 
 /* 



Home | Main Index | Thread Index | Old Index