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 trust the firmware and use whatever it...



details:   https://anonhg.NetBSD.org/src/rev/7b5258bfb909
branches:  trunk
changeset: 332229:7b5258bfb909
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Fri Sep 12 16:06:29 2014 +0000

description:
trust the firmware and use whatever it advertises between DMA0-DMA11

diffstat:

 sys/arch/arm/broadcom/bcm2835_dmac.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r da0ecb50fed4 -r 7b5258bfb909 sys/arch/arm/broadcom/bcm2835_dmac.c
--- a/sys/arch/arm/broadcom/bcm2835_dmac.c      Fri Sep 12 15:41:02 2014 +0000
+++ b/sys/arch/arm/broadcom/bcm2835_dmac.c      Fri Sep 12 16:06:29 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bcm2835_dmac.c,v 1.4 2014/09/12 15:41:02 jmcneill Exp $ */
+/* $NetBSD: bcm2835_dmac.c,v 1.5 2014/09/12 16:06:29 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2014 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,7 @@
 #include "opt_ddb.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bcm2835_dmac.c,v 1.4 2014/09/12 15:41:02 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bcm2835_dmac.c,v 1.5 2014/09/12 16:06:29 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -45,7 +45,7 @@
 
 #include <arm/broadcom/bcm2835_dmac.h>
 
-#define BCM_DMAC_CHANNELMASK   0x00000ff2
+#define BCM_DMAC_CHANNELMASK   0x00000fff
 
 struct bcm_dmac_softc;
 



Home | Main Index | Thread Index | Old Index