Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 May 2004 04:32:55 -0700 (PDT)
From:      Don Lewis <truckman@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/sound/isa sb.h sb16.c sbc.c
Message-ID:  <200405131132.i4DBWtH1019680@repoman.freebsd.org>

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



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