]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add new fields to mmc_data in preparation to SDIO CMD53 block mode support
authorkibab <kibab@FreeBSD.org>
Wed, 10 Apr 2019 19:49:35 +0000 (19:49 +0000)
committerkibab <kibab@FreeBSD.org>
Wed, 10 Apr 2019 19:49:35 +0000 (19:49 +0000)
commit674b0be51d6e7a16a8511054a7cbe763e53d5056
tree47e615f7662387807399257d3165102bb18ecd2d
parentac7512a38281c9b98121d7dd2a326a85a197d5e2
Add new fields to mmc_data in preparation to SDIO CMD53 block mode support

SDIO command CMD53 (IO_RW_EXTENDED) allows data transfers using blocks of 1-2048 bytes,
with a maximum of 511 blocks per request.
Extend mmc_data structure to properly describe such requests,
and initialize the new fields in kernel and userland consumers.

No actual driver changes happen yet, these will follow in the separate changes.

Reviewed by: bz
Approved by: imp (mentor)
Differential Revision: https://reviews.freebsd.org/D19779
sbin/camcontrol/camcontrol.c
sys/cam/mmc/mmc_da.c
sys/dev/mmc/mmcreg.h