diff options
author | Karsten Hopp <karsten@redhat.com> | 2004-05-25 10:13:05 +0000 |
---|---|---|
committer | Karsten Hopp <karsten@redhat.com> | 2004-05-25 10:13:05 +0000 |
commit | 496cc973cb5155dbca5629e758205252ecaaf622 (patch) | |
tree | 3d9a48c2dd57b60bd362f423e7266e95bc0e90b1 | |
parent | b5b3699818c956f19b7c63577c1b0dd8dd72c9b6 (diff) | |
download | initscripts-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
-rw-r--r-- | initscripts.spec | 5 | ||||
-rw-r--r-- | sysconfig/network-scripts/network-functions | 6 |
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 |