Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/broadcom Fix thinko in previous.
details: https://anonhg.NetBSD.org/src/rev/4d0be6bc654a
branches: trunk
changeset: 781076:4d0be6bc654a
user: skrll <skrll%NetBSD.org@localhost>
date: Fri Aug 17 09:44:30 2012 +0000
description:
Fix thinko in previous.
diffstat:
sys/arch/arm/broadcom/bcm2835_obio.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 42b86608f99a -r 4d0be6bc654a sys/arch/arm/broadcom/bcm2835_obio.c
--- a/sys/arch/arm/broadcom/bcm2835_obio.c Fri Aug 17 09:38:51 2012 +0000
+++ b/sys/arch/arm/broadcom/bcm2835_obio.c Fri Aug 17 09:44:30 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bcm2835_obio.c,v 1.2 2012/08/16 23:22:44 jakllsch Exp $ */
+/* $NetBSD: bcm2835_obio.c,v 1.3 2012/08/17 09:44:30 skrll Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bcm2835_obio.c,v 1.2 2012/08/16 23:22:44 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bcm2835_obio.c,v 1.3 2012/08/17 09:44:30 skrll Exp $");
#include "opt_broadcom.h"
#include "locators.h"
@@ -137,7 +137,7 @@
sc->sc_dmarange.dr_sysbase = 0;
sc->sc_dmarange.dr_busbase = 0xc0000000; /* 0x40000000 if L2 */
- sc->sc_dmarange.dr_len = physmem / PAGE_SIZE; /* XXXJAK */
+ sc->sc_dmarange.dr_len = physmem * PAGE_SIZE;
bcm2835_bus_dma_tag._ranges = &sc->sc_dmarange;
bcm2835_bus_dma_tag._nranges = 1;
Home |
Main Index |
Thread Index |
Old Index