summaryrefslogtreecommitdiff
path: root/sys/pci/if_tx.c
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2001-09-05 23:04:53 +0000
committerBrooks Davis <brooks@FreeBSD.org>2001-09-05 23:04:53 +0000
commit5c88c82cf3339492cf9fcc777382c12268198da5 (patch)
tree2ad3d0064c167d8549305e65563a5cf1d7cd7d8e /sys/pci/if_tx.c
parent2441ae608e3e489e7dd3f615b6e5da5bf331f00c (diff)
Notes
Diffstat (limited to 'sys/pci/if_tx.c')
-rw-r--r--sys/pci/if_tx.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/pci/if_tx.c b/sys/pci/if_tx.c
index 707355dbd01e..0fb905162d76 100644
--- a/sys/pci/if_tx.c
+++ b/sys/pci/if_tx.c
@@ -54,8 +54,6 @@
#if defined(__FreeBSD__)
#define NBPFILTER 1
-#include "vlan.h"
-
#include <net/if.h>
#include <net/if_arp.h>
#include <net/ethernet.h>
@@ -63,9 +61,7 @@
#include <net/bpf.h>
-#if NVLAN > 0
#include <net/if_vlan_var.h>
-#endif
#include <vm/vm.h> /* for vtophys */
#include <vm/pmap.h> /* for vtophys */
@@ -561,9 +557,7 @@ epic_freebsd_attach(dev)
/* Attach to OS's managers */
ether_ifattach(ifp, ETHER_BPF_SUPPORTED);
-#if NVLAN > 0
ifp->if_hdrlen = sizeof(struct ether_vlan_header);
-#endif
callout_handle_init(&sc->stat_ch);
fail: