* [Patch 3/16 2.5] ixgb: Fix endianess issue for Tx cleanup
@ 2004-10-15 13:54 Ganesh Venkatesan
2004-10-15 17:04 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: Ganesh Venkatesan @ 2004-10-15 13:54 UTC (permalink / raw)
To: jgarzik@pobox.com; +Cc: netdev
diff -up net-drivers-2.6/drivers/net/ixgb/ixgb_main.c net-drivers-2.6/drivers/net/ixgb.new/ixgb_main.c
--- net-drivers-2.6/drivers/net/ixgb/ixgb_main.c 2004-10-05 15:50:18.000000000 -0700
+++ net-drivers-2.6/drivers/net/ixgb.new/ixgb_main.c 2004-10-05 17:55:48.000000000 -0700
@@ -1677,7 +1677,7 @@ static boolean_t ixgb_clean_tx_irq(struc
eop = tx_ring->buffer_info[i].next_to_watch;
eop_desc = IXGB_TX_DESC(*tx_ring, eop);
- while (eop_desc->status & cpu_to_le32(IXGB_TX_DESC_STATUS_DD)) {
+ while(eop_desc->status & IXGB_TX_DESC_STATUS_DD) {
for (cleaned = FALSE; !cleaned;) {
tx_desc = IXGB_TX_DESC(*tx_ring, i);
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [Patch 3/16 2.5] ixgb: Fix endianess issue for Tx cleanup
2004-10-15 13:54 [Patch 3/16 2.5] ixgb: Fix endianess issue for Tx cleanup Ganesh Venkatesan
@ 2004-10-15 17:04 ` Jeff Garzik
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2004-10-15 17:04 UTC (permalink / raw)
To: Ganesh Venkatesan; +Cc: netdev
Ganesh Venkatesan wrote:
> diff -up net-drivers-2.6/drivers/net/ixgb/ixgb_main.c net-drivers-2.6/drivers/net/ixgb.new/ixgb_main.c
> --- net-drivers-2.6/drivers/net/ixgb/ixgb_main.c 2004-10-05 15:50:18.000000000 -0700
> +++ net-drivers-2.6/drivers/net/ixgb.new/ixgb_main.c 2004-10-05 17:55:48.000000000 -0700
> @@ -1677,7 +1677,7 @@ static boolean_t ixgb_clean_tx_irq(struc
> eop = tx_ring->buffer_info[i].next_to_watch;
> eop_desc = IXGB_TX_DESC(*tx_ring, eop);
>
> - while (eop_desc->status & cpu_to_le32(IXGB_TX_DESC_STATUS_DD)) {
> + while(eop_desc->status & IXGB_TX_DESC_STATUS_DD) {
>
> for (cleaned = FALSE; !cleaned;) {
patch OK but patch(1) could not apply the patch:
bk import -tpatch -CR -yixgb: Fix endianess issue for Tx cleanup
/tmp/patch4377 .
Patching...
Patch failed. **** patch log follows ****
Patching file drivers/net/ixgb/ixgb_main.c
1 out of 1 hunk FAILED -- saving rejects to file
drivers/net/ixgb/ixgb_main.c.rej
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-10-15 17:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-15 13:54 [Patch 3/16 2.5] ixgb: Fix endianess issue for Tx cleanup Ganesh Venkatesan
2004-10-15 17:04 ` Jeff Garzik
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).