mirror of
https://github.com/torvalds/linux.git
synced 2026-05-12 16:18:45 +02:00
PCMCIA is almost completely obsolete (the last computers supporting it natively were from ~2009), and the general consensus [1] seems to be that support for it should be gradually removed from the kernel. In 2023, an initial step of removing all the PCMCIA char drivers was taken in commit9b12f050c7("char: pcmcia: remove all the drivers"), and that has not been reverted, so it seems logical to continue this process by removing more low-hanging fruit. These host controller drivers have had no meaningful changes since their status was discussed in 2022 [2], and are unlikely to have any remaining users. Remove them and a couple references to them in comments. The i82365 and tcic drivers are for ISA-attached host controllers, which are even less likely to be used nowadays than ones on other buses. The i82092 driver has almost certainly not been used in over 20 years. It was broken by a null pointer dereference since the dawn of Git history (2.6.12-rc2 in 2005) until someone fixed it in 2021 in commite39cdacf2f("pcmcia: i82092: fix a null pointer dereference bug"). From their dmesg log [3], it is clear they were testing in an emulated environment and not on real hardware. i82365.h is used by drivers other than i82365 and is therefore retained. [1] https://lore.kernel.org/all/c5b39544-a4fb-4796-a046-0b9be9853787@app.fastmail.com/ [2] https://lore.kernel.org/all/Y07d7rMvd5++85BJ@owl.dominikbrodowski.net/ [3] https://lore.kernel.org/all/1624345891-4215-1-git-send-email-zheyuma97@gmail.com/ Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com> Acked-by: Dave Hansen <dave.hansen@linux.intel.com> # for x86 Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
44 lines
1.4 KiB
Makefile
44 lines
1.4 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for the kernel pcmcia subsystem (c/o David Hinds)
|
|
#
|
|
|
|
pcmcia_core-y += cs.o socket_sysfs.o
|
|
pcmcia_core-$(CONFIG_CARDBUS) += cardbus.o
|
|
obj-$(CONFIG_PCCARD) += pcmcia_core.o
|
|
|
|
pcmcia-y += ds.o pcmcia_resource.o cistpl.o pcmcia_cis.o
|
|
obj-$(CONFIG_PCMCIA) += pcmcia.o
|
|
|
|
pcmcia_rsrc-y += rsrc_mgr.o
|
|
pcmcia_rsrc-$(CONFIG_PCCARD_NONSTATIC) += rsrc_nonstatic.o
|
|
obj-$(CONFIG_PCCARD) += pcmcia_rsrc.o
|
|
|
|
|
|
# socket drivers
|
|
|
|
obj-$(CONFIG_YENTA) += yenta_socket.o
|
|
|
|
obj-$(CONFIG_PD6729) += pd6729.o
|
|
obj-$(CONFIG_PCMCIA_SOC_COMMON) += soc_common.o
|
|
obj-$(CONFIG_PCMCIA_SA11XX_BASE) += sa11xx_base.o
|
|
obj-$(CONFIG_PCMCIA_SA1100) += sa1100_cs.o
|
|
obj-$(CONFIG_PCMCIA_SA1111) += sa1111_cs.o
|
|
obj-$(CONFIG_PCMCIA_BCM63XX) += bcm63xx_pcmcia.o
|
|
obj-$(CONFIG_OMAP_CF) += omap_cf.o
|
|
obj-$(CONFIG_ELECTRA_CF) += electra_cf.o
|
|
obj-$(CONFIG_PCMCIA_ALCHEMY_DEVBOARD) += db1xxx_ss.o
|
|
obj-$(CONFIG_PCMCIA_MAX1600) += max1600.o
|
|
|
|
sa1111_cs-y += sa1111_generic.o
|
|
sa1111_cs-$(CONFIG_ASSABET_NEPONSET) += sa1111_neponset.o
|
|
sa1111_cs-$(CONFIG_SA1100_JORNADA720) += sa1111_jornada720.o
|
|
|
|
sa1100_cs-y += sa1100_generic.o
|
|
sa1100_cs-$(CONFIG_SA1100_COLLIE) += pxa2xx_sharpsl.o
|
|
sa1100_cs-$(CONFIG_SA1100_H3600) += sa1100_h3600.o
|
|
|
|
pxa2xx-obj-$(CONFIG_PXA_SHARPSL) += pxa2xx_sharpsl.o
|
|
obj-$(CONFIG_PCMCIA_PXA2XX) += pxa2xx_base.o $(pxa2xx-obj-y)
|
|
obj-$(CONFIG_PCMCIA_XXS1500) += xxs1500_ss.o
|