From 496cc973cb5155dbca5629e758205252ecaaf622 Mon Sep 17 00:00:00 2001 From: Karsten Hopp Date: Tue, 25 May 2004 10:13:05 +0000 Subject: -special TYPE for qeth devices to differenciate them from ethX --- sysconfig/network-scripts/network-functions | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sysconfig/network-scripts/network-functions') diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions index a7a8c91b..d988c1d2 100644 --- a/sysconfig/network-scripts/network-functions +++ b/sysconfig/network-scripts/network-functions @@ -77,6 +77,10 @@ source_config () ESCON) DEVICETYPE="escon" ;; + QETH) + DEVICETYPE="eth" + ;; + esac [ -z "$DEVICETYPE" ] && DEVICETYPE=`echo ${DEVICE} | sed "s/[0-9]*$//"` [ -z "$REALDEVICE" -a -n "$PARENTDEVICE" ] && REALDEVICE=$PARENTDEVICE @@ -327,7 +331,7 @@ configure_ccwgroup_device () local DIR SYSDIR # SUBCHANNELS is only set on mainframe ccwgroup devices [ -z "$SUBCHANNELS" ] && return - if [ "$TYPE" = "QETH" -o "$TYPE" = "HSI" ]; then + if [ "$TYPE" = "QETH" ]; then DIR="/sys/bus/ccwgroup/drivers/qeth" elif [ "$TYPE" = "CTC" -o "$TYPE" = "ESCON" ]; then -- cgit v1.2.1