An attempt to create a new version of MMC stack that uses a CAM framework to route the requests and replies.
This will allow us to handle SDIO cards that generate interrupts when the stack doesn't expect it, and further unify FreeBSD device model.
Runs on the BeagleBone Black and uses a modified version of ti_sdhci driver to communicate with the card. Changes to the driver are minimal and can be ported to another SDHCI implementation easily.
- The card is initialized only if it is inserted in the MMC slot on boot.
- SD[HC] and MMC cards are supported in read-write mode.
- There are some sleeps in the initialization path that should better be moved elsewhere to avoid blocking main CAM thread.
- SDIO cards are detected, minimal initialization is done, at least N devices are created where N is the number of functions on the card.