cvs commit: src/sys/dev/en midway.c src/sys/dev/hatm if_hatm.c src/sys/dev/patm if_patm.c

Scott Long scottl at FreeBSD.org
Sun Feb 29 01:26:01 PST 2004


scottl      2004/02/29 01:26:01 PST

  FreeBSD src repository

  Modified files:
    sys/dev/en           midway.c 
    sys/dev/hatm         if_hatm.c 
    sys/dev/patm         if_patm.c 
  Log:
  All three of these drivers abused cv_waitq_empty in the same way by spinning
  on it in hopes of making sure that the waitq was empty before going on.
  This wasn't needed and probably never would have worked as intended.  Now
  that cv_waitq_empty() and friends are gone, the code in these drivers that
  spins on it can go away too.  This should unbreak LINT.
  
  Discussed with: kan
  
  Revision  Changes    Path
  1.61      +1 -4      src/sys/dev/en/midway.c
  1.19      +2 -7      src/sys/dev/hatm/if_hatm.c
  1.5       +1 -4      src/sys/dev/patm/if_patm.c


More information about the cvs-all mailing list