[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#813030: marked as done (s390-netdevice/qeth: remove obsolete portname)



Your message dated Fri, 29 Jan 2016 03:51:23 +0000
with message-id <E1aP05j-00024D-Pd@franck.debian.org>
and subject line Bug#813030: fixed in s390-netdevice 0.0.39
has caused the Debian Bug report #813030,
regarding s390-netdevice/qeth: remove obsolete portname
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
813030: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813030
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: zipl-installer
Version: 0.0.38
Severity: minor
Tags: d-i patch

Hi,

this a small patch to remove the portname attribute.  The attribute
is obsolete and cannot be changed anymore.  Further it will be removed
in a future kernel version.

See also the attached patch.


Thanks and kind regards,
  Hendrik
>From 912031a56bb9271a0e8b4bbb90118bb6ae7fc72e Mon Sep 17 00:00:00 2001
From: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Date: Fri, 20 Nov 2015 11:09:23 +0100
Subject: [PATCH 1/4] qeth: remove portname

The portname attribute is no longer necessary and will be removed soon.
See also upstream kernel commit:

commit 239ff408ddd8fa7a19c53ed247daec855ff11ea2
Author: Ursula Braun <ursula.braun@de.ibm.com>
Date:   Fri Sep 18 16:06:50 2015 +0200

    qeth: move OSA portname into deprecated status

    An OSA-Express port name was required to identify a shared OSA port.
    All operating system instances that shared the port had to use the
    same port name. This requirement no longer applies.

    Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
---
 debian/po/templates.pot         | 17 -----------------
 debian/s390-netdevice.templates | 15 ---------------
 netdevice.c                     | 28 ++++------------------------
 3 files changed, 4 insertions(+), 56 deletions(-)

diff --git a/debian/po/templates.pot b/debian/po/templates.pot
index f6bae74..dabf4e2 100644
--- a/debian/po/templates.pot
+++ b/debian/po/templates.pot
@@ -166,7 +166,6 @@ msgid ""
 "The configured parameters are:\n"
 " channels = ${device0}, ${device1}, ${device2}\n"
 " port     = ${port}\n"
-" portname = ${portname}\n"
 " layer2   = ${layer2}"
 msgstr ""
 
@@ -190,22 +189,6 @@ msgstr ""
 #. Description
 #. :sl5:
 #: ../s390-netdevice.templates:10001
-msgid "Portname:"
-msgstr ""
-
-#. Type: string
-#. Description
-#. :sl5:
-#: ../s390-netdevice.templates:10001
-msgid ""
-"Please enter the portname of your OSA-Express card. This name must be 1 to 8 "
-"characters long and must be equal on all systems accessing the same card."
-msgstr ""
-
-#. Type: string
-#. Description
-#. :sl5:
-#: ../s390-netdevice.templates:10001
 msgid ""
 "Leave it empty if you want to use HiperSockets. This parameter is required "
 "for cards with microcode level 2.10 or later or when you want to share a "
diff --git a/debian/s390-netdevice.templates b/debian/s390-netdevice.templates
index aa641f2..39fc0b7 100644
--- a/debian/s390-netdevice.templates
+++ b/debian/s390-netdevice.templates
@@ -64,7 +64,6 @@ _Description: Do you accept this configuration?
  The configured parameters are:
   channels = ${device0}, ${device1}, ${device2}
   port     = ${port}
-  portname = ${portname}
   layer2   = ${layer2}
 
 Template: s390-netdevice/qeth/no
@@ -74,20 +73,6 @@ _Description: No OSA-Express QDIO cards / HiperSockets
  No OSA-Express QDIO cards / HiperSockets were detected. If you are running
  VM please make sure that your card is attached to this guest.
 
-Template: s390-netdevice/qeth/portname
-Type: string
-# :sl5:
-_Description: Portname:
- Please enter the portname of your OSA-Express card. This name must be 1 to
- 8 characters long and must be equal on all systems accessing the same
- card.
- .
- Leave it empty if you want to use HiperSockets. This parameter is
- required for cards with microcode level 2.10 or later or when you want to
- share a card.
- .
- The name will automatically be converted to uppercase.
-
 Template: s390-netdevice/qeth/port
 Type: string
 Default: 0
diff --git a/netdevice.c b/netdevice.c
index a4e1aea..6ddece9 100644
--- a/netdevice.c
+++ b/netdevice.c
@@ -60,7 +60,6 @@ struct device
 			struct channel *channels[3];
 			bool layer2;
 			int port;
-			char portname[32];
 		} qeth;
 		struct
 		{
@@ -109,7 +108,6 @@ enum state
 	GET_QETH_DEVICE,
 	GET_QETH_LAYER2,
 	GET_QETH_PORT,
-	GET_QETH_PORTNAME,
 	GET_IUCV_DEVICE,
 	GET_IUCV_PEER,
 	CONFIRM_CTC,
@@ -479,27 +477,13 @@ static enum state_wanted get_qeth_port (void)
 	return WANT_NEXT;
 }
 
-static enum state_wanted get_qeth_portname_iucv_peer (enum state state)
+static enum state_wanted get_iucv_peer (void)
 {
-	const char *template = NULL;
 	char *ptr, *tmp;
 	int ret, i, j;
 
-	switch (state)
-	{
-		case GET_QETH_PORTNAME:
-			template = TEMPLATE_PREFIX "qeth/portname";
-			tmp = device_current->qeth.portname;
-			break;
-		case GET_IUCV_PEER:
-			template = TEMPLATE_PREFIX "iucv/peer";
-			tmp = device_current->iucv.peername;
-			break;
-		default:
-			return WANT_ERROR;
-	}
-
-	ret = my_debconf_input ("critical", template, &ptr);
+	tmp = device_current->iucv.peername;
+	ret = my_debconf_input ("critical", TEMPLATE_PREFIX "iucv/peer", &ptr);
 	if (ret)
 		return ret;
 
@@ -779,9 +763,8 @@ int main (int argc __attribute__ ((unused)), char *argv[] __attribute__ ((unused
 			case GET_QETH_PORT:
 				state_want = get_qeth_port ();
 				break;
-			case GET_QETH_PORTNAME:
 			case GET_IUCV_PEER:
-				state_want = get_qeth_portname_iucv_peer (state);
+				state_want = get_iucv_peer ();
 				break;
 			case CONFIRM_CTC:
 				state_want = confirm_ctc ();
@@ -858,9 +841,6 @@ int main (int argc __attribute__ ((unused)), char *argv[] __attribute__ ((unused
 						state = CONFIRM_QETH;
 						break;
 					case GET_QETH_PORT:
-						state = GET_QETH_PORTNAME;
-						break;
-					case GET_QETH_PORTNAME:
 						state = CONFIRM_QETH;
 						break;
 					case GET_IUCV_DEVICE:
-- 
2.7.0.rc3


--- End Message ---
--- Begin Message ---
Source: s390-netdevice
Source-Version: 0.0.39

We believe that the bug you reported is fixed in the latest version of
s390-netdevice, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 813030@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Philipp Kern <pkern@debian.org> (supplier of updated s390-netdevice package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 29 Jan 2016 04:00:47 +0100
Source: s390-netdevice
Binary: s390-netdevice
Architecture: source s390x
Version: 0.0.39
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Philipp Kern <pkern@debian.org>
Description:
 s390-netdevice - Configure network hardware (udeb)
Closes: 813030 813033
Changes:
 s390-netdevice (0.0.39) unstable; urgency=medium
 .
   [ Hendrik Brueckner ]
   * qeth: ask for the relative OSA port number (Closes: #813033)
   * qeth: remove portname (Closes: #813030)
Checksums-Sha1:
 cec271c48ee616d60d3a43ca10caaac751f7b266 1442 s390-netdevice_0.0.39.dsc
 4521db85ca24268d5d23d174a109c6bb39a98493 108620 s390-netdevice_0.0.39.tar.xz
 ffc1297bba920eb2fda883c249c124dfc81125f6 83100 s390-netdevice_0.0.39_s390x.udeb
Checksums-Sha256:
 93eff04fc868f744b1f73a77cc912c94d31b466c6d193c0f4c64b572a06f56fe 1442 s390-netdevice_0.0.39.dsc
 5a055a2e9428c08bb21a236bdbc94cd386d56d577567c90766bf7d2c0b91efb5 108620 s390-netdevice_0.0.39.tar.xz
 50dad2309aaa3a3be3ac47b54f52201d597b34f69b9f64c28590d1227299a07f 83100 s390-netdevice_0.0.39_s390x.udeb
Files:
 a115de04060c897197c4cd01eea01ce4 1442 debian-installer standard s390-netdevice_0.0.39.dsc
 582cf779d88d704600a547e369839f87 108620 debian-installer standard s390-netdevice_0.0.39.tar.xz
 f7532a4a786f413ba41f05f43abee045 83100 debian-installer standard s390-netdevice_0.0.39_s390x.udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBCAAGBQJWqt7TAAoJEERuJUU10Fbspk4H/RT9RVAXd8+KSxuii+Gvg8Qi
myZUjkMZK2A/PonCtxmh/r9qzJLCEOAWK477hynUj1DeWGsrw0k+QQi6MvdD/q2A
3ZgsAPxPK4rVMlEh4fsBwTBw0cb4K2JKLbt0aqbEpmllKHwEN+bl1kF75yH4UwTa
CxkruBcpu8PJ6XS/qOmyw+DUBvlpemNlRFXMfoUsPEIxK0n2LnbBGIh9FivFltZs
UYxMMUdXDUMklziQ3ytuui9O/Fxyqk5AkZjBfKMpeYfGF/M0zDTsUHivo5pQnP4D
eix3Brv8VY7wzw7zNuxt5PQ1rJQ2lWDNyDHd8Ngm8Ee0Q/B78eQ37uCgmx1CeW4=
=piYW
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: