mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
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:
@@ -17,8 +17,6 @@ clean: $(SUB_DIRS)
|
|||||||
install: install-scripts install-manpages install-usrsbin-scripts $(SUB_DIRS)
|
install: install-scripts install-manpages install-usrsbin-scripts $(SUB_DIRS)
|
||||||
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 lsznet.raw \
|
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 lsznet.raw \
|
||||||
$(DESTDIR)$(TOOLS_LIBDIR)
|
$(DESTDIR)$(TOOLS_LIBDIR)
|
||||||
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 znetcontrolunits \
|
|
||||||
$(DESTDIR)$(TOOLS_LIBDIR)
|
|
||||||
|
|
||||||
install-scripts: $(SCRIPTS)
|
install-scripts: $(SCRIPTS)
|
||||||
@for i in $^; do \
|
@for i in $^; do \
|
||||||
|
|||||||
@@ -25,10 +25,6 @@ function error() {
|
|||||||
exit 1
|
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
|
# The arrays (among other things) should be adapted, if any of those device
|
||||||
# drivers start supporting different CU types/models.
|
# drivers start supporting different CU types/models.
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
|
||||||
Reference in New Issue
Block a user