From: Ursula Braun <braunu@de.ibm.com>
To: jgarzik@pobox.com, netdev@vger.kernel.org, linux-s390@vger.kernel.org
Cc: mschwid2@linux.vnet.ibm.com, apw@shadowen.org,
linux-kernel@vger.kernel.org, kamalesh@linux.vnet.ibm.com,
kaber@trash.net
Subject: [patch 1/1] qeth: remove header_ops bug
Date: Thu, 01 Jan 1970 01:00:01 +0100 [thread overview]
Message-ID: <20071019220007.791059000@linux.vnet.ibm.com> (raw)
In-Reply-To: 20071019215538.395133000@linux.vnet.ibm.com
[-- Attachment #1: qeth.patch --]
[-- Type: text/plain, Size: 859 bytes --]
From: Ursula Braun <braunu@de.ibm.com>
Remove qeth bug caused by commit:
[NET]: Move hardware header operations out of netdevice.
Signed-off-by: Ursula Braun <braunu@de.ibm.com>
---
drivers/s390/net/qeth_main.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Index: linux-2.6-uschi/drivers/s390/net/qeth_main.c
===================================================================
--- linux-2.6-uschi.orig/drivers/s390/net/qeth_main.c
+++ linux-2.6-uschi/drivers/s390/net/qeth_main.c
@@ -6643,7 +6643,8 @@ qeth_netdev_init(struct net_device *dev)
dev->vlan_rx_kill_vid = qeth_vlan_rx_kill_vid;
dev->vlan_rx_add_vid = qeth_vlan_rx_add_vid;
#endif
- dev->header_ops = &qeth_null_ops;
+ if (qeth_get_netdev_flags(card) & IFF_NOARP)
+ dev->header_ops = &qeth_null_ops;
#ifdef CONFIG_QETH_IPV6
/*IPv6 address autoconfiguration stuff*/
--
next prev parent reply other threads:[~2007-10-19 22:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-19 21:55 [patch 0/1] remove header_ops bug in qeth driver Ursula Braun
1970-01-01 0:00 ` Ursula Braun [this message]
2007-10-20 3:04 ` [patch 1/1] qeth: remove header_ops bug Jeff Garzik
2007-10-22 7:24 ` [patch 0/1] remove header_ops bug in qeth driver Heiko Carstens
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=20071019220007.791059000@linux.vnet.ibm.com \
--to=braunu@de.ibm.com \
--cc=apw@shadowen.org \
--cc=jgarzik@pobox.com \
--cc=kaber@trash.net \
--cc=kamalesh@linux.vnet.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=mschwid2@linux.vnet.ibm.com \
--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).