This adds attribute `sdhc' to sys/conf/files so that non-glue code, such as mvpxa(4), can indicate the sdhc dependency.
OK? Index: arch/armv7/marvell/files.marvell =================================================================== RCS file: src/sys/arch/armv7/marvell/files.marvell,v retrieving revision 1.9 diff -u -p -r1.9 files.marvell --- arch/armv7/marvell/files.marvell 9 Jul 2018 09:58:40 -0000 1.9 +++ arch/armv7/marvell/files.marvell 8 Jan 2022 05:18:51 -0000 @@ -32,6 +32,6 @@ device mvpcie: pcibus attach mvpcie at fdt file arch/armv7/marvell/mvpcie.c mvpcie -device mvpxa: sdmmcbus +device mvpxa: sdmmcbus, sdhc attach mvpxa at fdt file arch/armv7/marvell/mvpxa.c mvpxa Index: conf/files =================================================================== RCS file: src/sys/conf/files,v retrieving revision 1.706 diff -u -p -r1.706 files --- conf/files 11 Nov 2021 10:03:10 -0000 1.706 +++ conf/files 8 Jan 2022 05:18:52 -0000 @@ -470,6 +470,7 @@ device ccp file dev/ic/ccp.c ccp # SDHC SD/MMC controller +define sdhc device sdhc: sdmmcbus file dev/sdmmc/sdhc.c sdhc
