From: frank.blaschka@de.ibm.com
To: jgarzik@pobox.com
Cc: netdev@vger.kernel.org, linux-s390@vger.kernel.org,
Klaus-Dieter Wacker <kdwacker@de.ibm.com>
Subject: [patch 1/4] qeth: HiperSockets mcl string conversion (pre z9 mach)
Date: Thu, 11 Dec 2008 14:23:10 +0100 [thread overview]
Message-ID: <20081211132418.536511000@de.ibm.com> (raw)
In-Reply-To: 20081211132309.053505000@de.ibm.com
[-- Attachment #1: 603-qeth-mcl.diff --]
[-- Type: text/plain, Size: 1013 bytes --]
From: Klaus-Dieter Wacker <kdwacker@de.ibm.com>
The pre z9 machines provide an mcl string in EBCDIC format,
z9 or later provide string in ASCII format.
Signed-off-by: Klaus-Dieter Wacker <kdwacker@de.ibm.com>
Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
---
drivers/s390/net/qeth_core_main.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff -urpN linux-2.6/drivers/s390/net/qeth_core_main.c linux-2.6-patched/drivers/s390/net/qeth_core_main.c
--- linux-2.6/drivers/s390/net/qeth_core_main.c 2008-12-11 11:23:10.000000000 +0100
+++ linux-2.6-patched/drivers/s390/net/qeth_core_main.c 2008-12-11 11:27:12.000000000 +0100
@@ -2250,7 +2250,8 @@ void qeth_print_status_message(struct qe
}
/* fallthrough */
case QETH_CARD_TYPE_IQD:
- if (card->info.guestlan) {
+ if ((card->info.guestlan) ||
+ (card->info.mcl_level[0] & 0x80)) {
card->info.mcl_level[0] = (char) _ebcasc[(__u8)
card->info.mcl_level[0]];
card->info.mcl_level[1] = (char) _ebcasc[(__u8)
--
next prev parent reply other threads:[~2008-12-11 13:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-11 13:23 [patch 0/4] s390: qeth fixes 2.6.29 frank.blaschka
2008-12-11 13:23 ` frank.blaschka [this message]
2008-12-11 13:23 ` [patch 2/4] qeth: exploit source MAC address for inbound layer3 packets frank.blaschka
2008-12-11 13:23 ` [patch 3/4] qeth: avoid crash in case of layer mismatch for VSWITCH frank.blaschka
2008-12-11 13:23 ` [patch 4/4] qeth: do not spin for SETIP ip assist command frank.blaschka
2008-12-15 8:46 ` [patch 0/4] s390: qeth fixes 2.6.29 David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081211132418.536511000@de.ibm.com \
--to=frank.blaschka@de.ibm.com \
--cc=jgarzik@pobox.com \
--cc=kdwacker@de.ibm.com \
--cc=linux-s390@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).