]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
mmc_da: implement d_dump method, sddadump
authorAndriy Gapon <avg@FreeBSD.org>
Wed, 12 Jan 2022 07:01:29 +0000 (09:01 +0200)
committerAndriy Gapon <avg@FreeBSD.org>
Wed, 12 Jan 2022 07:02:47 +0000 (09:02 +0200)
commit44682688f038edbf34591b25ce36412a7f2d6d07
treed21dfcdb1249a0927bb14bd6bbd83404231f18ba
parent6853ef66f16ae8cb3e1d622c613b88948d15efed
mmc_da: implement d_dump method, sddadump

sddadump has been derived from sddastart.

mmc_sim interface has grown a new method, cam_poll, to support polled
operation.

mmc_sim code has been changed to provide a sim_poll hook only if the
controller implements the new method.  The hooks is implemented in terms
of the new mmc_sim_cam_poll method.
Additionally, in-progress CCB-s now have CAM_REQ_INPROG status to
satisfy xpt_pollwait().

mmc_sim_cam_poll method has been implemented in dwmmc host controller.

Reviewed by: manu, mav, imp
MFC after: 2 weeks
Relnotes: perhaps
Differential Revision: https://reviews.freebsd.org/D33843
sys/cam/mmc/mmc_da.c
sys/cam/mmc/mmc_sim.c
sys/cam/mmc/mmc_sim_if.m
sys/dev/mmc/host/dwmmc.c