diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-02-20 19:39:49 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-02-20 19:39:49 +0000 |
commit | 564b6a39bc60122dd377e657123ba8f3d4a7ccf7 (patch) | |
tree | ad1d5486bcb8cb02e81599277cc10687746dcbe1 /sys/dev/pci/if_wx.c | |
parent | 538f9f995c2e33db913284c36581dd9e7c924f9c (diff) |
for ethernet ifaces attach bpf from ether_ifattach; jason@, aaron@, itojun@ ok
Diffstat (limited to 'sys/dev/pci/if_wx.c')
-rw-r--r-- | sys/dev/pci/if_wx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_wx.c b/sys/dev/pci/if_wx.c index 3dd4a3d7835..42fd975f658 100644 --- a/sys/dev/pci/if_wx.c +++ b/sys/dev/pci/if_wx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_wx.c,v 1.9 2001/01/29 04:33:59 deraadt Exp $ */ +/* $OpenBSD: if_wx.c,v 1.10 2001/02/20 19:39:44 mickey Exp $ */ /* * Copyright (c) 1999, Traakan Software * All rights reserved. @@ -294,12 +294,12 @@ wx_attach(parent, self, aux) ether_ifattach(ifp); #else ether_ifattach(ifp, sc->wx_enaddr); -#endif #if NBPFILTER > 0 bpfattach(&ifp->if_bpf, ifp, DLT_EN10MB, sizeof (struct ether_header)); #endif +#endif /* * Add shutdown hook so that DMA is disabled prior to reboot. Not * doing do could allow DMA to corrupt kernel memory during the |