Re: [RFC 1/6] pccard: remove bcm63xx socket driver

From: Florian Fainelli
Date: Mon Feb 27 2023 - 16:33:44 EST


+Maxime,

On 2/27/2023 5:34 AM, Arnd Bergmann wrote:
From: Arnd Bergmann <arnd@xxxxxxxx>

The bcm63xx pcmcia driver is the only nonstandard cardbus implementation,
everything else is handled by the yenta_socket driver. Upon a closer
look, this seems entirely unused, because:

- There are two ports for bcm63xx in arch/mips, both of which
support the bcm6358 hardware, but the newer one does not
use this driver at all.

- The only distro I could find for bcm63xx is OpenWRT, but they
do not enable pcmcia support. However they have 130 patches,
a lot of which are likely required to run anything at all.

- The device list at https://deviwiki.com/wiki/Broadcom only
lists machines using mini-PCI cards rather than PCMCIA or
Cardbus devices.

- The cardbus support is entirely made up to work with the
kernel subsystem, but the hardware appears to just be a normal
PCI host that should work fine after removing all the cardbus
code.

Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

This is probably fine because PCMCIA on BCM63xx was only needed for the very old and early devices like the 6348 which modern kernels are unlikely to be able to run on since they are usually RAM constrained with 16MB or 32MB of DRAM populated. Maxime, do you care if this driver gets removed?
--
Florian