Skip to contentSkip to conversation

net: remove unused ATM protocols and legacy ATM device drivers

PATCH Superseded Jakub Kicinski 4 participants 5 messages Apr 21

Subsystems (8)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Jakub Kicinski

author maintainer
#0 lore raw

PATCH 1/1 net: remove unused ATM protocols and legacy ATM device drivers

Remove the ATM protocol modules and PCI/SBUS ATM device drivers that are no longer in active use.

The ATM core protocol stack, PPPoATM, and USB DSL modem drivers (drivers/usb/atm/) are retained in-tree to maintain PPP over ATM (PPPoA) support for DSL connections.

Removed ATM protocol modules:
- net/atm/clip.c - Classical IP over ATM (RFC 2225)
- net/atm/br2684.c - RFC 2684 bridged protocols
- net/atm/lec.c - LAN Emulation Client (LANE)
- net/atm/mpc.c, mpoa_caches.c, mpoa_proc.c - Multi-Protocol Over ATM

Removed PCI/SBUS ATM device drivers (drivers/atm/):
- adummy, atmtcp - software/testing ATM devices
- eni - Efficient Networks ENI155P (OC-3, ~1995)
- fore200e - FORE Systems 200E PCI/SBUS (OC-3, ~1999)
- he - ForeRunner HE (OC-3/OC-12, ~2000)
- idt77105 - IDT 77105 25 Mbps ATM PHY
- idt77252 - IDT 77252 NICStAR II (OC-3, ~2000)
- iphase - Interphase ATM PCI (OC-3/DS3/E3)
- lanai - Efficient Networks Speedstream 3010
- nicstar - IDT 77201 NICStAR (155/25 Mbps, ~1999)
- solos-pci - Traverse Technologies ADSL2+ PCI (defunct vendor)
- suni - PMC S/UNI SONET PHY library

Also clean up references in:
- net/bridge/ - remove ATM LANE hook (br_fdb_test_addr_hook, br_fdb_test_addr)
- net/core/dev.c - remove br_fdb_test_addr_hook export
- defconfig files - remove ATM driver config options

The removed code is moved to an out-of-tree module package (mod-orphan).

---
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]

---
 MAINTAINERS                                   |    3 +-
 Documentation/.renames.txt                    |    2 -
 .../device_drivers/atm/fore200e.rst           |   66 -
 .../networking/device_drivers/atm/index.rst   |    2 -
 .../networking/device_drivers/atm/iphase.rst  |  193 -
 drivers/atm/Kconfig                           |  325 --
 drivers/net/Kconfig                           |    2 -
 net/atm/Kconfig                               |   58 -
 drivers/Makefile                              |    1 -
 drivers/atm/Makefile                          |   32 -
 net/atm/Makefile                              |    8 +-
 drivers/atm/eni.h                             |  136 -
 drivers/atm/fore200e.h                        |  973 -----
 drivers/atm/he.h                              |  845 ----
 drivers/atm/idt77105.h                        |   92 -
 drivers/atm/idt77252.h                        |  816 ----
 drivers/atm/idt77252_tables.h                 |  781 ----
 drivers/atm/iphase.h                          | 1452 -------
 drivers/atm/midway.h                          |  266 --
 drivers/atm/nicstar.h                         |  759 ----
 drivers/atm/suni.h                            |  242 --
 drivers/atm/tonga.h                           |   21 -
 drivers/atm/zeprom.h                          |   35 -
 net/atm/lec.h                                 |  155 -
 net/atm/lec_arpc.h                            |   97 -
 net/atm/mpc.h                                 |   65 -
 net/atm/mpoa_caches.h                         |   99 -
 net/bridge/br_private.h                       |    4 -
 drivers/atm/adummy.c                          |  202 -
 drivers/atm/atmtcp.c                          |  513 ---
 drivers/atm/eni.c                             | 2321 ----------
 drivers/atm/fore200e.c                        | 3012 -------------
 drivers/atm/he.c                              | 2861 -------------
 drivers/atm/idt77105.c                        |  376 --
 drivers/atm/idt77252.c                        | 3797 -----------------
 drivers/atm/iphase.c                          | 3283 --------------
 drivers/atm/lanai.c                           | 2603 -----------
 drivers/atm/nicstar.c                         | 2759 ------------
 drivers/atm/nicstarmac.c                      |  244 --
 drivers/atm/solos-attrlist.c                  |   83 -
 drivers/atm/solos-pci.c                       | 1496 -------
 drivers/atm/suni.c                            |  391 --
 net/atm/br2684.c                              |  872 ----
 net/atm/clip.c                                |  960 -----
 net/atm/lec.c                                 | 2274 ----------
 net/atm/mpc.c                                 | 1538 -------
 net/atm/mpoa_caches.c                         |  565 ---
 net/atm/mpoa_proc.c                           |  307 --
 net/bridge/br.c                               |    7 -
 net/bridge/br_fdb.c                           |   29 -
 net/core/dev.c                                |    7 -
 arch/arm/configs/ixp4xx_defconfig             |    5 -
 arch/mips/configs/gpr_defconfig               |   13 -
 arch/mips/configs/mtx1_defconfig              |   13 -
 arch/powerpc/configs/ppc6xx_defconfig         |    9 -
 drivers/atm/.gitignore                        |    5 -
 drivers/atm/nicstarmac.copyright              |   61 -
 57 files changed, 3 insertions(+), 38133 deletions(-)
 delete mode 100644 Documentation/networking/device_drivers/atm/fore200e.rst
 delete mode 100644 Documentation/networking/device_drivers/atm/iphase.rst
 delete mode 100644 drivers/atm/Kconfig
 delete mode 100644 drivers/atm/Makefile
 delete mode 100644 drivers/atm/eni.h
 delete mode 100644 drivers/atm/fore200e.h
 delete mode 100644 drivers/atm/he.h
 delete mode 100644 drivers/atm/idt77105.h
 delete mode 100644 drivers/atm/idt77252.h
 delete mode 100644 drivers/atm/idt77252_tables.h
 delete mode 100644 drivers/atm/iphase.h
 delete mode 100644 drivers/atm/midway.h
 delete mode 100644 drivers/atm/nicstar.h
 delete mode 100644 drivers/atm/suni.h
 delete mode 100644 drivers/atm/tonga.h
 delete mode 100644 drivers/atm/zeprom.h
 delete mode 100644 net/atm/lec.h
 delete mode 100644 net/atm/lec_arpc.h
 delete mode 100644 net/atm/mpc.h
 delete mode 100644 net/atm/mpoa_caches.h
 delete mode 100644 drivers/atm/adummy.c
 delete mode 100644 drivers/atm/atmtcp.c
 delete mode 100644 drivers/atm/eni.c
 delete mode 100644 drivers/atm/fore200e.c
 delete mode 100644 drivers/atm/he.c
 delete mode 100644 drivers/atm/idt77105.c
 delete mode 100644 drivers/atm/idt77252.c
 delete mode 100644 drivers/atm/iphase.c
 delete mode 100644 drivers/atm/lanai.c
 delete mode 100644 drivers/atm/nicstar.c
 delete mode 100644 drivers/atm/nicstarmac.c
 delete mode 100644 drivers/atm/solos-attrlist.c
 delete mode 100644 drivers/atm/solos-pci.c
 delete mode 100644 drivers/atm/suni.c
 delete mode 100644 net/atm/br2684.c
 delete mode 100644 net/atm/clip.c
 delete mode 100644 net/atm/lec.c
 delete mode 100644 net/atm/mpc.c
 delete mode 100644 net/atm/mpoa_caches.c
 delete mode 100644 net/atm/mpoa_proc.c
 delete mode 100644 drivers/atm/.gitignore
 delete mode 100644 drivers/atm/nicstarmac.copyright
MAINTAINERS +2 -1
index 867ca44422d8..cfcf422dd40a 100644
@@ -4150,11 +4150,12 @@ L:	[email protected] (moderated for non-subscribers)
 L:	[email protected]
 S:	Maintained
 W:	http://linux-atm.sourceforge.net
-F:	drivers/atm/
+F:	drivers/usb/atm/
 F:	include/linux/atm*
 F:	include/linux/sonet.h
 F:	include/uapi/linux/atm*
 F:	include/uapi/linux/sonet.h
+F:	net/atm/
 
 ATMEL MACB ETHERNET DRIVER
 M:	Nicolas Ferre <[email protected]>
Documentation/.renames.txt +0 -2
index e5f2f7447914..df4db1121995 100644
@@ -835,14 +835,12 @@ networking/e100 networking/device_drivers/ethernet/intel/e100
 networking/e1000 networking/device_drivers/ethernet/intel/e1000
 networking/e1000e networking/device_drivers/ethernet/intel/e1000e
 networking/fm10k networking/device_drivers/ethernet/intel/fm10k
-networking/fore200e networking/device_drivers/atm/fore200e
 networking/hinic networking/device_drivers/ethernet/huawei/hinic
 networking/i40e networking/device_drivers/ethernet/intel/i40e
 networking/iavf networking/device_drivers/ethernet/intel/iavf
 networking/ice networking/device_drivers/ethernet/intel/ice
 networking/igb networking/device_drivers/ethernet/intel/igb
 networking/igbvf networking/device_drivers/ethernet/intel/igbvf
-networking/iphase networking/device_drivers/atm/iphase
 networking/ixgbe networking/device_drivers/ethernet/intel/ixgbe
 networking/ixgbevf networking/device_drivers/ethernet/intel/ixgbevf
 networking/netdev-FAQ process/maintainer-netdev
Documentation/networking/device_drivers/atm/fore200e.rst deleted +0 -66

66 lines not on this page · raw message

Documentation/networking/device_drivers/atm/index.rst +0 -2
index 724552ca0be4..9392c86f48bc 100644
@@ -9,5 +9,3 @@ Asynchronous Transfer Mode (ATM) Device Drivers
    :maxdepth: 2
 
    cxacru
-   fore200e
-   iphase
Documentation/networking/device_drivers/atm/iphase.rst deleted +0 -193

193 lines not on this page · raw message

drivers/atm/Kconfig deleted +0 -325

325 lines not on this page · raw message

drivers/net/Kconfig +0 -2
index 8ec98f6dfef9..19cc389028ba 100644
@@ -501,8 +501,6 @@ config SUNGEM_PHY
 
 source "drivers/net/arcnet/Kconfig"
 
-source "drivers/atm/Kconfig"
-
 source "drivers/net/dsa/Kconfig"
 
 source "drivers/net/ethernet/Kconfig"
net/atm/Kconfig +0 -58

61 lines not on this page · raw message

drivers/Makefile +0 -1
index 0841ea851847..cc5fdb1ef79f 100644
@@ -90,7 +90,6 @@ obj-$(CONFIG_SPMI)		+= spmi/
 obj-$(CONFIG_HSI)		+= hsi/
 obj-$(CONFIG_SLIMBUS)		+= slimbus/
 obj-y				+= net/
-obj-$(CONFIG_ATM)		+= atm/
 obj-$(CONFIG_FUSION)		+= message/
 obj-y				+= firewire/
 obj-$(CONFIG_UIO)		+= uio/
drivers/atm/Makefile deleted +0 -32
deleted file mode 100644
index c9eade92019b..000000000000
@@ -1,32 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-#
-# Makefile for the Linux network (ATM) device drivers.
-#
-
-fore_200e-y	:= fore200e.o
-
-obj-$(CONFIG_ATM_NICSTAR)	+= nicstar.o
-obj-$(CONFIG_ATM_IA)		+= iphase.o suni.o
-obj-$(CONFIG_ATM_FORE200E)	+= fore_200e.o
-obj-$(CONFIG_ATM_ENI)		+= eni.o suni.o
-obj-$(CONFIG_ATM_IDT77252)	+= idt77252.o
-obj-$(CONFIG_ATM_SOLOS)		+= solos-pci.o
-
-ifeq ($(CONFIG_ATM_NICSTAR_USE_SUNI),y)
-  obj-$(CONFIG_ATM_NICSTAR)	+= suni.o
-endif
-ifeq ($(CONFIG_ATM_NICSTAR_USE_IDT77105),y)
-  obj-$(CONFIG_ATM_NICSTAR)	+= idt77105.o
-endif
-ifeq ($(CONFIG_ATM_IDT77252_USE_SUNI),y)
-  obj-$(CONFIG_ATM_IDT77252)	+= suni.o
-endif
-
-obj-$(CONFIG_ATM_DUMMY)		+= adummy.o
-obj-$(CONFIG_ATM_TCP)		+= atmtcp.o
-obj-$(CONFIG_ATM_LANAI)		+= lanai.o
-
-obj-$(CONFIG_ATM_HE)		+= he.o
-ifeq ($(CONFIG_ATM_HE_USE_SUNI),y)
-  obj-$(CONFIG_ATM_HE)		+= suni.o
-endif
net/atm/Makefile +1 -7
index bfec0f2d83b5..226eecbe3825 100644
@@ -4,13 +4,7 @@
 #
 
 atm-y		:= addr.o pvc.o signaling.o svc.o ioctl.o common.o atm_misc.o raw.o resources.o atm_sysfs.o
-mpoa-objs	:= mpc.o mpoa_caches.o mpoa_proc.o
-
-obj-$(CONFIG_ATM) += atm.o
-obj-$(CONFIG_ATM_CLIP) += clip.o
-obj-$(CONFIG_ATM_BR2684) += br2684.o
 atm-$(CONFIG_PROC_FS) += proc.o
 
-obj-$(CONFIG_ATM_LANE) += lec.o
-obj-$(CONFIG_ATM_MPOA) += mpoa.o
+obj-$(CONFIG_ATM) += atm.o
 obj-$(CONFIG_PPPOATM) += pppoatm.o
drivers/atm/eni.h deleted +0 -136

136 lines not on this page · raw message

drivers/atm/fore200e.h deleted +0 -973

973 lines not on this page · raw message

drivers/atm/he.h deleted +0 -845

845 lines not on this page · raw message

drivers/atm/idt77105.h deleted +0 -92

92 lines not on this page · raw message

drivers/atm/idt77252.h deleted +0 -816

216 lines not on this page · raw message

drivers/atm/idt77252_tables.h deleted +0 -781

781 lines not on this page · raw message

drivers/atm/iphase.h deleted +0 -1452

1,452 lines not on this page · raw message

drivers/atm/midway.h deleted +0 -266

266 lines not on this page · raw message

drivers/atm/nicstar.h deleted +0 -759

759 lines not on this page · raw message

drivers/atm/suni.h deleted +0 -242

242 lines not on this page · raw message

drivers/atm/tonga.h deleted +0 -21
deleted file mode 100644
index 771b3f95246c..000000000000

Lines of this file are not shown. View the raw message.

drivers/atm/zeprom.h deleted +0 -35
deleted file mode 100644
index 8e8819a3840d..000000000000

Lines of this file are not shown. View the raw message.

net/atm/lec.h deleted +0 -155

155 lines not on this page · raw message

net/atm/lec_arpc.h deleted +0 -97

97 lines not on this page · raw message

net/atm/mpc.h deleted +0 -65

65 lines not on this page · raw message

net/atm/mpoa_caches.h deleted +0 -99

99 lines not on this page · raw message

net/bridge/br_private.h +0 -4
index 361a9b84451e..bed1b1d9b282 100644

Lines of this file are not shown. View the raw message.

drivers/atm/adummy.c deleted +0 -202

202 lines not on this page · raw message

drivers/atm/atmtcp.c deleted +0 -513

513 lines not on this page · raw message

drivers/atm/eni.c deleted +0 -2321

2,321 lines not on this page · raw message

drivers/atm/fore200e.c deleted +0 -3012

3,012 lines not on this page · raw message

drivers/atm/he.c deleted +0 -2861

2,861 lines not on this page · raw message

drivers/atm/idt77105.c deleted +0 -376

376 lines not on this page · raw message

drivers/atm/idt77252.c deleted +0 -3797

3,797 lines not on this page · raw message

drivers/atm/iphase.c deleted +0 -3283

3,283 lines not on this page · raw message

drivers/atm/lanai.c deleted +0 -2603

2,603 lines not on this page · raw message

drivers/atm/nicstar.c deleted +0 -2759

2,759 lines not on this page · raw message

drivers/atm/nicstarmac.c deleted +0 -244

244 lines not on this page · raw message

drivers/atm/solos-attrlist.c deleted +0 -83

83 lines not on this page · raw message

drivers/atm/solos-pci.c deleted +0 -1496

1,496 lines not on this page · raw message

drivers/atm/suni.c deleted +0 -391

391 lines not on this page · raw message

net/atm/br2684.c deleted +0 -872

872 lines not on this page · raw message

net/atm/clip.c deleted +0 -960

960 lines not on this page · raw message

net/atm/lec.c deleted +0 -2274

2,274 lines not on this page · raw message

net/atm/mpc.c deleted +0 -1538

1,538 lines not on this page · raw message

net/atm/mpoa_caches.c deleted +0 -565

565 lines not on this page · raw message

net/atm/mpoa_proc.c deleted +0 -307

307 lines not on this page · raw message

net/bridge/br.c +0 -7
index c37e52e2f29a..a5e5b2db110e 100644

Lines of this file are not shown. View the raw message.

net/bridge/br_fdb.c +0 -29
index e2c17f620f00..9bcf6243914b 100644

Lines of this file are not shown. View the raw message.

net/core/dev.c +0 -7
index e59f6025067c..1be81928d6c7 100644

Lines of this file are not shown. View the raw message.

arch/arm/configs/ixp4xx_defconfig +0 -5
index 81199dddcde7..950b48c3b111 100644

Lines of this file are not shown. View the raw message.

arch/mips/configs/gpr_defconfig +0 -13
index 261730af75c7..ad80ad2eae6b 100644

Lines of this file are not shown. View the raw message.

arch/mips/configs/mtx1_defconfig +0 -13
index 315650c6fe0b..1295164af08e 100644

Lines of this file are not shown. View the raw message.

arch/powerpc/configs/ppc6xx_defconfig +0 -9
index 6f40a275b7a9..02cc17e353a3 100644

Lines of this file are not shown. View the raw message.

drivers/atm/.gitignore deleted +0 -5
deleted file mode 100644
index ddd374e91965..000000000000

Lines of this file are not shown. View the raw message.

drivers/atm/nicstarmac.copyright deleted +0 -61

61 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.53.0

Part of the diff is not shown here. View the raw message.

#1 lore raw
Quoted 10 lines · Jakub Kicinski

Remove the ATM protocol modules and PCI/SBUS ATM device drivers that are no longer in active use.

The ATM core protocol stack, PPPoATM, and USB DSL modem drivers (drivers/usb/atm/) are retained in-tree to maintain PPP over ATM (PPPoA) support for DSL connections.

Removed ATM protocol modules:
 - net/atm/clip.c - Classical IP over ATM (RFC 2225)
 - net/atm/br2684.c - RFC 2684 bridged protocols

I believe PPPoE over BR2684 is also used on ADSL lines.

https://git.kernel.org/torvalds/c/ae088d663bee strongly seems to imply that I used to use it myself, or at least was *able* to switch to it for testing (although I could have sworn I mostly used PPPoA).

Quoted 14 lines

 - net/atm/lec.c - LAN Emulation Client (LANE)
 - net/atm/mpc.c, mpoa_caches.c, mpoa_proc.c - Multi-Protocol Over ATM

Removed PCI/SBUS ATM device drivers (drivers/atm/):
 - adummy, atmtcp - software/testing ATM devices
 - eni - Efficient Networks ENI155P (OC-3, ~1995)
 - fore200e - FORE Systems 200E PCI/SBUS (OC-3, ~1999)
 - he - ForeRunner HE (OC-3/OC-12, ~2000)
 - idt77105 - IDT 77105 25 Mbps ATM PHY
 - idt77252 - IDT 77252 NICStAR II (OC-3, ~2000)
 - iphase - Interphase ATM PCI (OC-3/DS3/E3)
 - lanai - Efficient Networks Speedstream 3010
 - nicstar - IDT 77201 NICStAR (155/25 Mbps, ~1999)
 - solos-pci - Traverse Technologies ADSL2+ PCI (defunct vendor)

Traverse still exists: https://traverse.com.au/

I suspect they don't have a huge amount of interest in the Solos any more, or the Geode-based SBC they sold with two of them on-board. But OpenWrt does still support them, and I even have one here (although no ADSL line to test it with). They were briefly popular as fully Linux- supported ADSL routers.

#2 lore raw
Quoted 6 lines · David Woodhouse

I suspect they don't have a huge amount of interest in the Solos any more, or the Geode-based SBC they sold with two of them on-board. But OpenWrt does still support them, and I even have one here (although no ADSL line to test it with). They were briefly popular as fully Linux- supported ADSL routers.

ADSL is history, it only ever made sense in rich countries where physical copper cables were pre-installed in homes. While rich countries have moved to fibre, the rest of the world won't use ADSL either because there is no copper cable to begin with. So it's actually cheaper to just lay a fibre cable for a new install.

Cheers,

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
#3 lore raw

Hi Herbert,

Quoted 7 lines · Herbert Xu
Quoted 5 lines · David Woodhouse

I suspect they don't have a huge amount of interest in the Solos any more, or the Geode-based SBC they sold with two of them on-board. But OpenWrt does still support them, and I even have one here (although no ADSL line to test it with). They were briefly popular as fully Linux- supported ADSL routers.

Quoted 5 lines

ADSL is history, it only ever made sense in rich countries where physical copper cables were pre-installed in homes. While rich countries have moved to fibre, the rest of the world won't use ADSL either because there is no copper cable to begin with. So it's actually cheaper to just lay a fibre cable for a new install.

I am afraid the move to fibre hasn't been completed yet. ADSL (VDSL2?) is still being used.

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
#4 lore raw
Quoted 10 lines · Geert Uytterhoeven

Hi Herbert,

Quoted 7 lines · Herbert Xu
Quoted 5 lines · David Woodhouse

I suspect they don't have a huge amount of interest in the Solos any more, or the Geode-based SBC they sold with two of them on-board. But OpenWrt does still support them, and I even have one here (although no ADSL line to test it with). They were briefly popular as fully Linux- supported ADSL routers.

Quoted 8 lines
Quoted 5 lines

ADSL is history, it only ever made sense in rich countries where physical copper cables were pre-installed in homes.  While rich countries have moved to fibre, the rest of the world won't use ADSL either because there is no copper cable to begin with.  So it's actually cheaper to just lay a fibre cable for a new install.

I am afraid the move to fibre hasn't been completed yet. ADSL (VDSL2?) is still being used.

VSDL is different, and isn't ATM-based. But even ADSL is still in use; in the UK some rural areas haven't got fibre yet.