Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/hpcarm/dev Added Support SD card insert/remove dete...



details:   https://anonhg.NetBSD.org/src/rev/8c850bfe1a8e
branches:  trunk
changeset: 755128:8c850bfe1a8e
user:      nonaka <nonaka%NetBSD.org@localhost>
date:      Sun May 23 11:53:18 2010 +0000

description:
Added Support SD card insert/remove detection for WS020SH.

diffstat:

 sys/arch/hpcarm/dev/wzero3_mci.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 512d7afb0257 -r 8c850bfe1a8e sys/arch/hpcarm/dev/wzero3_mci.c
--- a/sys/arch/hpcarm/dev/wzero3_mci.c  Sun May 23 11:49:16 2010 +0000
+++ b/sys/arch/hpcarm/dev/wzero3_mci.c  Sun May 23 11:53:18 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wzero3_mci.c,v 1.1 2010/04/17 13:36:21 nonaka Exp $    */
+/*     $NetBSD: wzero3_mci.c,v 1.2 2010/05/23 11:53:18 nonaka Exp $    */
 
 /*-
  * Copyright (c) 2009 NONAKA Kimihiro <nonaka%netbsd.org@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wzero3_mci.c,v 1.1 2010/04/17 13:36:21 nonaka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wzero3_mci.c,v 1.2 2010/05/23 11:53:18 nonaka Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -108,8 +108,8 @@
        /* WS0020H */
        {
                &platid_mask_MACH_SHARP_WZERO3_WS020SH,
-               -1,
-               -1
+               GPIO_WS020SH_SD_DETECT,
+               GPIO_WS020SH_SD_POWER,  
        },
 
        {



Home | Main Index | Thread Index | Old Index