[BACK]Return to lance.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / dev / ic

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

Diff for /src/sys/dev/ic/lance.c between version 1.45 and 1.46

version 1.45, 2010/04/05 07:19:35 version 1.46, 2012/02/02 19:43:03
Line 67 
Line 67 
 #include <sys/cdefs.h>  #include <sys/cdefs.h>
 __KERNEL_RCSID(0, "$NetBSD$");  __KERNEL_RCSID(0, "$NetBSD$");
   
 #include "rnd.h"  
   
 #include <sys/param.h>  #include <sys/param.h>
 #include <sys/systm.h>  #include <sys/systm.h>
 #include <sys/mbuf.h>  #include <sys/mbuf.h>
Line 78  __KERNEL_RCSID(0, "$NetBSD$");
Line 76  __KERNEL_RCSID(0, "$NetBSD$");
 #include <sys/malloc.h>  #include <sys/malloc.h>
 #include <sys/ioctl.h>  #include <sys/ioctl.h>
 #include <sys/errno.h>  #include <sys/errno.h>
 #if NRND > 0  
 #include <sys/rnd.h>  #include <sys/rnd.h>
 #endif  
   
 #include <net/if.h>  #include <net/if.h>
 #include <net/if_dl.h>  #include <net/if_dl.h>
Line 258  lance_config(struct lance_softc *sc)
Line 254  lance_config(struct lance_softc *sc)
         sc->sc_tbufaddr = malloc(sc->sc_ntbuf * sizeof(int), M_DEVBUF,          sc->sc_tbufaddr = malloc(sc->sc_ntbuf * sizeof(int), M_DEVBUF,
                                         M_WAITOK);                                          M_WAITOK);
   
 #if NRND > 0  
         rnd_attach_source(&sc->rnd_source, device_xname(sc->sc_dev),          rnd_attach_source(&sc->rnd_source, device_xname(sc->sc_dev),
                           RND_TYPE_NET, 0);                            RND_TYPE_NET, 0);
 #endif  
 }  }
   
 void  void

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46

CVSweb <webmaster@jp.NetBSD.org>