From owner-cvs-src@FreeBSD.ORG Thu Mar 24 21:34:16 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 B013116A4CE; Thu, 24 Mar 2005 21:34:16 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7737043D5A; Thu, 24 Mar 2005 21:34:16 +0000 (GMT) (envelope-from jhb@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 j2OLYGMM084180; Thu, 24 Mar 2005 21:34:16 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j2OLYGxN084179; Thu, 24 Mar 2005 21:34:16 GMT (envelope-from jhb) Message-Id: <200503242134.j2OLYGxN084179@repoman.freebsd.org> From: John Baldwin Date: Thu, 24 Mar 2005 21:34:16 +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/i386/isa clock.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: Thu, 24 Mar 2005 21:34:16 -0000 jhb 2005-03-24 21:34:16 UTC FreeBSD src repository Modified files: sys/i386/isa clock.c Log: - Don't enable periodic interrupts from the RTC by default in rtc_statusb. Instead, explicitly enable them when we setup the interrupt handler. Also, move the setting of stathz and profhz down to the same place so that the code flow is simpler and easier to follow. - Don't setup an interrupt handler for IRQ0 if we are using the lapic timer as it doesn't do anything productive in that case. Revision Changes Path 1.218 +26 -22 src/sys/i386/isa/clock.c