Diff for /src/sys/dev/atm/en/midway.c between versions 1.7 and 1.8

version 1.7, 2004/02/13 19:06:15 version 1.8, 2004/03/14 14:37:39
Line 169 Line 169
   
 #endif  /* __FreeBSD__ */  #endif  /* __FreeBSD__ */
   
 #include "use_bpf.h"  
 #if NBPF > 0  
 #include <net/bpf.h>  #include <net/bpf.h>
 #if defined(__DragonFly__) || defined(__FreeBSD__)  #if defined(__DragonFly__) || defined(__FreeBSD__)
 #define BPFATTACH(ifp, dlt, hlen)       bpfattach((ifp), (dlt), (hlen))  #define BPFATTACH(ifp, dlt, hlen)       bpfattach((ifp), (dlt), (hlen))
 #define BPF_MTAP(ifp, m)                bpf_mtap((ifp), (m))  
 #else  #else
 #define BPFATTACH(ifp, dlt, hlen)       bpfattach(&(ifp)->if_bpf, (ifp), (dlt), (hlen))  #define BPFATTACH(ifp, dlt, hlen)       bpfattach(&(ifp)->if_bpf, (ifp), (dlt), (hlen))
 #define BPF_MTAP(ifp, m)                bpf_mtap((ifp)->if_bpf, (m))  #define BPF_MTAP(ifp, m)                bpf_mtap((ifp)->if_bpf, (m))
 #endif  #endif
 #endif /* NBPF > 0 */  
   
 /*  /*
  * params   * params

Removed from v.1.7  
changed lines
  Added in v.1.8