Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/zaurus/dev Enable SD 4bit bus width mode.
details: https://anonhg.NetBSD.org/src/rev/f2c57c4717c2
branches: trunk
changeset: 753680:f2c57c4717c2
user: nonaka <nonaka%NetBSD.org@localhost>
date: Tue Apr 06 15:56:14 2010 +0000
description:
Enable SD 4bit bus width mode.
diffstat:
sys/arch/zaurus/dev/zmci.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 24ec6b40c827 -r f2c57c4717c2 sys/arch/zaurus/dev/zmci.c
--- a/sys/arch/zaurus/dev/zmci.c Tue Apr 06 15:55:46 2010 +0000
+++ b/sys/arch/zaurus/dev/zmci.c Tue Apr 06 15:56:14 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: zmci.c,v 1.1 2009/04/21 03:00:30 nonaka Exp $ */
+/* $NetBSD: zmci.c,v 1.2 2010/04/06 15:56:14 nonaka Exp $ */
/*-
* Copyright (c) 2006-2008 NONAKA Kimihiro <nonaka%netbsd.org@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: zmci.c,v 1.1 2009/04/21 03:00:30 nonaka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: zmci.c,v 1.2 2010/04/06 15:56:14 nonaka Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -119,7 +119,7 @@
sc->sc.sc_tag.set_power = zmci_set_power;
sc->sc.sc_tag.card_detect = zmci_card_detect;
sc->sc.sc_tag.write_protect = zmci_write_protect;
- sc->sc.sc_caps = 0;
+ sc->sc.sc_caps = PMC_CAPS_4BIT;
if (pxamci_attach_sub(self, pxa)) {
aprint_error_dev(self, "unable to attach MMC controller\n");
Home |
Main Index |
Thread Index |
Old Index