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

Warner Losh imp at FreeBSD.org
Mon Apr 28 20:22:41 PDT 2003


imp         2003/04/28 20:22:40 PDT

  FreeBSD src repository

  Modified files:
    sys/dev/wi           if_wi.c 
  Log:
  Don't hold a driver lock across bus_teardown_intr.  Jhb points out
  that one cannot generally hold a lock and call bus_teardown_intr.
  This is race free with wi_intr because bus_teardown_intr won't allow
  wi_intr to be called after it returns.
  
  # jeff hsu points out that there might be a race between this unlock
  # and wi_start.  While that may be true also, it won't impact this commit.
  
  Submitted by: jhb
  
  Revision  Changes    Path
  1.140     +1 -2      src/sys/dev/wi/if_wi.c


More information about the cvs-src mailing list