Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/powerpc Fix typo (pa instead of va).
details: https://anonhg.NetBSD.org/src/rev/9b65fc5eac54
branches: trunk
changeset: 787863:9b65fc5eac54
user: matt <matt%NetBSD.org@localhost>
date: Tue Jul 09 20:33:03 2013 +0000
description:
Fix typo (pa instead of va).
diffstat:
sys/arch/powerpc/powerpc/bus_space.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r e7bffef51357 -r 9b65fc5eac54 sys/arch/powerpc/powerpc/bus_space.c
--- a/sys/arch/powerpc/powerpc/bus_space.c Tue Jul 09 20:32:11 2013 +0000
+++ b/sys/arch/powerpc/powerpc/bus_space.c Tue Jul 09 20:33:03 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_space.c,v 1.35 2013/04/11 18:20:33 macallan Exp $ */
+/* $NetBSD: bus_space.c,v 1.36 2013/07/09 20:33:03 matt Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bus_space.c,v 1.35 2013/04/11 18:20:33 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus_space.c,v 1.36 2013/07/09 20:33:03 matt Exp $");
#define _POWERPC_BUS_SPACE_PRIVATE
@@ -639,8 +639,8 @@
#ifdef PPC_OEA601
if ((mfpvr() >> 16) == MPC601) {
register_t sr = iosrtable[va >> ADDR_SR_SHFT];
- if (SR601_VALID_P(sr) && ((pa >> ADDR_SR_SHFT) ==
- ((pa + size - 1) >> ADDR_SR_SHFT))) {
+ if (SR601_VALID_P(sr) && ((va >> ADDR_SR_SHFT) ==
+ ((va + size - 1) >> ADDR_SR_SHFT))) {
pa = va;
va = 0;
} else {
Home |
Main Index |
Thread Index |
Old Index