diff options
author | fjoe <fjoe@FreeBSD.org> | 2003-01-30 15:55:02 +0000 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2003-01-30 15:55:02 +0000 |
commit | 8bfc65ceab6068576f9a219ef35ae128b2501c6c (patch) | |
tree | 15b17f4f4463a8f35b0318e32c1d048c045660c0 /sys/dev/cm/smc90cx6.c | |
parent | aca5ef0c28f0a805ba7394f5539685592b4aed62 (diff) | |
download | FreeBSD-src-8bfc65ceab6068576f9a219ef35ae128b2501c6c.zip FreeBSD-src-8bfc65ceab6068576f9a219ef35ae128b2501c6c.tar.gz |
- bpf is now working (tested with tcpdump)
- fix promiscious mode
MFC after: 3 days
Diffstat (limited to 'sys/dev/cm/smc90cx6.c')
-rw-r--r-- | sys/dev/cm/smc90cx6.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/sys/dev/cm/smc90cx6.c b/sys/dev/cm/smc90cx6.c index df4c3e7..9347b5d 100644 --- a/sys/dev/cm/smc90cx6.c +++ b/sys/dev/cm/smc90cx6.c @@ -68,13 +68,6 @@ #include <net/if_dl.h> #include <net/if_types.h> #include <net/if_arc.h> -#include <net/bpf.h> - -#if 0 -#if NBPFILTER > 0 -#include <net/bpfdesc.h> -#endif -#endif #include <dev/cm/smc90cx6reg.h> #include <dev/cm/smc90cx6var.h> @@ -512,15 +505,6 @@ cm_start(ifp) if (m == 0) return; - /* - * If bpf is listening on this interface, let it - * see the packet before we commit it to the wire - * - * (can't give the copy in A2060 card RAM to bpf, because - * that RAM is just accessed as on every other byte) - */ - BPF_MTAP(ifp, m); - #ifdef CM_DEBUG if (m->m_len < ARC_HDRLEN) m = m_pullup(m, ARC_HDRLEN);/* gcc does structure padding */ |