Thread (25 messages) 25 messages, 4 authors, 2005-08-24

mv643xx(10/20): compile fix for non-NAPI case

From: Dale Farnsworth <hidden>
Date: 2005-03-28 23:49:50

Compiles for the non-NAPI configuration were broken. 

Signed-off-by: James Chapman <jchapman@katalix.com>
Acked-by: Dale Farnsworth <redacted>

Index: linux-2.5-enet/drivers/net/mv643xx_eth.c
===================================================================
--- linux-2.5-enet.orig/drivers/net/mv643xx_eth.c
+++ linux-2.5-enet/drivers/net/mv643xx_eth.c
@@ -561,9 +561,10 @@
 								(port_num), 0);
 			__netif_rx_schedule(dev);
 		}
+	}
 #else
 		if (eth_int_cause & (BIT2 | BIT11))
-			mv643xx_eth_receive_queue(dev, 0);
+			mv643xx_eth_receive_queue(dev);
 
 		/*
 		 * After forwarded received packets to upper layer, add a task
@@ -580,7 +581,6 @@
 		mp->rx_task.func(dev);
 #endif
 #endif
-	}
 	/* PHY status changed */
 	if (eth_int_cause_ext & (BIT16 | BIT20)) {
 		struct ethtool_cmd cmd;
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help