Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Feb 2015 15:14:26 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r279359 - head/sys/dev/mmc
Message-ID:  <201502271514.t1RFEQpt034006@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Fri Feb 27 15:14:25 2015
New Revision: 279359
URL: https://svnweb.freebsd.org/changeset/base/279359

Log:
  MMC: Signal HC capability to (e)MMC.
  
  Summary:
  For new eMMC chips, we must signal controller HC capability in OP_COND command.
  
  Reviewers: imp, ian
  
  Reviewed By: ian
  
  Differential Revision: https://reviews.freebsd.org/D1920

Modified:
  head/sys/dev/mmc/mmc.c

Modified: head/sys/dev/mmc/mmc.c
==============================================================================
--- head/sys/dev/mmc/mmc.c	Fri Feb 27 15:05:20 2015	(r279358)
+++ head/sys/dev/mmc/mmc.c	Fri Feb 27 15:14:25 2015	(r279359)
@@ -1622,7 +1622,7 @@ mmc_go_discovery(struct mmc_softc *sc)
 		mmc_send_app_op_cond(sc,
 		    (err ? 0 : MMC_OCR_CCS) | mmcbr_get_ocr(dev), NULL);
 	} else
-		mmc_send_op_cond(sc, mmcbr_get_ocr(dev), NULL);
+		mmc_send_op_cond(sc, MMC_OCR_CCS | mmcbr_get_ocr(dev), NULL);
 	mmc_discover_cards(sc);
 	mmc_rescan_cards(sc);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502271514.t1RFEQpt034006>