From owner-cvs-all Thu Jun 13 0:19:39 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 12D8937B40B; Thu, 13 Jun 2002 00:19:33 -0700 (PDT) Received: (from imp@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g5D7JWu21683; Thu, 13 Jun 2002 00:19:32 -0700 (PDT) (envelope-from imp) Message-Id: <200206130719.g5D7JWu21683@freefall.freebsd.org> From: Warner Losh Date: Thu, 13 Jun 2002 00:19:32 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/pccbb pccbb.c pccbbvar.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG imp 2002/06/13 00:19:32 PDT Modified files: sys/dev/pccbb pccbb.c pccbbvar.h Log: Use a cv rather than tsleep and friends to do the sleep/wakeup handshake between the ISR and the worker thread. Move the mutex lock so that it only protects the cv_wait. This elimiates the not sleeping with pccbb1 held messages some people were seeing. Reviewed by: jhb (at least an early version) Revision Changes Path 1.47 +13 -6 src/sys/dev/pccbb/pccbb.c 1.11 +2 -1 src/sys/dev/pccbb/pccbbvar.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message