From: "YOSHIFUJI Hideaki / 吉藤英明" <yoshfuji@linux-ipv6.org>
To: bastian@waldi.eu.org
Cc: linux-kernel@vger.kernel.org, yoshfuji@linux-ipv6.org, davem@redhat.com
Subject: Re: [PATCH] s390 - mark IPv6 support for QETH as broken
Date: Sat, 10 Jul 2004 05:34:40 +0900 (JST) [thread overview]
Message-ID: <20040710.053440.88051135.yoshfuji@linux-ipv6.org> (raw)
In-Reply-To: <20040709200445.GD11138@wavehammer.waldi.eu.org>
In article <20040709200445.GD11138@wavehammer.waldi.eu.org> (at Fri, 9 Jul 2004 22:04:45 +0200), Bastian Blank <bastian@waldi.eu.org> says:
> On Sat, Jul 10, 2004 at 05:00:28AM +0900, YOSHIFUJI Hideaki / 吉藤英明 wrote:
> > It is NOT broken at all.
>
> It does not compile at all.
Okay... Let's remove generate_eui64 part instead.
Something like this. Thanks.
Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Index: drivers/s390/net/Kconfig
===================================================================
RCS file: /cvsroot/usagi/usagi/kernel/linux26/drivers/s390/net/Kconfig,v
retrieving revision 1.1.1.6
diff -u -u -r1.1.1.6 Kconfig
--- linux26/drivers/s390/net/Kconfig 28 Apr 2004 10:12:42 -0000 1.1.1.6
+++ linux26/drivers/s390/net/Kconfig 9 Jul 2004 20:31:06 -0000
@@ -75,7 +75,11 @@
help
If CONFIG_QETH is switched on, this option will include IPv6
support in the qeth device driver.
-
+
+config QETH_IPV6_IFID
+ bool "Broken private inteface identifier support"
+ depends on ((QETH = IPV6) || (QETH && IPV6 = 'y')) && BROKEN
+
config QETH_VLAN
bool "VLAN support for gigabit ethernet"
depends on (QETH = VLAN_8021Q) || (QETH && VLAN_8021Q = 'y')
Index: drivers/s390/net/qeth_main.c
===================================================================
RCS file: /cvsroot/usagi/usagi/kernel/linux26/drivers/s390/net/qeth_main.c,v
retrieving revision 1.1.1.5
diff -u -u -r1.1.1.5 qeth_main.c
--- linux26/drivers/s390/net/qeth_main.c 17 Jun 2004 01:22:21 -0000 1.1.1.5
+++ linux26/drivers/s390/net/qeth_main.c 9 Jul 2004 20:31:07 -0000
@@ -4732,6 +4732,7 @@
}
#ifdef CONFIG_QETH_IPV6
+#ifdef CONFIG_QETH_IPV6_IFID
int
qeth_ipv6_generate_eui64(u8 * eui, struct net_device *dev)
{
@@ -4751,6 +4752,7 @@
}
#endif
+#endif
static void
qeth_get_mac_for_ipm(__u32 ipm, char *mac, struct net_device *dev)
@@ -5159,10 +5161,10 @@
#ifdef CONFIG_QETH_IPV6
/*IPv6 address autoconfiguration stuff*/
card->dev->dev_id = card->info.unique_id & 0xffff;
+#ifdef CONFIG_QETH_IPV6_IFID
if (!(card->info.unique_id & UNIQUE_ID_NOT_BY_CARD))
card->dev->generate_eui64 = qeth_ipv6_generate_eui64;
-
-
+#endif
#endif
dev->hard_header_parse = NULL;
dev->set_mac_address = NULL;
--yoshfuji
next prev parent reply other threads:[~2004-07-09 20:34 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-09 14:06 Bastian Blank
2004-07-09 14:09 ` Christoph Hellwig
2004-07-09 18:46 ` Adrian Bunk
2004-07-09 19:03 ` Andrew Morton
2004-07-09 19:15 ` Christian Borntraeger
2004-07-09 20:01 ` YOSHIFUJI Hideaki / 吉藤英明
2004-07-09 19:22 ` Bastian Blank
2004-07-09 19:30 ` David S. Miller
2004-07-09 19:47 ` Bastian Blank
2004-07-09 20:00 ` YOSHIFUJI Hideaki / 吉藤英明
2004-07-09 20:04 ` Bastian Blank
2004-07-09 20:34 ` YOSHIFUJI Hideaki / 吉藤英明 [this message]
2004-07-09 20:01 ` David S. Miller
2004-07-09 19:50 ` Christian Borntraeger
2004-07-09 20:03 ` Bastian Blank
2004-07-09 19:59 ` YOSHIFUJI Hideaki / 吉藤英明
2004-07-09 20:05 ` David S. Miller
2004-07-09 20:08 ` YOSHIFUJI Hideaki / 吉藤英明
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=20040710.053440.88051135.yoshfuji@linux-ipv6.org \
--to=yoshfuji@linux-ipv6.org \
--cc=bastian@waldi.eu.org \
--cc=davem@redhat.com \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®