Module Name: src Committed By: kiyohara Date: Sat Feb 11 13:53:59 UTC 2012
Modified Files: src/sys/arch/powerpc/oea: prep_machdep.c Log Message: Fix panic() on KASSERT(len >= BAT_BL_8M) in oea_iobat_add(). Thanks phx@. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 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.9 src/sys/arch/powerpc/oea/prep_machdep.c:1.10 --- src/sys/arch/powerpc/oea/prep_machdep.c:1.9 Wed Feb 1 09:54:03 2012 +++ src/sys/arch/powerpc/oea/prep_machdep.c Sat Feb 11 13:53:59 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: prep_machdep.c,v 1.9 2012/02/01 09:54:03 matt Exp $ */ +/* $NetBSD: prep_machdep.c,v 1.10 2012/02/11 13:53:59 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.9 2012/02/01 09:54:03 matt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: prep_machdep.c,v 1.10 2012/02/11 13:53:59 kiyohara Exp $"); #include "opt_modular.h" @@ -147,7 +147,7 @@ prep_initppc(u_long startkernel, u_long PREP_BUS_SPACE_MEM, BAT_BL_256M, PREP_BUS_SPACE_IO, BAT_BL_256M, #if defined(bebox) - 0x7ffff000, BAT_BL_128K, /* BeBox Mainboard Registers (4KB) */ + 0x7ffff000, BAT_BL_8M, /* BeBox Mainboard Registers (4KB) */ #elif defined(prep) 0xbf800000, BAT_BL_8M, #endif