Received: from mail.onstor.com ([66.201.51.107]) by onstor-exch02.onstor.net with Microsoft SMTPSVC(6.0.3790.1830);
	 Tue, 23 Jan 2007 02:18:38 -0800
Received: from ftp.linux-mips.org ([194.74.144.162]) by mail.onstor.com with Microsoft SMTPSVC(6.0.3790.1830);
	 Tue, 23 Jan 2007 02:18:37 -0800
Received: from localhost.localdomain ([127.0.0.1]:27814 "EHLO
	ftp.linux-mips.org") by ftp.linux-mips.org with ESMTP
	id S20043529AbXAWKIp (ORCPT <rfc822;dan.stein@onstor.com> + 1 other);
	Tue, 23 Jan 2007 10:08:45 +0000
Received: with ECARTIS (v1.0.0; list linux-mips); Tue, 23 Jan 2007 10:08:22 +0000 (GMT)
Received: from fnoeppeil48.netpark.at ([217.175.205.176]:19208 "EHLO
	roarinelk.homelinux.net") by ftp.linux-mips.org with ESMTP
	id S20040469AbXAWKIR (ORCPT <rfc822;linux-mips@linux-mips.org>);
	Tue, 23 Jan 2007 10:08:17 +0000
Received: (qmail 5016 invoked by uid 1000); 23 Jan 2007 11:08:14 +0100
Date:	Tue, 23 Jan 2007 11:08:14 +0100
From:	Manuel Lauss <mano@roarinelk.homelinux.net>
To:	drzeus-mmc@drzeus.cx
Cc:	linux-mips@linux-mips.org, linux-kernel@vger.kernel.org
Subject: [PATCH] MMC: au1xmmc R6 response support
Message-ID: <20070123100814.GA5001@roarinelk.homelinux.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.11
X-archive-position: 13744
X-ecartis-version: Ecartis v1.0.0
Sender:	linux-mips-bounce@linux-mips.org
Errors-to: linux-mips-bounce@linux-mips.org
X-original-sender: mano@roarinelk.homelinux.net
Precedence: bulk
X-list:	linux-mips
Return-Path: linux-mips-bounce@linux-mips.org
X-OriginalArrivalTime: 23 Jan 2007 10:18:37.0426 (UTC) FILETIME=[D87C3D20:01C73ED7]

Hi,

here's a trivial patch which adds R6 reponse support to the au1xmmc
driver. Fixes SD card detection / operation.

---

Add Response type R6 support to the au1xmmc driver; fixes SD card
detection and operation.

Signed-off-by: Manuel Lauss <mano@roarinelk.homelinux.net>

--- a/drivers/mmc/au1xmmc.c~	2007-01-23 10:52:33.771983000 +0100
+++ b/drivers/mmc/au1xmmc.c	2007-01-23 10:52:33.771983000 +0100
@@ -205,6 +205,9 @@ static int au1xmmc_send_command(struct a
 	case MMC_RSP_R3:
 		mmccmd |= SD_CMD_RT_3;
 		break;
+	case MMC_RSP_R6:
+		mmccmd |= SD_CMD_RT_6;
+		break;
 	}
 
 	switch(cmd->opcode) {

