Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Nov 2005 16:05:56 +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:  <200511081605.jA8G5uWo003173@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511081605.jA8G5uWo003173>