Skip to content

Commit 2c67f42

Browse files
author
Mete Durlu
committed
s390/net: Remove LCS driver
JIRA: https://issues.redhat.com/browse/RHEL-73487 commit 6cccb3b Author: Aswin Karuvally <aswin@linux.ibm.com> Date: Tue Feb 4 11:31:35 2025 +0100 s390/net: Remove LCS driver The original Open Systems Adapter (OSA) was introduced by IBM in the mid-90s. These were then superseded by OSA-Express in 1999 which used Queued Direct IO to greatly improve throughput. The newer cards retained the older, slower non-QDIO (OSE) modes for compatibility with older systems. In Linux, the lcs driver was responsible for cards operating in the older OSE mode and the qeth driver was introduced to allow the OSA-Express cards to operate in the newer QDIO (OSD) mode. For an S390 machine from 1998 or later, there is no reason to use the OSE mode and lcs driver as all OSA cards since 1999 provide the faster OSD mode. As a result, it's been years since we have heard of a customer configuration involving the lcs driver. This patch removes the lcs driver. The technology it supports has been obsolete for past 25+ years and is irrelevant for current use cases. Reviewed-by: Alexandra Winter <wintera@linux.ibm.com> Acked-by: Heiko Carstens <hca@linux.ibm.com> Acked-by: Peter Oberparleiter <oberpar@linux.ibm.com> Signed-off-by: Aswin Karuvally <aswin@linux.ibm.com> Signed-off-by: Alexandra Winter <wintera@linux.ibm.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20250204103135.1619097-1-wintera@linux.ibm.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Mete Durlu <mdurlu@redhat.com>
1 parent 2f9f66f commit 2c67f42

File tree

7 files changed

+2
-2741
lines changed

7 files changed

+2
-2741
lines changed

Documentation/arch/s390/driver-model.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ information about the interrupt from the irb parameter.
244244
--------------------
245245

246246
The ccwgroup mechanism is designed to handle devices consisting of multiple ccw
247-
devices, like lcs or ctc.
247+
devices, like qeth or ctc.
248248

249249
The ccw driver provides a 'group' attribute. Piping bus ids of ccw devices to
250250
this attributes creates a ccwgroup device consisting of these ccw devices (if

arch/s390/include/asm/irq.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ enum interruption_class {
5454
IRQIO_C70,
5555
IRQIO_TAP,
5656
IRQIO_VMR,
57-
IRQIO_LCS,
5857
IRQIO_CTC,
5958
IRQIO_ADM,
6059
IRQIO_CSC,

arch/s390/kernel/irq.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ static const struct irq_class irqclass_sub_desc[] = {
8484
{.irq = IRQIO_C70, .name = "C70", .desc = "[I/O] 3270"},
8585
{.irq = IRQIO_TAP, .name = "TAP", .desc = "[I/O] Tape"},
8686
{.irq = IRQIO_VMR, .name = "VMR", .desc = "[I/O] Unit Record Devices"},
87-
{.irq = IRQIO_LCS, .name = "LCS", .desc = "[I/O] LCS"},
8887
{.irq = IRQIO_CTC, .name = "CTC", .desc = "[I/O] CTC"},
8988
{.irq = IRQIO_ADM, .name = "ADM", .desc = "[I/O] EADM Subchannel"},
9089
{.irq = IRQIO_CSC, .name = "CSC", .desc = "[I/O] CHSC Subchannel"},

drivers/s390/net/Kconfig

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,6 @@
22
menu "S/390 network device drivers"
33
depends on NETDEVICES && S390
44

5-
config LCS
6-
def_tristate m
7-
prompt "Lan Channel Station Interface"
8-
depends on CCW && NETDEVICES && ETHERNET
9-
help
10-
Select this option if you want to use LCS networking on IBM System z.
11-
To compile as a module, choose M. The module name is lcs.
12-
If you do not use LCS, choose N.
13-
145
config CTCM
156
def_tristate m
167
prompt "CTC and MPC SNA device support"
@@ -98,7 +89,7 @@ config QETH_OSX
9889

9990
config CCWGROUP
10091
tristate
101-
default (LCS || CTCM || QETH || SMC)
92+
default (CTCM || QETH || SMC)
10293

10394
config ISM
10495
tristate "Support for ISM vPCI Adapter"

drivers/s390/net/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ obj-$(CONFIG_CTCM) += ctcm.o fsm.o
88
obj-$(CONFIG_NETIUCV) += netiucv.o fsm.o
99
obj-$(CONFIG_SMSGIUCV) += smsgiucv.o
1010
obj-$(CONFIG_SMSGIUCV_EVENT) += smsgiucv_app.o
11-
obj-$(CONFIG_LCS) += lcs.o
1211
qeth-y += qeth_core_sys.o qeth_core_main.o qeth_core_mpc.o qeth_ethtool.o
1312
obj-$(CONFIG_QETH) += qeth.o
1413
qeth_l2-y += qeth_l2_main.o qeth_l2_sys.o

0 commit comments

Comments
 (0)