From 2075407db296eaaf393d0b75a122d243c1cadef0 Mon Sep 17 00:00:00 2001 From: Bill Paul Date: Tue, 6 Apr 1999 22:56:21 +0000 Subject: Remove teensy-weensy bit of debug code that crept in. Oh, I forgot to mention: this driver also works on FreeBSD/alpha (big thanks to Andrew Gallatin). And there is a 2.2.x version available for those who stubbornly refuse to upgrade. --- sys/dev/ti/if_ti.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'sys/dev/ti') diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c index 33900df57aba..befff6f50fa8 100644 --- a/sys/dev/ti/if_ti.c +++ b/sys/dev/ti/if_ti.c @@ -29,7 +29,7 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_ti.c,v 1.106 1999/04/06 15:55:01 wpaul Exp $ + * $Id: if_ti.c,v 1.1 1999/04/06 17:08:29 wpaul Exp $ */ /* @@ -128,7 +128,7 @@ #if !defined(lint) static const char rcsid[] = - "$Id: if_ti.c,v 1.106 1999/04/06 15:55:01 wpaul Exp $"; + "$Id: if_ti.c,v 1.1 1999/04/06 17:08:29 wpaul Exp $"; #endif /* @@ -1756,7 +1756,6 @@ fail: * 2) the frame is from the jumbo recieve ring * 3) the frame is from the standard receive ring */ -int ti_cksumok = 0; static void ti_rxeof(sc) struct ti_softc *sc; @@ -1855,10 +1854,8 @@ static void ti_rxeof(sc) #ifdef TI_CSUM_OFFLOAD ip = mtod(m, struct ip *); if (!(cur_rx->ti_tcp_udp_cksum ^ 0xFFFF) && - !(ip->ip_off & htons(IP_MF | IP_OFFMASK | IP_RF))) { + !(ip->ip_off & htons(IP_MF | IP_OFFMASK | IP_RF))) m->m_flags |= M_HWCKSUM; - ti_cksumok++; - } #endif #if NVLAN > 0 -- cgit v1.3