cvs commit: src/sys/dev/wi if_wi.c

Warner Losh imp at FreeBSD.org
Sat Jul 26 17:04:36 UTC 2008


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


More information about the cvs-src mailing list