Re: [PATCH 06/11] mmc: sdricoh_cs: Depend on CARDBUS

From: Ulf Hansson

Date: Mon Nov 30 2026 - 06:22:52 EST


On Mon, Nov 9, 2026 at 10:08 PM Ilpo Järvinen
<ilpo.jarvinen@xxxxxxxxxxxxxxx> wrote:
>
> sdricoh_cs accesses the SD controller through the PCI device of the
> Ricoh RL5C476 CardBus bridge. An upcoming change makes the PCI core
> ignore CardBus bridges when CONFIG_CARDBUS is not set, so the driver
> would no longer find the controller.
>
> Make MMC_SDRICOH_CS depend on CARDBUS.
>
> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>

Acked-by: Ulf Hansson <ulfh@xxxxxxxxxx>

Kind regards
Uffe

> ---
> Cc: Ulf Hansson <ulfh@xxxxxxxxxx>
> Cc: Sascha Sommer <saschasommer@xxxxxxxxxx>
> Cc: Dominik Brodowski <linux@xxxxxxxxxxxxxxxxxxxx>
> Cc: linux-mmc@xxxxxxxxxxxxxxx
>
> drivers/mmc/host/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
> index 79bfc425e7c7..6b18b66c10b4 100644
> --- a/drivers/mmc/host/Kconfig
> +++ b/drivers/mmc/host/Kconfig
> @@ -692,7 +692,7 @@ config MMC_SPI
>
> config MMC_SDRICOH_CS
> tristate "MMC/SD driver for Ricoh Bay1Controllers"
> - depends on PCI && PCMCIA
> + depends on PCI && PCMCIA && CARDBUS
> help
> Say Y here if your Notebook reports a Ricoh Bay1Controller PCMCIA
> card whenever you insert a MMC or SD card into the card slot.
> --
> 2.47.3
>