Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/oea Set BeBox Mainboard Registers space to ...



details:   https://anonhg.NetBSD.org/src/rev/dac62f2fcc17
branches:  trunk
changeset: 768070:dac62f2fcc17
user:      kiyohara <kiyohara%NetBSD.org@localhost>
date:      Sun Aug 07 14:47:05 2011 +0000

description:
Set BeBox Mainboard Registers space to BAT register.

diffstat:

 sys/arch/powerpc/oea/prep_machdep.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 45288197205a -r dac62f2fcc17 sys/arch/powerpc/oea/prep_machdep.c
--- a/sys/arch/powerpc/oea/prep_machdep.c       Sun Aug 07 14:39:15 2011 +0000
+++ b/sys/arch/powerpc/oea/prep_machdep.c       Sun Aug 07 14:47:05 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: prep_machdep.c,v 1.7 2011/07/01 18:59:19 dyoung Exp $ */
+/* $NetBSD: prep_machdep.c,v 1.8 2011/08/07 14:47:05 kiyohara Exp $ */
 
 /*-
  * Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: prep_machdep.c,v 1.7 2011/07/01 18:59:19 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: prep_machdep.c,v 1.8 2011/08/07 14:47:05 kiyohara Exp $");
 
 #include "opt_modular.h"
 
@@ -147,7 +147,9 @@
        oea_batinit(
            PREP_BUS_SPACE_MEM, BAT_BL_256M,
            PREP_BUS_SPACE_IO,  BAT_BL_256M,
-#ifdef prep
+#if defined(bebox)
+           0x7ffff000, BAT_BL_128K,    /* BeBox Mainboard Registers (4KB) */
+#elif defined(prep)
            0xbf800000, BAT_BL_8M,
 #endif
            0);



Home | Main Index | Thread Index | Old Index