Module Name: src Committed By: pooka Date: Mon Jan 18 20:45:13 UTC 2010
Modified Files: src/sys/dev/pci: if_devar.h Log Message: Remove unused macro definition (the NetBSD version would just not go through a compiler). To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53 src/sys/dev/pci/if_devar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/pci/if_devar.h diff -u src/sys/dev/pci/if_devar.h:1.52 src/sys/dev/pci/if_devar.h:1.53 --- src/sys/dev/pci/if_devar.h:1.52 Wed May 6 10:34:32 2009 +++ src/sys/dev/pci/if_devar.h Mon Jan 18 20:45:12 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: if_devar.h,v 1.52 2009/05/06 10:34:32 cegger Exp $ */ +/* $NetBSD: if_devar.h,v 1.53 2010/01/18 20:45:12 pooka Exp $ */ /*- * Copyright (c) 1994-1997 Matt Thomas (m...@3am-software.com) @@ -945,7 +945,6 @@ #if NBPFILTER > 0 #define TULIP_BPF_MTAP(sc, m) bpf_mtap(&(sc)->tulip_if, m) #define TULIP_BPF_TAP(sc, p, l) bpf_tap(&(sc)->tulip_if, p, l) -#define TULIP_BPF_ATTACH(sc) bpfattach(&(sc)->tulip_if, DLT_EN10MB, sizeof(struct ether_header)) #endif #define tulip_intrfunc_t void #define TULIP_VOID_INTRFUNC @@ -1064,7 +1063,6 @@ #if !defined(TULIP_BPF_MTAP) && NBPFILTER > 0 #define TULIP_BPF_MTAP(sc, m) bpf_mtap((sc)->tulip_bpf, m) #define TULIP_BPF_TAP(sc, p, l) bpf_tap((sc)->tulip_bpf, p, l) -#define TULIP_BPF_ATTACH(sc) bpfattach(&(sc)->tulip_bpf, &(sc)->tulip_if, DLT_EN10MB, sizeof(struct ether_header)) #endif #if defined(TULIP_PERFSTATS)