DORMANTno replies

[PATCH 2.6] ixgb - fix bug in transmit cleanup for ppc64

From: Jesse Brandeburg <hidden>
Date: 2004-08-03 01:51:21

This fixes an endianness error when on PPC64 arch.
Signed off by: Jesse Brandeburg [off-list ref]

diff -Nurp --exclude=CVS linux-2.6.7/drivers/net/ixgb/ixgb_main.c linux-2.6.7_mod/drivers/net/ixgb/ixgb_main.c
--- linux-2.6.7/drivers/net/ixgb/ixgb_main.c	2004-06-16 05:19:01.000000000 +0000
+++ linux-2.6.7_mod/drivers/net/ixgb/ixgb_main.c	2004-08-03 01:34:52.000000000 +0000
@@ -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);
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help