Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/footbridge Fix ancient bug. footbridge_mem_bs_m...
details: https://anonhg.NetBSD.org/src/rev/ceaa5c93524a
branches: trunk
changeset: 750084:ceaa5c93524a
user: skrll <skrll%NetBSD.org@localhost>
date: Tue Dec 15 21:38:20 2009 +0000
description:
Fix ancient bug. footbridge_mem_bs_mmap should return a page number.
diffstat:
sys/arch/arm/footbridge/footbridge_io.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (25 lines):
diff -r 3b65160beb55 -r ceaa5c93524a sys/arch/arm/footbridge/footbridge_io.c
--- a/sys/arch/arm/footbridge/footbridge_io.c Tue Dec 15 18:35:18 2009 +0000
+++ b/sys/arch/arm/footbridge/footbridge_io.c Tue Dec 15 21:38:20 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: footbridge_io.c,v 1.15 2009/03/14 21:04:05 dsl Exp $ */
+/* $NetBSD: footbridge_io.c,v 1.16 2009/12/15 21:38:20 skrll Exp $ */
/*
* Copyright (c) 1997 Causality Limited
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: footbridge_io.c,v 1.15 2009/03/14 21:04:05 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: footbridge_io.c,v 1.16 2009/12/15 21:38:20 skrll Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -318,5 +318,5 @@
pa = DC21285_PCI_MEM_BASE + addr + offset;
- return arm_ptob(pa);
+ return arm_btop(pa);
}
Home |
Main Index |
Thread Index |
Old Index