cvs commit: src/sys/dev/sound/isa sb.h sb16.c sbc.c

Don Lewis truckman at FreeBSD.org
Thu May 13 04:32:55 PDT 2004


truckman    2004/05/13 04:32:55 PDT

  FreeBSD src repository

  Modified files:
    sys/dev/sound/isa    sb.h sb16.c sbc.c 
  Log:
  Implement sbc_lockassert() and sb_lockassert() functions to allow
  proper locking to be checked at runtime.
  
  Remove sb_lock() and sb_unlock() calls from sb_reset_dsp() because the
  latter is called from sb_setup() with the lock already held.  Add a
  call to sb_lockassert().
  
  Surround the call to sb_reset_dsp() in sb16_attach() with sb_lock()
  and sb_unlock() calls.
  
  Tested by:      Bartek Marcinkiewicz <junior AT p233.if.pwr.wroc.pl>
  
  Revision  Changes    Path
  1.15      +2 -1      src/sys/dev/sound/isa/sb.h
  1.84      +12 -3     src/sys/dev/sound/isa/sb16.c
  1.41      +6 -0      src/sys/dev/sound/isa/sbc.c


More information about the cvs-src mailing list