From: "John W. Linville" <linville@tuxdriver.com>
To: netdev@oss.sgi.com, linux-kernel@vger.kernel.org,
jgarzik@pobox.com, romieu@fr.zoreil.com
Subject: [patch netdev-2.6 1/2] r8169: endian-swap return of rtl8169_tx_vlan_tag()
Date: Thu, 21 Oct 2004 21:00:47 -0400 [thread overview]
Message-ID: <20041022010046.GB1945@tuxdriver.com> (raw)
In-Reply-To: <20041022005737.GA1945@tuxdriver.com>
Endian-swap return of rtl8169_tx_vlan_tag() in rtl8169_start_xmit()
Signed-off-by: John W. Linville <linville@tuxdriver.com>
---
drivers/net/r8169.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
--- netdev-2.6/drivers/net/r8169.c.netdev 2004-10-21 14:48:38.753676111 -0400
+++ netdev-2.6/drivers/net/r8169.c 2004-10-21 14:49:04.874988962 -0400
@@ -1906,7 +1906,7 @@ static int rtl8169_start_xmit(struct sk_
tp->tx_skb[entry].len = len;
txd->addr = cpu_to_le64(mapping);
- txd->opts2 = rtl8169_tx_vlan_tag(tp, skb);
+ txd->opts2 = cpu_to_le32(rtl8169_tx_vlan_tag(tp, skb));
wmb();
next prev parent reply other threads:[~2004-10-22 1:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-22 0:57 [patch netdev-2.6 0/2] r8169: vlan hwaccel fixes John W. Linville
2004-10-22 1:00 ` John W. Linville [this message]
2004-10-22 1:02 ` [patch netdev-2.6 2/2] r8169: fix RxVlan bit manipulation John W. Linville
2004-10-22 20:28 ` [patch netdev-2.6 0/2] r8169: vlan hwaccel fixes Francois Romieu
2004-10-23 1:49 ` [patch netdev-2.6 3/3] r8169: simplify trick if() expression John W. Linville
2004-10-23 1:51 ` [patch netdev-2.6 0/2] r8169: vlan hwaccel fixes John W. Linville
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=20041022010046.GB1945@tuxdriver.com \
--to=linville@tuxdriver.com \
--cc=jgarzik@pobox.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@oss.sgi.com \
--cc=romieu@fr.zoreil.com \
/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).