cvs commit: src/sys/pci if_vr.c if_vrreg.h
John Baldwin
jhb at FreeBSD.org
Thu Oct 27 14:18:38 PDT 2005
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
More information about the cvs-src
mailing list