Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Finish last commit (Make this compile with optio...



details:   https://anonhg.NetBSD.org/src/rev/df2ba755de7a
branches:  trunk
changeset: 550952:df2ba755de7a
user:      hannken <hannken%NetBSD.org@localhost>
date:      Tue Aug 26 10:17:02 2003 +0000

description:
Finish last commit (Make this compile with options DEBUG).
NetBSD has no M_WRITABLE().

diffstat:

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

diffs (27 lines):

diff -r a32577373302 -r df2ba755de7a sys/dev/pci/if_bge.c
--- a/sys/dev/pci/if_bge.c      Tue Aug 26 09:06:50 2003 +0000
+++ b/sys/dev/pci/if_bge.c      Tue Aug 26 10:17:02 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_bge.c,v 1.47 2003/08/23 20:37:18 cjep Exp $ */
+/*     $NetBSD: if_bge.c,v 1.48 2003/08/26 10:17:02 hannken Exp $      */
 
 /*
  * Copyright (c) 2001 Wind River Systems
@@ -79,7 +79,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.47 2003/08/23 20:37:18 cjep Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.48 2003/08/26 10:17:02 hannken Exp $");
 
 #include "bpfilter.h"
 #include "vlan.h"
@@ -2803,7 +2803,7 @@
        }
 
 #ifdef DEBUG
-         KASSERT(M_WRITABLE(last) /*, ("to-pad mbuf not writeable\n")*/ );
+         /*KASSERT(M_WRITABLE(last), ("to-pad mbuf not writeable\n"));*/
          KASSERT(M_TRAILINGSPACE(last) >= padlen /*, ("insufficient space to pad\n")*/ );
 #endif
        /* Now zero the pad area, to avoid the bge cksum-assist bug */



Home | Main Index | Thread Index | Old Index