Date: Thu, 27 Oct 2005 21:18:37 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_vr.c if_vrreg.h Message-ID: <200510272118.j9RLIbv0035884@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2005-10-27 21:18:37 UTC
FreeBSD src repository
Modified files:
sys/pci if_vr.c if_vrreg.h
Log:
- Use if_printf() and device_printf() and remove vr_unit from the softc.
I had to initialize the ifnet a bit earlier in attach so that the
if_printf()'s in vr_reset() didn't explode with a page fault.
- Use M_ZERO with contigmalloc() rather than an explicit bzero.
Revision Changes Path
1.112 +44 -52 src/sys/pci/if_vr.c
1.23 +0 -1 src/sys/pci/if_vrreg.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510272118.j9RLIbv0035884>
