summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1997-02-04 07:39:28 +0000
committerDavid Greenman <dg@FreeBSD.org>1997-02-04 07:39:28 +0000
commit6e39e599636687fe32885db06a261fdf7b1d4e7a (patch)
tree4bb81ef309cd425bb87fdd5b27771f904d19d087
parent350a9f017e5aa7c8a4b0fcba04be72e3da838f85 (diff)
Notes
-rw-r--r--sys/dev/fxp/if_fxp.c4
-rw-r--r--sys/pci/if_fxp.c4
2 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c
index a85fe96a8db0..156521360e25 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.
diff --git a/sys/pci/if_fxp.c b/sys/pci/if_fxp.c
index a85fe96a8db0..156521360e25 100644
--- a/sys/pci/if_fxp.c
+++ b/sys/pci/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.