patch-2.4.20 linux-2.4.20/drivers/net/yellowfin.c

Next file: linux-2.4.20/drivers/net/zlib.c
Previous file: linux-2.4.20/drivers/net/wireless/orinoco_plx.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/drivers/net/yellowfin.c linux-2.4.20/drivers/net/yellowfin.c
@@ -1020,18 +1020,12 @@
 					if (tx_errs & 0x0800) yp->stats.tx_carrier_errors++;
 					if (tx_errs & 0x2000) yp->stats.tx_window_errors++;
 					if (tx_errs & 0x8000) yp->stats.tx_fifo_errors++;
-#ifdef ETHER_STATS
-					if (tx_errs & 0x1000) yp->stats.collisions16++;
-#endif
 				} else {
 #ifndef final_version
 					if (yellowfin_debug > 4)
 						printk(KERN_DEBUG "%s: Normal transmit, Tx status %4.4x.\n",
 							   dev->name, tx_errs);
 #endif
-#ifdef ETHER_STATS
-					if (tx_errs & 0x0400) yp->stats.tx_deferred++;
-#endif
 					yp->stats.tx_bytes += skb->len;
 					yp->stats.collisions += tx_errs & 15;
 					yp->stats.tx_packets++;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)