What is the relationship between the linux mmc media driver and mmc host driver?
In the linux-2.6.18 source tree, what does any linux mmc host driver (i.e. sdhci.c, mmci.c, etc) has to do with the linux mmc block device driver mmc_block.c. In the Makefile, mmc_block.c was categorized as media driver. Is the mmc_block.c being compiled along with the host drivers?
Also, both in the host drivers and the media drivers, they have a set of operations such as probe, resume, and suspend. If both the media and host drivers are compiled together, which set of operations will be performed, the one in the media or the one in the host?