summaryrefslogtreecommitdiff
path: root/sys/dev/ex
diff options
context:
space:
mode:
authorArchie Cobbs <archie@FreeBSD.org>2000-07-13 22:54:34 +0000
committerArchie Cobbs <archie@FreeBSD.org>2000-07-13 22:54:34 +0000
commit21b8ebd926583116aa2cfe13371539035c4c8249 (patch)
tree9138788c579d4f5d51cd1a679899f325a789cb7e /sys/dev/ex
parent4a19005c4897cb2bddd9f1d0a184e503c15e23bf (diff)
Notes
Diffstat (limited to 'sys/dev/ex')
-rw-r--r--sys/dev/ex/if_ex.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/dev/ex/if_ex.c b/sys/dev/ex/if_ex.c
index 10bcf32dfeb3..ba91071a2ef9 100644
--- a/sys/dev/ex/if_ex.c
+++ b/sys/dev/ex/if_ex.c
@@ -264,15 +264,10 @@ ex_attach(device_t dev)
/*
* Attach the interface.
*/
- if_attach(ifp);
- ether_ifattach(ifp);
+ ether_ifattach(ifp, ETHER_BPF_SUPPORTED);
device_printf(sc->dev, "Ethernet address %6D\n",
sc->arpcom.ac_enaddr, ":");
- /*
- * If BPF is in the kernel, call the attach for it
- */
- bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header));
return(0);
}