summaryrefslogtreecommitdiffstats
path: root/sys/dev/fxp
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1997-02-04 07:39:28 +0000
committerdg <dg@FreeBSD.org>1997-02-04 07:39:28 +0000
commitcc86e3701137c7a8df45e4acb91e18250c018e2a (patch)
tree4bb81ef309cd425bb87fdd5b27771f904d19d087 /sys/dev/fxp
parent7dabfb7657ef752bbbf7378336320c0c17a51569 (diff)
downloadFreeBSD-src-cc86e3701137c7a8df45e4acb91e18250c018e2a.zip
FreeBSD-src-cc86e3701137c7a8df45e4acb91e18250c018e2a.tar.gz
Don't include the short-frames counter in with the input errors. This
counter is incremented on all short frames, including those that are the result of collisions.
Diffstat (limited to 'sys/dev/fxp')
-rw-r--r--sys/dev/fxp/if_fxp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c
index a85fe96..1565213 100644
--- a/sys/dev/fxp/if_fxp.c
+++ b/sys/dev/fxp/if_fxp.c
@@ -675,8 +675,7 @@ fxp_stats_update(arg)
sp->rx_crc_errors +
sp->rx_alignment_errors +
sp->rx_rnr_errors +
- sp->rx_overrun_errors +
- sp->rx_shortframes;
+ sp->rx_overrun_errors;
/*
* If any transmit underruns occured, bump up the transmit
* threshold by another 512 bytes (64 * 8).
@@ -713,7 +712,6 @@ fxp_stats_update(arg)
sp->rx_alignment_errors = 0;
sp->rx_rnr_errors = 0;
sp->rx_overrun_errors = 0;
- sp->rx_shortframes = 0;;
}
/*
* Schedule another timeout one second from now.
OpenPOWER on IntegriCloud