]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
PCI: Separate CardBus setup & build it only with CONFIG_CARDBUS
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Fri, 19 Dec 2025 17:40:30 +0000 (19:40 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 27 Jan 2026 22:36:52 +0000 (16:36 -0600)
commitfd29d4ea09baa54b87f7ec7278768d0db00382a8
tree31f6a541cbd9cc149ce6ca9e0c595f6d601e25a9
parentb398665a5b71665542296378c5f4e42bf22c3e9a
PCI: Separate CardBus setup & build it only with CONFIG_CARDBUS

PCI bridge window setup code includes special code to handle CardBus
bridges. CardBus has long since fallen out of favor and modern systems have
no use for it.

Move CardBus setup code to its own file and use existing CONFIG_CARDBUS to
decide whether it should be built or not.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/20251219174036.16738-18-ilpo.jarvinen@linux.intel.com
drivers/pci/Makefile
drivers/pci/pci.h
drivers/pci/setup-bus.c
drivers/pci/setup-cardbus.c [new file with mode: 0644]
drivers/pcmcia/yenta_socket.c
include/linux/pci.h