aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--initscripts.spec5
-rw-r--r--sysconfig/network-scripts/network-functions6
2 files changed, 9 insertions, 2 deletions
diff --git a/initscripts.spec b/initscripts.spec
index c055d429..0d5bb83e 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -1,6 +1,6 @@
Summary: The inittab file and the /etc/init.d scripts.
Name: initscripts
-Version: 7.55
+Version: 7.56
License: GPL
Group: System Environment/Base
Release: 1
@@ -249,6 +249,9 @@ rm -rf $RPM_BUILD_ROOT
%ghost %attr(0664,root,utmp) /var/run/utmp
%changelog
+* Tue May 25 2004 Karsten Hopp <karsten@redhat.de> 7.56-1
+- special TYPE for qeth devices to differenciate them from ethX
+
* Tue May 18 2004 Karsten Hopp <karsten@redhat.de> 7.55-1
- add support for ccwgroup devices on mainframe
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