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
|