Skip to content

ARCnet: remove outdated drivers and information and unused code; small cleanups and documentation improvements

Ethan Nelson-Moore linux-doc linux-mips netdev 3 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 0 repliesApplied 7/7
  2. v1 posting 2/27 patches 6 repliesSuperseded
  3. v1 posting 1/21 patch 0 repliesSuperseded

Patches in v2 All 7 applied

#Subject and filesSizeRepliesApplied
1/7net: arcnet: com20020: remove misleading references to multicastdrivers/net/arcnet/com20020.c+4 -100 repliesApplied
2/7net: arcnet: fix typos in commentsdrivers/net/arcnet/arc-rimi.c drivers/net/arcnet/arcdevice.h drivers/net/arcnet/rfc1201.c+7 -70 repliesApplied
3/7net: arcnet: remove ISA and PCMCIA support; modernize documentationDocumentation/admin-guide/kernel-parameters.txt Documentation/networking/arcnet-hardware.rst Documentation/networking/arcnet.rst +9 more+37 -52400 repliesApplied
4/7net: arcnet: remove code depending on nonexistent config optiondrivers/net/arcnet/arcdevice.h+5 -130 repliesApplied
5/7net: arcnet: expand unnecessary I/O abstraction macrosdrivers/net/arcnet/arcdevice.h drivers/net/arcnet/com20020-pci.c drivers/net/arcnet/com20020.c +1 more+49 -680 repliesApplied
6/7docs: net: arcnet: remove outdated/irrelevant information; improve styleDocumentation/networking/arcnet-hardware.rst Documentation/networking/arcnet.rst+26 -790 repliesApplied
7/7net: arcnet: com20020-pci: avoid -Wformat-truncation warningdrivers/net/arcnet/com20020-pci.c drivers/net/arcnet/com20020.h+3 -20 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/7] ARCnet: remove outdated drivers and information and unused code; small cleanups and documentation improvements

v2 of this series is identical to v1, but with the patches reordered to resolve a transient build failure. The description from v1 follows.

This patch series mainly removes the ISA and PCMCIA ARCnet drivers and documentation for them and hardware they supported. While ARCnet is still used in industrial environments, and cards are still manufactured, it is unlikely anyone is still using it with ISA and PCMCIA cards. Removing these drivers reduces future maintenance burden.

While updating the ARCnet documentation to remove references to the removed drivers, I noticed that it contained thousands of lines of outdated and irrelevant information (much of it so outdated that it would not even work on modern kernels). I took the opportunity to remove this information and improve the writing style slightly.

I noticed that the BUS_ALIGN macro was always defined to 1, which meant that the custom arcnet_in/out/read/write* I/O macros were unnecessary. I expanded and removed them to make the code more straightforwards.

I also corrected some typos and comments.

The first three patches are the same as those I posted on February 8th:
https://lore.kernel.org/all/[email protected]/
https://lore.kernel.org/all/[email protected]/
https://lore.kernel.org/all/[email protected]/

Ethan Nelson-Moore (7):
net: arcnet: com20020: remove misleading references to multicast
net: arcnet: fix typos in comments
net: arcnet: remove ISA and PCMCIA support; modernize documentation
net: arcnet: remove code depending on nonexistent config option
net: arcnet: expand unnecessary I/O abstraction macros
docs: net: arcnet: remove outdated/irrelevant information; improve
style
net: arcnet: com20020-pci: avoid -Wformat-truncation warning

 .../admin-guide/kernel-parameters.txt         |   14 -
 Documentation/networking/arcnet-hardware.rst  | 2979 +----------------
 Documentation/networking/arcnet.rst           |  235 +-
 arch/mips/configs/mtx1_defconfig              |    4 -
 drivers/net/arcnet/Kconfig                    |   52 +-
 drivers/net/arcnet/Makefile                   |    5 -
 drivers/net/arcnet/arc-rimi.c                 |  386 ---
 drivers/net/arcnet/arcdevice.h                |   36 +-
 drivers/net/arcnet/com20020-isa.c             |  230 --
 drivers/net/arcnet/com20020-pci.c             |    9 +-
 drivers/net/arcnet/com20020.c                 |  107 +-
 drivers/net/arcnet/com20020.h                 |    6 +-
 drivers/net/arcnet/com20020_cs.c              |  330 --
 drivers/net/arcnet/com90io.c                  |  427 ---
 drivers/net/arcnet/com90xx.c                  |  716 ----
 drivers/net/arcnet/rfc1201.c                  |    2 +-
 16 files changed, 125 insertions(+), 5413 deletions(-)
 delete mode 100644 drivers/net/arcnet/arc-rimi.c
 delete mode 100644 drivers/net/arcnet/com20020-isa.c
 delete mode 100644 drivers/net/arcnet/com20020_cs.c
 delete mode 100644 drivers/net/arcnet/com90io.c
 delete mode 100644 drivers/net/arcnet/com90xx.c
Signature · 1 line
2.43.0