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 Fix panic() on KASSERT(len >= BAT_BL_8M...



details:   https://anonhg.NetBSD.org/src/rev/ff18e733cd1a
branches:  trunk
changeset: 773645:ff18e733cd1a
user:      kiyohara <kiyohara%NetBSD.org@localhost>
date:      Sat Feb 11 13:53:59 2012 +0000

description:
Fix panic() on KASSERT(len >= BAT_BL_8M) in oea_iobat_add().  Thanks phx@.

diffstat:

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

diffs (27 lines):

diff -r 24037417af15 -r ff18e733cd1a sys/arch/powerpc/oea/prep_machdep.c
--- a/sys/arch/powerpc/oea/prep_machdep.c       Sat Feb 11 12:31:47 2012 +0000
+++ b/sys/arch/powerpc/oea/prep_machdep.c       Sat Feb 11 13:53:59 2012 +0000
@@ -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_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



Home | Main Index | Thread Index | Old Index