From owner-cvs-src@FreeBSD.ORG Fri Mar 11 07:03:47 2005 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 28AF916A4CE; Fri, 11 Mar 2005 07:03:47 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id F0D1443D1D; Fri, 11 Mar 2005 07:03:46 +0000 (GMT) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j2B73kAv075470; Fri, 11 Mar 2005 07:03:46 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j2B73kkP075469; Fri, 11 Mar 2005 07:03:46 GMT (envelope-from imp) Message-Id: <200503110703.j2B73kkP075469@repoman.freebsd.org> From: Warner Losh Date: Fri, 11 Mar 2005 07:03:46 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/ppbus pps.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: Fri, 11 Mar 2005 07:03:47 -0000 imp 2005-03-11 07:03:46 UTC FreeBSD src repository Modified files: sys/dev/ppbus pps.c Log: Make the pps interrupt register as MPSAFE and FAST. Use a spin lock to syncrhonize access to the data as a result. This makes the pps less likely to miss the 1ms pulse that I'm feeding it, but not entirely reliable yet on my 133MHz P5. Reviewed by: phk Revision Changes Path 1.48 +15 -6 src/sys/dev/ppbus/pps.c