]> git.ipfire.org Git - thirdparty/linux.git/commit
pcmcia: remove obsolete host controller drivers
authorEthan Nelson-Moore <enelsonmoore@gmail.com>
Mon, 9 Mar 2026 07:41:48 +0000 (00:41 -0700)
committerDominik Brodowski <linux@dominikbrodowski.net>
Mon, 30 Mar 2026 05:28:13 +0000 (07:28 +0200)
commitb3c26ea81ccc522e77ed0b1707add61fc9206216
tree6263df7c1699def5c0d16888d10a60344a8d9723
parentbfcde6240500d5f2bdf9632aef92ebefcf1decab
pcmcia: remove obsolete host controller drivers

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 commit 9b12f050c76f ("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 commit
e39cdacf2f66 ("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>
arch/mips/configs/mtx1_defconfig
arch/powerpc/configs/ppc6xx_defconfig
arch/x86/kernel/resource.c
drivers/pci/quirks.c
drivers/pcmcia/Kconfig
drivers/pcmcia/Makefile
drivers/pcmcia/i82092.c [deleted file]
drivers/pcmcia/i82092aa.h [deleted file]
drivers/pcmcia/i82365.c [deleted file]
drivers/pcmcia/tcic.c [deleted file]
drivers/pcmcia/tcic.h [deleted file]