diff --git a/sys/arch/evbppc/explora/machdep.c b/sys/arch/evbppc/explora/machdep.c index bf3952eea482..9efe346e9b74 100644 --- a/sys/arch/evbppc/explora/machdep.c +++ b/sys/arch/evbppc/explora/machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.14 2006/10/16 18:14:36 kiyohara Exp $ */ +/* $NetBSD: machdep.c,v 1.15 2006/10/23 06:49:17 kiyohara Exp $ */ /*- * Copyright (c) 2003 The NetBSD Foundation, Inc. @@ -37,7 +37,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.14 2006/10/16 18:14:36 kiyohara Exp $"); +__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.15 2006/10/23 06:49:17 kiyohara Exp $"); #include "opt_explora.h" #include "ksyms.h" @@ -197,7 +197,7 @@ bootstrap(u_int startkernel, u_int endkernel) ppc4xx_tlb_reserve(maddr, maddr, TLB_PG_SIZE, TLB_EX); /* Map PCKBC, PCKBC2, COM, LPT. */ - ppc4xx_tlb_reserve(0x74000000, 0x74000000, TLB_PG_SIZE, TLB_I | TLB_G); + ppc4xx_tlb_reserve(BASE_ISA, BASE_ISA, TLB_PG_SIZE, TLB_I | TLB_G); #ifndef COM_IS_CONSOLE ppc4xx_tlb_reserve(BASE_FB, BASE_FB, TLB_PG_SIZE, TLB_I | TLB_G); diff --git a/sys/arch/evbppc/include/explora.h b/sys/arch/evbppc/include/explora.h index 71c64ce1dbc7..6ff12481eec7 100644 --- a/sys/arch/evbppc/include/explora.h +++ b/sys/arch/evbppc/include/explora.h @@ -5,13 +5,14 @@ /* * Base addresses of external peripherals */ -#define BASE_PCKBC 0x740000c0 -#define BASE_PCKBC2 0x740000c8 -#define BASE_COM 0x740005f0 -#define BASE_LPT 0x740006f0 #define BASE_FB 0x70000000 -#define BASE_FB2 0x71000000 #define BASE_LE 0x70800000 +#define BASE_FB2 0x71000000 +#define BASE_ISA 0x74000000 +#define BASE_PCKBC 0x740000c0 +#define BASE_PCKBC2 0x740000c8 +#define BASE_COM 0x740005f0 +#define BASE_LPT 0x740006f0 #define SIZE_FB (2*1024*1024)