Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Oct 2005 18:27:59 +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/dev/vx if_vx.c if_vx_eisa.c if_vx_pci.c if_vxvar.h
Message-ID:  <200510061827.j96IRx47077253@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2005-10-06 18:27:59 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/vx           if_vx.c if_vx_eisa.c if_vx_pci.c 
                         if_vxvar.h 
  Log:
  Rototill vx(4), add locking, and mark MPSAFE:
  - Rename vxfoo() functions to vx_foo() to improve readability and
    consistency with other drivers.
  - Prefix most the softc members with 'vx_' (the other members already had
    the prefix).
  - Switch to using callout_init_mtx() and callout_*() rather than
    timeout() and untimeout().
  - Add some missing calls to if_free() in some failure cases in vx_attach().
  - Use if_printf() and remove the unit number from the softc.
  - Remove uses of the 'register' keyword and spls.
  - Add locked variants of vx_init() and vx_start().
  - Add a mutex to the softc and lock it in various appropriate places.
  - Setup the interrupt handler last during attach.
  
  Tested by:      imp
  MFC after:      1 week
  
  Revision  Changes    Path
  1.59      +235 -190  src/sys/dev/vx/if_vx.c
  1.25      +10 -9     src/sys/dev/vx/if_vx_eisa.c
  1.35      +17 -12    src/sys/dev/vx/if_vx_pci.c
  1.6       +25 -22    src/sys/dev/vx/if_vxvar.h



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