diff options
| author | Archie Cobbs <archie@FreeBSD.org> | 2000-07-13 22:54:34 +0000 |
|---|---|---|
| committer | Archie Cobbs <archie@FreeBSD.org> | 2000-07-13 22:54:34 +0000 |
| commit | 21b8ebd926583116aa2cfe13371539035c4c8249 (patch) | |
| tree | 9138788c579d4f5d51cd1a679899f325a789cb7e /sys/dev/vx | |
| parent | 4a19005c4897cb2bddd9f1d0a184e503c15e23bf (diff) | |
Notes
Diffstat (limited to 'sys/dev/vx')
| -rw-r--r-- | sys/dev/vx/if_vx.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/vx/if_vx.c b/sys/dev/vx/if_vx.c index 303cd9454783..da8dcb0c81b2 100644 --- a/sys/dev/vx/if_vx.c +++ b/sys/dev/vx/if_vx.c @@ -210,10 +210,7 @@ vxattach(sc) ifp->if_watchdog = vxwatchdog; ifp->if_softc = sc; - if_attach(ifp); - ether_ifattach(ifp); - - bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header)); + ether_ifattach(ifp, ETHER_BPF_SUPPORTED); sc->tx_start_thresh = 20; /* probably a good starting point. */ |
