The device node for eMMC has a "non-removable" property. You should use that (see acpi_dsd_bool) to determine if the card is always present.
I think if a driver sets SDHC_FLAG_ALWAYS_PRESENT, it shouldn't have to provide a card detect callback -- this should all be handled in sdhc.c.
Take care, Jared On Tue, 26 Mar 2024, David Young wrote:
The SolidRun HoneyComb LX2 has a 64 GB MMC built in. NetBSD did not attach the MMC until I patched sdhc@acpi. See attachment. Maybe somebody else can try it out. Does it look ok to apply? David -- David Young dyoung%pobox.com@localhost Urbana, IL (217) 721-9981