summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_pn.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci/if_pn.c')
-rw-r--r--sys/pci/if_pn.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/pci/if_pn.c b/sys/pci/if_pn.c
index 1aea367..a237524e 100644
--- a/sys/pci/if_pn.c
+++ b/sys/pci/if_pn.c
@@ -29,7 +29,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: if_pn.c,v 1.21 1999/05/28 18:43:10 wpaul Exp $
+ * $Id: if_pn.c,v 1.22 1999/07/02 04:17:13 peter Exp $
*/
/*
@@ -57,7 +57,7 @@
* 100BaseTX PHY.
*/
-#include "bpfilter.h"
+#include "bpf.h"
#include <sys/param.h>
#include <sys/systm.h>
@@ -73,7 +73,7 @@
#include <net/if_dl.h>
#include <net/if_media.h>
-#if NBPFILTER > 0
+#if NBPF > 0
#include <net/bpf.h>
#endif
@@ -97,7 +97,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id: if_pn.c,v 1.21 1999/05/28 18:43:10 wpaul Exp $";
+ "$Id: if_pn.c,v 1.22 1999/07/02 04:17:13 peter Exp $";
#endif
@@ -1211,7 +1211,7 @@ pn_attach(config_id, unit)
if_attach(ifp);
ether_ifattach(ifp);
-#if NBPFILTER > 0
+#if NBPF > 0
bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header));
#endif
at_shutdown(pn_shutdown, sc, SHUTDOWN_POST_SYNC);
@@ -1569,7 +1569,7 @@ static void pn_rxeof(sc)
eh = mtod(m, struct ether_header *);
m->m_pkthdr.rcvif = ifp;
-#if NBPFILTER > 0
+#if NBPF > 0
/*
* Handle BPF listeners. Let the BPF user see the packet, but
* don't pass it up to the ether_input() layer unless it's
@@ -1900,7 +1900,7 @@ static void pn_start(ifp)
if (cur_tx != start_tx)
PN_TXOWN(cur_tx) = PN_TXSTAT_OWN;
-#if NBPFILTER > 0
+#if NBPF > 0
/*
* If there's a BPF listener, bounce a copy of this frame
* to him.
OpenPOWER on IntegriCloud