Module Name: src Committed By: kiyohara Date: Sun Aug 7 14:47:05 UTC 2011
Modified Files: src/sys/arch/powerpc/oea: prep_machdep.c Log Message: Set BeBox Mainboard Registers space to BAT register. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/arch/powerpc/oea/prep_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/powerpc/oea/prep_machdep.c diff -u src/sys/arch/powerpc/oea/prep_machdep.c:1.7 src/sys/arch/powerpc/oea/prep_machdep.c:1.8 --- src/sys/arch/powerpc/oea/prep_machdep.c:1.7 Fri Jul 1 18:59:19 2011 +++ src/sys/arch/powerpc/oea/prep_machdep.c Sun Aug 7 14:47:05 2011 @@ -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);