cvs commit: src/sys/pci if_vr.c if_vrreg.h

John Baldwin jhb at FreeBSD.org
Tue Nov 8 16:05:57 GMT 2005


jhb         2005-11-08 16:05:56 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/pci              if_vr.c if_vrreg.h 
  Log:
  MFC:
  - 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.
  - Use callout_*() to manage the callout and make it MPSAFE.
  - Fix locking in detach(), we only need to lock across vr_stop().
  
  Revision   Changes    Path
  1.104.2.5  +54 -67    src/sys/pci/if_vr.c
  1.22.2.1   +1 -2      src/sys/pci/if_vrreg.h


More information about the cvs-src mailing list