freebsd-dev/sys/cam/mmc
Emmanuel Vadot 47bde7925b mmccam: Add mmc_sim, a generic sim for mmc driver to use
This adds a generic sim that abstract a lot of what needs to be implemented
in a driver for mmccam support.
A new interface with three methods is added :

 - mmc_sim_get_tran_settings: Use to get what the controller supports in term
   of capabilities, freq etc ...
 - mmc_sim_set_tran_settings: Use to change the speed/freq/etc of the
   sdcard host controller
 - mmc_sim_cam_request: Used for MMCIO requests

Differential Revision:	https://reviews.freebsd.org/D27485
Reviewed by:	kibab
2021-04-27 19:00:38 +02:00
..
mmc_all.h mmcam: Use a static length sbuf buffer 2020-08-04 20:02:23 +00:00
mmc_bus.h
mmc_da.c cam: make sure to clear even more CCBs allocated on the stack 2021-04-11 15:24:22 +01:00
mmc_sim_if.m mmccam: Add mmc_sim, a generic sim for mmc driver to use 2021-04-27 19:00:38 +02:00
mmc_sim.c mmccam: Add mmc_sim, a generic sim for mmc driver to use 2021-04-27 19:00:38 +02:00
mmc_sim.h mmccam: Add mmc_sim, a generic sim for mmc driver to use 2021-04-27 19:00:38 +02:00
mmc_xpt.c cam: make sure to clear even more CCBs allocated on the stack 2021-04-11 15:24:22 +01:00
mmc.h Fix setting RCA for MMC cards 2018-06-19 20:02:03 +00:00