PERFORCE change 106920 for review

Warner Losh imp at FreeBSD.org
Fri Sep 29 15:36:14 PDT 2006


http://perforce.freebsd.org/chv.cgi?CH=106920

Change 106920 by imp at imp_lighthouse on 2006/09/29 22:36:10

	Comments and whitespace nit

Affected files ...

.. //depot/projects/arm/src/sys/arm/at91/at91_mci.c#14 edit

Differences ...

==== //depot/projects/arm/src/sys/arm/at91/at91_mci.c#14 (text+ko) ====

@@ -440,7 +440,8 @@
 	printf("i 0x%x\n", sr);
 	cmd = sc->curcmd;
 	if (sr & MCI_SR_ERROR) {
-		if ((sr & MCI_SR_RCRCE) && (cmd->opcode == MMC_SEND_OP_COND || 
+		// Ignore CRC errors on CMD2 and ACMD47, per relevant standards
+		if ((sr & MCI_SR_RCRCE) && (cmd->opcode == MMC_SEND_OP_COND ||
 		    cmd->opcode == ACMD_SD_SEND_OP_COND))
 			cmd->error = MMC_ERR_NONE;
 		else if (sr & (MCI_SR_RTOE | MCI_SR_DTOE))


More information about the p4-projects mailing list