]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix setting RCA for MMC cards
authorkibab <kibab@FreeBSD.org>
Tue, 19 Jun 2018 20:02:03 +0000 (20:02 +0000)
committerkibab <kibab@FreeBSD.org>
Tue, 19 Jun 2018 20:02:03 +0000 (20:02 +0000)
commit06f56d598bb7ee921d876c00c80e6b390965e042
tree9d6a83352168c1bfcc9cca2feaa48d7ab4d5f34b
parent24b70331afb7fc7831a176961abf27ee3037a0cc
Fix setting RCA for MMC cards

Unlike SD cards, that publish RCA in response to CMD3,
MMC cards expect the host to set RCA itself.

Since we don't support multiple MMC cards on the bus,
just assign a static RCA of 2 to the attached MMC card.

Approved by: imp (mentor)
Differential Revision: https://reviews.freebsd.org/D13063
sys/cam/mmc/mmc.h
sys/cam/mmc/mmc_xpt.c