Skip to contentSkip to conversation

mmc: vub300: Remove the driver for the obsolete HW

PATCH In review Ulf Hansson 4 participants 5 messages Sep 14 MMC, SD and SDIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mmc: vub300: Remove the driver for the obsolete HW

From: Ulf Hansson <[email protected]>

The Hw is obsolete since many years and its corresponding driver has not been actively maintained for a very long time.

In this regards we are lately receiving a lot of AI generated bug fixes as the driver is a real mess. Rather than continue this path, with small fixes instead of making a proper rework of the driver, let's just remove the driver altogether.

Cc Greg Kroah-Hartman <[email protected]>
Cc Johan Hovold <[email protected]>
---
 drivers/mmc/host/Kconfig  |   31 -
 drivers/mmc/host/Makefile |    1 -
 drivers/mmc/host/vub300.c | 2493 -------------------------------------
 3 files changed, 2525 deletions(-)
 delete mode 100644 drivers/mmc/host/vub300.c
drivers/mmc/host/Kconfig +0 -31
index 4f060d3e5636..79bfc425e7c7 100644
@@ -917,37 +917,6 @@ config MMC_JZ4740
 	  If you have a board based on such a SoC and with a SD/MMC slot,
 	  say Y or M here.
 
-config MMC_VUB300
-	tristate "VUB300 USB to SDIO/SD/MMC Host Controller support"
-	depends on USB
-	help
-	  This selects support for Elan Digital Systems' VUB300 chip.
-
-	  The VUB300 is a USB-SDIO Host Controller Interface chip
-	  that enables the host computer to use SDIO/SD/MMC cards
-	  via a USB 2.0 or USB 1.1 host.
-
-	  The VUB300 chip will be found in both physically separate
-	  USB to SDIO/SD/MMC adapters and embedded on some motherboards.
-
-	  The VUB300 chip supports SD and MMC memory cards in addition
-	  to single and multifunction SDIO cards.
-
-	  Some SDIO cards will need a firmware file to be loaded and
-	  sent to VUB300 chip in order to achieve better data throughput.
-	  Download these "Offload Pseudocode" from Elan Digital Systems'
-	  web-site http://www.elandigitalsystems.com/support/downloads.php
-	  and put them in /lib/firmware. Note that without these additional
-	  firmware files the VUB300 chip will still function, but not at
-	  the best obtainable data rate.
-
-	  To compile this mmc host controller driver as a module,
-	  choose M here: the module will be called vub300.
-
-	  If you have a computer with an embedded VUB300 chip
-	  or if you intend connecting a USB adapter based on a
-	  VUB300 chip say Y or M here.
-
 config MMC_USHC
 	tristate "USB SD Host Controller (USHC) support"
 	depends on USB
drivers/mmc/host/Makefile +0 -1
index 799ce7ad43d5..fd043afab57e 100644
@@ -60,7 +60,6 @@ obj-$(CONFIG_MMC_DW_ROCKCHIP)	+= dw_mmc-rockchip.o
 obj-$(CONFIG_MMC_DW_STARFIVE)	+= dw_mmc-starfive.o
 obj-$(CONFIG_MMC_SH_MMCIF)	+= sh_mmcif.o
 obj-$(CONFIG_MMC_JZ4740)	+= jz4740_mmc.o
-obj-$(CONFIG_MMC_VUB300)	+= vub300.o
 obj-$(CONFIG_MMC_USHC)		+= ushc.o
 obj-$(CONFIG_MMC_WMT)		+= wmt-sdmmc.o
 obj-$(CONFIG_MMC_MESON_GX)	+= meson-gx-mmc.o
drivers/mmc/host/vub300.c deleted +0 -2493

2,493 lines not on this page · raw message

Signature · 1 line
2.43.0
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Ulf Hansson

From: Ulf Hansson <[email protected]>

The Hw is obsolete since many years and its corresponding driver has not been actively maintained for a very long time.

Quoted 8 lines

In this regards we are lately receiving a lot of AI generated bug fixes as the driver is a real mess. Rather than continue this path, with small fixes instead of making a proper rework of the driver, let's just remove the driver altogether.

Cc Greg Kroah-Hartman <[email protected]>
Cc Johan Hovold <[email protected]>
Acked-by on v1 1/1
#2 lore raw
In reply to Ulf Hansson
Quoted 5 lines · Ulf Hansson

From: Ulf Hansson <[email protected]>

The Hw is obsolete since many years and its corresponding driver has not been actively maintained for a very long time.

Quoted 8 lines

In this regards we are lately receiving a lot of AI generated bug fixes as the driver is a real mess. Rather than continue this path, with small fixes instead of making a proper rework of the driver, let's just remove the driver altogether.

Cc Greg Kroah-Hartman <[email protected]>
Cc Johan Hovold <[email protected]>
#3 lore raw
In reply to Ulf Hansson
Quoted 5 lines · Ulf Hansson

From: Ulf Hansson <[email protected]>

The Hw is obsolete since many years and its corresponding driver has not been actively maintained for a very long time.

Quoted 8 lines

In this regards we are lately receiving a lot of AI generated bug fixes as the driver is a real mess. Rather than continue this path, with small fixes instead of making a proper rework of the driver, let's just remove the driver altogether.

Cc Greg Kroah-Hartman <[email protected]>
Cc Johan Hovold <[email protected]>

I have no objections to removing the driver, but I think its worth pointing out the actual year it was written (2010) to put into perspective how young or old it is. Since this is a USB device, there are likely still many of these in use on newer machines, but they are also trivially replaceable.

I checked my series of driver removals to see if there are any other mmc drivers that I already have patches for, but there are none right now. There are two drivers that are used on relatively old PC laptop: wbsd.c relies on ISA/LPC DMA, which become unavailabl on PCIe chipsets 20 years ago, while sdricoh_cs.c relied on a PCMCIA or Cardbus slot that was phased out around the same time when laptops started using Expresscard instead.

Arnd

#4 lore raw
Quoted 16 lines · Arnd Bergmann
Quoted 5 lines · Ulf Hansson

From: Ulf Hansson <[email protected]>

The Hw is obsolete since many years and its corresponding driver has not been actively maintained for a very long time.

Quoted 8 lines

In this regards we are lately receiving a lot of AI generated bug fixes as the driver is a real mess. Rather than continue this path, with small fixes instead of making a proper rework of the driver, let's just remove the driver altogether.

Cc Greg Kroah-Hartman <[email protected]>
Cc Johan Hovold <[email protected]>
Quoted 5 lines

I have no objections to removing the driver, but I think its worth pointing out the actual year it was written (2010) to put into perspective how young or old it is. Since this is a USB device, there are likely still many of these in use on newer machines, but they are also trivially replaceable.

Thanks for confirming, I will add a line about this when applying! I guess I can take your response as an ack, if not please let me know.

I have obviously done some research myself and the short story is that the elandigitalsystem went out just a couple of years after this.

The driver itself has been dead from a maintenance point of view, which in principle happened just after the first initial commit in 2011.

Quoted 8 lines

I checked my series of driver removals to see if there are any other mmc drivers that I already have patches for, but there are none right now. There are two drivers that are used on relatively old PC laptop: wbsd.c relies on ISA/LPC DMA, which become unavailabl on PCIe chipsets 20 years ago, while sdricoh_cs.c relied on a PCMCIA or Cardbus slot that was phased out around the same time when laptops started using Expresscard instead.

Arnd, thanks for the update!

Kind regards
Uffe