mmc: register devices for detected cards

Change-Id: I90891ead9a425e0e8bd25c2190fe3d430d49411b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1067
Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
Adrien Destugues
2020-10-11 16:02:22 +00:00
committed by waddlesplash
parent fc87b4a284
commit dedbe94e46
5 changed files with 146 additions and 80 deletions
+10
View File
@@ -15,6 +15,16 @@
#define MMC_BUS_MODULE_NAME "bus_managers/mmc_bus/driver_v1"
enum {
CARD_TYPE_MMC,
CARD_TYPE_SD,
CARD_TYPE_SDHC,
CARD_TYPE_UHS1,
CARD_TYPE_UHS2,
CARD_TYPE_SDIO
};
// Interface between mmc_bus and underlying implementation
typedef struct mmc_bus_interface {
driver_module_info info;