Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/alpha Disable the optimized in4_cksum() for now -- ...



details:   https://anonhg.NetBSD.org/src/rev/0d41e7885634
branches:  trunk
changeset: 509191:0d41e7885634
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Apr 29 05:54:29 2001 +0000

description:
Disable the optimized in4_cksum() for now -- there seem to be problems.

diffstat:

 sys/arch/alpha/alpha/in_cksum.c |  6 ++++--
 sys/arch/alpha/conf/files.alpha |  3 ++-
 2 files changed, 6 insertions(+), 3 deletions(-)

diffs (48 lines):

diff -r 728a04d36586 -r 0d41e7885634 sys/arch/alpha/alpha/in_cksum.c
--- a/sys/arch/alpha/alpha/in_cksum.c   Sun Apr 29 04:54:53 2001 +0000
+++ b/sys/arch/alpha/alpha/in_cksum.c   Sun Apr 29 05:54:29 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: in_cksum.c,v 1.8 2001/04/29 03:29:21 thorpej Exp $ */
+/* $NetBSD: in_cksum.c,v 1.9 2001/04/29 05:54:29 thorpej Exp $ */
 
 /*
  * Copyright (c) 1988, 1992, 1993
@@ -39,7 +39,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: in_cksum.c,v 1.8 2001/04/29 03:29:21 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in_cksum.c,v 1.9 2001/04/29 05:54:29 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/mbuf.h>
@@ -199,6 +199,7 @@
        return (~sum & 0xffff);
 }
 
+#if 0
 int
 in4_cksum(struct mbuf *m, u_int8_t nxt, int off, int len)
 {
@@ -251,3 +252,4 @@
        REDUCE16;
        return (~sum & 0xffff);
 }
+#endif
diff -r 728a04d36586 -r 0d41e7885634 sys/arch/alpha/conf/files.alpha
--- a/sys/arch/alpha/conf/files.alpha   Sun Apr 29 04:54:53 2001 +0000
+++ b/sys/arch/alpha/conf/files.alpha   Sun Apr 29 05:54:29 2001 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: files.alpha,v 1.138 2001/04/29 03:29:22 thorpej Exp $
+# $NetBSD: files.alpha,v 1.139 2001/04/29 05:54:29 thorpej Exp $
 #
 # alpha-specific configuration info
 
@@ -505,6 +505,7 @@
 
 # Network protocol checksum routines
 file   arch/alpha/alpha/in_cksum.c             inet
+file   netinet/in4_cksum.c                     inet
 file   netns/ns_cksum.c                        ns
 
 # PROM console support (for ports that don't have native console support)



Home | Main Index | Thread Index | Old Index