Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic Do not indicate to the NIC that the host has appe...



details:   https://anonhg.NetBSD.org/src/rev/f5ef3c3ef362
branches:  trunk
changeset: 572185:f5ef3c3ef362
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Thu Dec 23 05:50:24 2004 +0000

description:
Do not indicate to the NIC that the host has appended the CRC32 to
Tx frames.

diffstat:

 sys/dev/ic/rtw.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b798c2f2ee7e -r f5ef3c3ef362 sys/dev/ic/rtw.c
--- a/sys/dev/ic/rtw.c  Thu Dec 23 05:47:42 2004 +0000
+++ b/sys/dev/ic/rtw.c  Thu Dec 23 05:50:24 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rtw.c,v 1.12 2004/12/23 05:47:42 dyoung Exp $ */
+/* $NetBSD: rtw.c,v 1.13 2004/12/23 05:50:24 dyoung Exp $ */
 /*-
  * Copyright (c) 2004, 2005 David Young.  All rights reserved.
  *
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rtw.c,v 1.12 2004/12/23 05:47:42 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rtw.c,v 1.13 2004/12/23 05:50:24 dyoung Exp $");
 
 #include "bpfilter.h"
 
@@ -2014,7 +2014,7 @@
        tcr &= ~(RTW_TCR_SRL_MASK|RTW_TCR_LRL_MASK);
        tcr |= LSHIFT(4, RTW_TCR_SRL_MASK) | LSHIFT(4, RTW_TCR_LRL_MASK);
 
-       tcr |= RTW_TCR_CRC;     /* NIC appends CRC32 */
+       tcr &= ~RTW_TCR_CRC;    /* NIC appends CRC32 */
 
        RTW_WRITE(regs, RTW_TCR, tcr);
        RTW_SYNC(regs, RTW_TCR, RTW_TCR);



Home | Main Index | Thread Index | Old Index