aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorKarsten Hopp <karsten@redhat.com>2004-05-25 10:13:05 +0000
committerKarsten Hopp <karsten@redhat.com>2004-05-25 10:13:05 +0000
commit496cc973cb5155dbca5629e758205252ecaaf622 (patch)
tree3d9a48c2dd57b60bd362f423e7266e95bc0e90b1 /sysconfig
parentb5b3699818c956f19b7c63577c1b0dd8dd72c9b6 (diff)
downloadinitscripts-496cc973cb5155dbca5629e758205252ecaaf622.tar
initscripts-496cc973cb5155dbca5629e758205252ecaaf622.tar.gz
initscripts-496cc973cb5155dbca5629e758205252ecaaf622.tar.bz2
initscripts-496cc973cb5155dbca5629e758205252ecaaf622.tar.xz
initscripts-496cc973cb5155dbca5629e758205252ecaaf622.zip
-special TYPE for qeth devices to differenciate them from ethXr7-56
Diffstat (limited to 'sysconfig')
-rw-r--r--sysconfig/network-scripts/network-functions6
1 files changed, 5 insertions, 1 deletions
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