From b028dfb24e20e8b6f0a85fa5e91987a12ee666e3 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 29 Jun 2004 04:34:52 +0000 Subject: set devicetype for xDSL (#126194) --- sysconfig/network-scripts/network-functions | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions index d988c1d2..d3208c3e 100644 --- a/sysconfig/network-scripts/network-functions +++ b/sysconfig/network-scripts/network-functions @@ -59,6 +59,9 @@ source_config () Modem) DEVICETYPE="ppp" ;; + xDSL) + DEVICETYPE="ppp" + ;; ISDN) DEVICETYPE="ippp" ;; @@ -77,10 +80,6 @@ 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 @@ -331,7 +330,7 @@ configure_ccwgroup_device () local DIR SYSDIR # SUBCHANNELS is only set on mainframe ccwgroup devices [ -z "$SUBCHANNELS" ] && return - if [ "$TYPE" = "QETH" ]; then + if [ "$TYPE" = "QETH" -o "$TYPE" = "HSI" ]; then DIR="/sys/bus/ccwgroup/drivers/qeth" elif [ "$TYPE" = "CTC" -o "$TYPE" = "ESCON" ]; then -- cgit