]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Set MMC_DATA_MULTI flag when doing multi-block transfers
authorkibab <kibab@FreeBSD.org>
Tue, 19 Jun 2018 11:23:48 +0000 (11:23 +0000)
committerkibab <kibab@FreeBSD.org>
Tue, 19 Jun 2018 11:23:48 +0000 (11:23 +0000)
commitea2b6880ec2f0ce91ac0dcb97e3570d8b4fdd0af
treec5650bc0e63c319fa1367ab364ebee86de60b1b3
parent1b6c300c4ed59ff94a1af30f29ec4ce005b5e067
Set MMC_DATA_MULTI flag when doing multi-block transfers

Lower layers (MMC / SDHCI controller drivers) may make certain decisions
based on the presence of this flag. The fact that sdhci.c doesn't
look at this flag is another problem that should be fixed separately.

Found when adding MMCCAM support to AllWinner MMC controller driver
where the presence of this flag actually matters.

Approved by: imp (mentor)
Differential Revision: https://reviews.freebsd.org/D15888
sys/cam/mmc/mmc_da.c