Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jul 2008 17:04:30 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/wi if_wi.c
Message-ID:  <200807261704.m6QH4aPH026215@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
imp         2008-07-26 17:04:30 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/wi           if_wi.c 
  Log:
  SVN rev 180826 on 2008-07-26 17:04:30Z by imp
  
  Register the interrupt handler at the end of wi_attach rather than at
  the beginning.  There's a race in the shared interrutp case.  If
  another interrupt happens after the interrupt is setup, then we'd try
  to lock an uninitialized mutex.  In addition, if we bailed out due to
  a too old version of firmware, we'd leave the interrupt enabled with
  all the fun that ensues....
  
  Revision  Changes    Path
  1.219     +11 -13    src/sys/dev/wi/if_wi.c



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