Source-Changes-HG archive

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

[src/netbsd-1-6]: src/sys/dev/bi Pullup revisions 1.18-1.20 (requested by bou...



details:   https://anonhg.NetBSD.org/src/rev/5523a5123b9f
branches:  netbsd-1-6
changeset: 529961:5523a5123b9f
user:      jmc <jmc%NetBSD.org@localhost>
date:      Mon Jan 27 05:37:37 2003 +0000

description:
Pullup revisions 1.18-1.20 (requested by bouyer in ticket #1098)
 This chip should autopad, so just remove the check for len.

diffstat:

 sys/dev/bi/if_ni.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r ece9dc5d4f7e -r 5523a5123b9f sys/dev/bi/if_ni.c
--- a/sys/dev/bi/if_ni.c        Mon Jan 27 05:34:52 2003 +0000
+++ b/sys/dev/bi/if_ni.c        Mon Jan 27 05:37:37 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ni.c,v 1.14 2001/11/13 12:51:34 lukem Exp $ */
+/*     $NetBSD: if_ni.c,v 1.14.10.1 2003/01/27 05:37:37 jmc Exp $ */
 /*
  * Copyright (c) 2000 Ludd, University of Lule}, Sweden. All rights reserved.
  *
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ni.c,v 1.14 2001/11/13 12:51:34 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ni.c,v 1.14.10.1 2003/01/27 05:37:37 jmc Exp $");
 
 #include "opt_inet.h"
 #include "bpfilter.h"
@@ -572,8 +572,6 @@
                data->nd_ptdbidx = 1;
                data->nd_len = 10 + i * 8;
                data->bufs[i - 1]._index &= ~NIDG_CHAIN;
-               if (mlen < 64)
-                       data->bufs[i - 1]._len = bdp[-1].nb_len += (64 - mlen);
                data->nd_cmdref = (u_int32_t)m;
 #ifdef DEBUG
                if (ifp->if_flags & IFF_DEBUG)



Home | Main Index | Thread Index | Old Index