[BACK]Return to if_temac.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / evbppc / virtex / dev

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/arch/evbppc/virtex/dev/if_temac.c between version 1.4 and 1.4.10.1

version 1.4, 2008/02/12 18:03:43 version 1.4.10.1, 2010/03/11 15:02:21
Line 42 
Line 42 
 #include <sys/cdefs.h>  #include <sys/cdefs.h>
 __KERNEL_RCSID(0, "$NetBSD$");  __KERNEL_RCSID(0, "$NetBSD$");
   
 #include "bpfilter.h"  
   
 #include <sys/param.h>  #include <sys/param.h>
 #include <sys/systm.h>  #include <sys/systm.h>
Line 59  __KERNEL_RCSID(0, "$NetBSD$");
Line 58  __KERNEL_RCSID(0, "$NetBSD$");
 #include <net/if_media.h>  #include <net/if_media.h>
 #include <net/if_ether.h>  #include <net/if_ether.h>
   
 #if NBPFILTER > 0  
 #include <net/bpf.h>  #include <net/bpf.h>
 #endif  
   
 #include <machine/bus.h>  #include <machine/bus.h>
   
Line 649  static int
Line 646  static int
 temac_ioctl(struct ifnet *ifp, u_long cmd, void *data)  temac_ioctl(struct ifnet *ifp, u_long cmd, void *data)
 {  {
         struct temac_softc      *sc = (struct temac_softc *)ifp->if_softc;          struct temac_softc      *sc = (struct temac_softc *)ifp->if_softc;
         struct ifreq            *ifr = (struct ifreq *)data;  
         int                     s, ret;          int                     s, ret;
   
         s = splnet();          s = splnet();
Line 1212  temac_rxreap(struct temac_softc *sc)
Line 1208  temac_rxreap(struct temac_softc *sc)
                         continue;                          continue;
                 }                  }
   
 #if NBPFILTER > 0  
                 if (ifp->if_bpf != NULL)                  if (ifp->if_bpf != NULL)
                         bpf_mtap(ifp->if_bpf, m);                          bpf_ops->bpf_mtap(ifp->if_bpf, m);
 #endif  
   
                 ifp->if_ipackets++;                  ifp->if_ipackets++;
                 (ifp->if_input)(ifp, m);                  (ifp->if_input)(ifp, m);

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.4.10.1

CVSweb <webmaster@jp.NetBSD.org>