]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/patches/suse-2.6.27.31/patches.arch/s390-02-07-qeth-ipv6check.patch
Add a patch to fix Intel E100 wake-on-lan problems.
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.arch / s390-02-07-qeth-ipv6check.patch
1 From: Gerald Schaefer <geraldsc@de.ibm.com>
2 Subject: qeth: remove unnecessary support ckeck in sysfs route6
3 References: bnc#434333
4
5 Symptom: route6 attribute can not be set in initial device condition
6 Problem: Usability
7 Solution: Remove this check improves usability because you do not have to
8 set the device online to initially set ipv6 routing option.
9
10 Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
11
12 Acked-by: John Jolly <jjolly@suse.de>
13 ---
14
15 drivers/s390/net/qeth_l3_sys.c | 7 -------
16 1 file changed, 7 deletions(-)
17
18 Index: linux-sles11/drivers/s390/net/qeth_l3_sys.c
19 ===================================================================
20 --- linux-sles11.orig/drivers/s390/net/qeth_l3_sys.c
21 +++ linux-sles11/drivers/s390/net/qeth_l3_sys.c
22 @@ -121,9 +121,6 @@ static ssize_t qeth_l3_dev_route6_show(s
23 if (!card)
24 return -EINVAL;
25
26 - if (!qeth_is_supported(card, IPA_IPV6))
27 - return sprintf(buf, "%s\n", "n/a");
28 -
29 return qeth_l3_dev_route_show(card, &card->options.route6, buf);
30 }
31
32 @@ -135,10 +132,6 @@ static ssize_t qeth_l3_dev_route6_store(
33 if (!card)
34 return -EINVAL;
35
36 - if (!qeth_is_supported(card, IPA_IPV6)) {
37 - return -EOPNOTSUPP;
38 - }
39 -
40 return qeth_l3_dev_route_store(card, &card->options.route6,
41 QETH_PROT_IPV6, buf, count);
42 }