znetcontrolunits: Remove znetcontrolunits library

znetcontrolunits provided two arrays and a search function that were
only used by lsznet. Since lsznet has it's own implementation of this
function now and the CU array was a duplicate of CU_TCPIP anyway, remove
znetcontrolunits as it serves no purpose.

Reviewed-by: Aswin Karuvally <aswin@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Jan Höppner
2026-02-25 18:46:14 +01:00
parent d41d968792
commit 81e0d02d90
3 changed files with 0 additions and 34 deletions

View File

@@ -17,8 +17,6 @@ clean: $(SUB_DIRS)
install: install-scripts install-manpages install-usrsbin-scripts $(SUB_DIRS)
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 lsznet.raw \
$(DESTDIR)$(TOOLS_LIBDIR)
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 znetcontrolunits \
$(DESTDIR)$(TOOLS_LIBDIR)
install-scripts: $(SCRIPTS)
@for i in $^; do \

View File

@@ -25,10 +25,6 @@ function error() {
exit 1
}
# currently requires bash version 3.0 or later
. /lib/s390-tools/znetcontrolunits
# The arrays (among other things) should be adapted, if any of those device
# drivers start supporting different CU types/models.

View File

@@ -1,28 +0,0 @@
#!/bin/bash
#
# znetcontrolunits - define some common control unit mappings
#
# This definitions are not intended to be used as standalone tool, but should be
# used from other tools like a library. E.g. znetconf is one exploiter
# of them.
#
# Copyright IBM Corp. 2008, 2017
#
# s390-tools is free software; you can redistribute it and/or modify
# it under the terms of the MIT license. See LICENSE for details.
#
# The arrays (among other things) should be adapted, if any of those device
# drivers start supporting different CU types/models.
readonly -a CU=(
1731/01
1731/05
3088/08
3088/1f
3088/1e
3088/60
1731/02
1731/02
)
# 1731/06 (OSN) is no longer supported