]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/patches/suse-2.6.27.25/patches.arch/s390-03-07-qeth_hsi_mcl_string.patch
Changed checkfs to auto reboot after correctable fsck fixes.
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.25 / patches.arch / s390-03-07-qeth_hsi_mcl_string.patch
1 From: Gerald Schaefer <geraldsc@de.ibm.com>
2 Subject: qeth: pre z9 systems return HiperSocket version string different.
3 References: bnc#440610,LTC#49052
4
5 Symptom: Device startup message shows invalid version string.
6 Problem: z9 changed the string format from EBCDIC to ASCII.
7 Solution: In case an EBCDIC HiperSocket version string is detected
8 the string is converted to ASCII before insertion into
9 message.
10
11 Acked-by: John Jolly <jjolly@suse.de>
12
13 Index: 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)