Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mvme68k/dev Forgot to shift the DRAM Bank identifie...



details:   https://anonhg.NetBSD.org/src/rev/219e8b350980
branches:  trunk
changeset: 513286:219e8b350980
user:      scw <scw%NetBSD.org@localhost>
date:      Fri Jul 27 20:33:35 2001 +0000

description:
Forgot to shift the DRAM Bank identifiers by four.

diffstat:

 sys/arch/mvme68k/dev/memc.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (24 lines):

diff -r 6a10b2777b94 -r 219e8b350980 sys/arch/mvme68k/dev/memc.c
--- a/sys/arch/mvme68k/dev/memc.c       Fri Jul 27 19:49:45 2001 +0000
+++ b/sys/arch/mvme68k/dev/memc.c       Fri Jul 27 20:33:35 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: memc.c,v 1.4 2001/07/27 18:38:55 scw Exp $     */
+/*     $NetBSD: memc.c,v 1.5 2001/07/27 20:33:35 scw Exp $     */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -101,10 +101,10 @@
  * corrected.
  */
 #define MEMECC_SYN_BIT_MASK            0x0fu
-#define MEMECC_SYN_BANK_A              0x00u
-#define MEMECC_SYN_BANK_B              0x01u
-#define MEMECC_SYN_BANK_C              0x10u
-#define MEMECC_SYN_BANK_D              0x11u
+#define MEMECC_SYN_BANK_A              (0x00u << 4)
+#define MEMECC_SYN_BANK_B              (0x01u << 4)
+#define MEMECC_SYN_BANK_C              (0x02u << 4)
+#define MEMECC_SYN_BANK_D              (0x03u << 4)
 #define MEMECC_SYN_BANK_SHIFT          4
 #define MEMECC_SYN_BANK_MASK           0x03u
 #define MEMECC_SYN_CHECKBIT_ERR                0x80u



Home | Main Index | Thread Index | Old Index