]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/suse-2.6.27.25/patches.arch/s390-03-07-qeth_hsi_mcl_string.patch
Revert "Move xen patchset to new version's subdir."
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.25 / patches.arch / s390-03-07-qeth_hsi_mcl_string.patch
CommitLineData
00e5a55c
BS
1From: Gerald Schaefer <geraldsc@de.ibm.com>
2Subject: qeth: pre z9 systems return HiperSocket version string different.
3References: bnc#440610,LTC#49052
4
5Symptom: Device startup message shows invalid version string.
6Problem: z9 changed the string format from EBCDIC to ASCII.
7Solution: In case an EBCDIC HiperSocket version string is detected
8 the string is converted to ASCII before insertion into
9 message.
10
11Acked-by: John Jolly <jjolly@suse.de>
12
13Index: linux-sles11/drivers/s390/net/qeth_core_main.c
14===================================================================
15--- linux-sles11.orig/drivers/s390/net/qeth_core_main.c
16+++ linux-sles11/drivers/s390/net/qeth_core_main.c
17@@ -2239,7 +2239,8 @@ void qeth_print_status_message(struct qe
18 }
19 /* fallthrough */
20 case QETH_CARD_TYPE_IQD:
21- if (card->info.guestlan) {
22+ if ((card->info.guestlan) ||
23+ (card->info.mcl_level[0] & 0x80)) {
24 card->info.mcl_level[0] = (char) _ebcasc[(__u8)
25 card->info.mcl_level[0]];
26 card->info.mcl_level[1] = (char) _ebcasc[(__u8)