cvs commit: src/sys/dev/vx if_vx.c if_vx_eisa.c if_vx_pci.c if_vxvar.h

John Baldwin jhb at FreeBSD.org
Thu Oct 6 11:28:03 PDT 2005


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


More information about the cvs-src mailing list