aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/s2io.c
diff options
context:
space:
mode:
authorRamkrishna Vepa <ram.vepa@neterion.com>2007-07-25 22:43:12 -0400
committerJeff Garzik <jeff@garzik.org>2007-07-30 15:56:04 -0400
commit573608e4cde2aa3b76120685fba945d889b2ba57 (patch)
tree21bc9a60a053f88184acb4867d52541503c6b0cf /drivers/net/s2io.c
parent0a65a65d7ad6e2e647bc59844eb92829b0384b7d (diff)
S2io: Increment received packet count correctly
- Fix to increment the received packet count correctly. (Resending; Removed HTML sections in the patch) Signed-off-by: Santosh Rastapur <santosh.rastapur@neterion.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/s2io.c')
-rw-r--r--drivers/net/s2io.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/s2io.c b/drivers/net/s2io.c
index 9fd465b9f853..2be0a0f1b48f 100644
--- a/drivers/net/s2io.c
+++ b/drivers/net/s2io.c
@@ -84,7 +84,7 @@
84#include "s2io.h" 84#include "s2io.h"
85#include "s2io-regs.h" 85#include "s2io-regs.h"
86 86
87#define DRV_VERSION "2.0.24.1" 87#define DRV_VERSION "2.0.25.1"
88 88
89/* S2io Driver name & version. */ 89/* S2io Driver name & version. */
90static char s2io_driver_name[] = "Neterion"; 90static char s2io_driver_name[] = "Neterion";
@@ -6734,6 +6734,7 @@ static int rx_osm_handler(struct ring_info *ring_data, struct RxD_t * rxdp)
6734 } 6734 }
6735 6735
6736 /* Updating statistics */ 6736 /* Updating statistics */
6737 sp->stats.rx_packets++;
6737 rxdp->Host_Control = 0; 6738 rxdp->Host_Control = 0;
6738 if (sp->rxd_mode == RXD_MODE_1) { 6739 if (sp->rxd_mode == RXD_MODE_1) {
6739 int len = RXD_GET_BUFFER0_SIZE_1(rxdp->Control_2); 6740 int len = RXD_GET_BUFFER0_SIZE_1(rxdp->Control_2);