Skip to content

Commit

Permalink
net: wan: remove the lanmedia (lmc) driver
Browse files Browse the repository at this point in the history
The driver for LAN Media WAN interfaces spews build warnings on
microblaze. The virt_to_bus() calls discard the volatile keyword.
The right thing to do would be to migrate this driver to a modern
DMA API but it seems unlikely anyone is actually using it.
There had been no fixes or functional changes here since
the git era begun.

Let's remove this driver, there isn't much changing in the APIs,
if users come forward we can apologize and revert.

Link: https://lore.kernel.org/all/20220321144013.440d7fc0@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com/
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Jakub Kicinski authored and David S. Miller committed Apr 6, 2022
1 parent 207d924 commit a5b116a
Show file tree
Hide file tree
Showing 14 changed files with 0 additions and 4,262 deletions.
1 change: 0 additions & 1 deletion arch/mips/configs/gpr_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@ CONFIG_ATH_DEBUG=y
CONFIG_ATH5K=y
CONFIG_ATH5K_DEBUG=y
CONFIG_WAN=y
CONFIG_LANMEDIA=m
CONFIG_HDLC=m
CONFIG_HDLC_RAW=m
CONFIG_HDLC_RAW_ETH=m
Expand Down
1 change: 0 additions & 1 deletion arch/mips/configs/mtx1_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,6 @@ CONFIG_USB_AN2720=y
CONFIG_USB_EPSON2888=y
CONFIG_USB_SIERRA_NET=m
CONFIG_WAN=y
CONFIG_LANMEDIA=m
CONFIG_HDLC=m
CONFIG_HDLC_RAW=m
CONFIG_HDLC_RAW_ETH=m
Expand Down
28 changes: 0 additions & 28 deletions drivers/net/wan/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -57,34 +57,6 @@ config COSA
The driver will be compiled as a module: the
module will be called cosa.

#
# Lan Media's board. Currently 1000, 1200, 5200, 5245
#
config LANMEDIA
tristate "LanMedia Corp. SSI/V.35, T1/E1, HSSI, T3 boards"
depends on PCI && VIRT_TO_BUS && HDLC
help
Driver for the following Lan Media family of serial boards:

- LMC 1000 board allows you to connect synchronous serial devices
(for example base-band modems, or any other device with the X.21,
V.24, V.35 or V.36 interface) to your Linux box.

- LMC 1200 with on board DSU board allows you to connect your Linux
box directly to a T1 or E1 circuit.

- LMC 5200 board provides a HSSI interface capable of running up to
52 Mbits per second.

- LMC 5245 board connects directly to a T3 circuit saving the
additional external hardware.

To change setting such as clock source you will need lmcctl.
It is available at <ftp://ftp.lanmedia.com/> (broken link).

To compile this driver as a module, choose M here: the
module will be called lmc.

# There is no way to detect a Sealevel board. Force it modular
config SEALEVEL_4021
tristate "Sealevel Systems 4021 support"
Expand Down
2 changes: 0 additions & 2 deletions drivers/net/wan/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ obj-$(CONFIG_SEALEVEL_4021) += z85230.o sealevel.o
obj-$(CONFIG_COSA) += cosa.o
obj-$(CONFIG_FARSYNC) += farsync.o

obj-$(CONFIG_LANMEDIA) += lmc/

obj-$(CONFIG_LAPBETHER) += lapbether.o
obj-$(CONFIG_N2) += n2.o
obj-$(CONFIG_C101) += c101.o
Expand Down
18 changes: 0 additions & 18 deletions drivers/net/wan/lmc/Makefile

This file was deleted.

33 changes: 0 additions & 33 deletions drivers/net/wan/lmc/lmc.h

This file was deleted.

65 changes: 0 additions & 65 deletions drivers/net/wan/lmc/lmc_debug.c

This file was deleted.

52 changes: 0 additions & 52 deletions drivers/net/wan/lmc/lmc_debug.h

This file was deleted.

Loading

0 comments on commit a5b116a

Please sign in to comment.