From owner-cvs-src@FreeBSD.ORG Sun Feb 29 01:26:01 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C0E2616A4CE; Sun, 29 Feb 2004 01:26:01 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB00643D1D; Sun, 29 Feb 2004 01:26:01 -0800 (PST) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i1T9Q1Ge041845; Sun, 29 Feb 2004 01:26:01 -0800 (PST) (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i1T9Q1mv041844; Sun, 29 Feb 2004 01:26:01 -0800 (PST) (envelope-from scottl) Message-Id: <200402290926.i1T9Q1mv041844@repoman.freebsd.org> From: Scott Long Date: Sun, 29 Feb 2004 01:26:01 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/en midway.c src/sys/dev/hatm if_hatm.c src/sys/dev/patm if_patm.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Feb 2004 09:26:01 -0000 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