From owner-cvs-src@FreeBSD.ORG Tue Jan 18 20:24: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 6E2B916A4CE; Tue, 18 Jan 2005 20:24:47 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 58E0143D41; Tue, 18 Jan 2005 20:24:47 +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 j0IKOl8Y078355; Tue, 18 Jan 2005 20:24:47 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j0IKOlPk078354; Tue, 18 Jan 2005 20:24:47 GMT (envelope-from jhb) Message-Id: <200501182024.j0IKOlPk078354@repoman.freebsd.org> From: John Baldwin Date: Tue, 18 Jan 2005 20:24:47 +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/i386 machdep.c src/sys/i386/include intr_machdep.h src/sys/i386/isa atpic.c elcr.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: Tue, 18 Jan 2005 20:24:47 -0000 jhb 2005-01-18 20:24:47 UTC FreeBSD src repository Modified files: sys/i386/i386 machdep.c sys/i386/include intr_machdep.h sys/i386/isa atpic.c elcr.c Log: Tweak the ELCR support slightly. Explicitly probe the ELCR during boot instead of burying that in the atpic(4) code as atpic(4) is not the only user of elcr(4). Change the elcr(4) code to export a global elcr_found variable that other code can check to see if a valid ELCR was found. MFC after: 1 month Revision Changes Path 1.604 +1 -0 src/sys/i386/i386/machdep.c 1.7 +1 -0 src/sys/i386/include/intr_machdep.h 1.19 +3 -7 src/sys/i386/isa/atpic.c 1.2 +1 -5 src/sys/i386/isa/elcr.c