Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/g42xxeb Don't use DMA for sdmmc on TWINTAIL ...
details: https://anonhg.NetBSD.org/src/rev/1e35c629060e
branches: trunk
changeset: 755875:1e35c629060e
user: bsh <bsh%NetBSD.org@localhost>
date: Sat Jun 26 07:51:45 2010 +0000
description:
Don't use DMA for sdmmc on TWINTAIL for now, because it causes kernel panic.
diffstat:
sys/arch/evbarm/g42xxeb/g42xxeb_mci.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 6eb4bb4de1d0 -r 1e35c629060e sys/arch/evbarm/g42xxeb/g42xxeb_mci.c
--- a/sys/arch/evbarm/g42xxeb/g42xxeb_mci.c Sat Jun 26 07:23:57 2010 +0000
+++ b/sys/arch/evbarm/g42xxeb/g42xxeb_mci.c Sat Jun 26 07:51:45 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: g42xxeb_mci.c,v 1.1 2010/03/13 11:37:47 bsh Exp $ */
+/* $NetBSD: g42xxeb_mci.c,v 1.2 2010/06/26 07:51:45 bsh Exp $ */
/*-
* Copyright (c) 2009 Genetec Corporation. All rights reserved.
@@ -58,7 +58,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: g42xxeb_mci.c,v 1.1 2010/03/13 11:37:47 bsh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: g42xxeb_mci.c,v 1.2 2010/06/26 07:51:45 bsh Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -163,6 +163,9 @@
pxa.pxa_intr = PXA2X0_INT_MMC;
#endif
+ /* disable DMA for sdmmc for now. */
+ SET(sc->sc_mci.sc_caps, PMC_CAPS_NO_DMA);
+
if (pxamci_attach_sub(self, &pxa)) {
aprint_error_dev(self,
"unable to attach MMC controller\n");
Home |
Main Index |
Thread Index |
Old Index