From owner-cvs-all@FreeBSD.ORG Sun Jul 20 14:12:22 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA90737B401; Sun, 20 Jul 2003 14:12:22 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47F7043F93; Sun, 20 Jul 2003 14:12:22 -0700 (PDT) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h6KLCM0U059615; Sun, 20 Jul 2003 14:12:22 -0700 (PDT) (envelope-from njl@repoman.freebsd.org) Received: (from njl@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h6KLCLiv059614; Sun, 20 Jul 2003 14:12:21 -0700 (PDT) Message-Id: <200307202112.h6KLCLiv059614@repoman.freebsd.org> From: Nate Lawson Date: Sun, 20 Jul 2003 14:12:21 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/acpica acpi_ec.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jul 2003 21:12:23 -0000 njl 2003/07/20 14:12:21 PDT FreeBSD src repository Modified files: sys/dev/acpica acpi_ec.c Log: Do not call acpi_MatchHid() for all probe cases since it accesses the namespace. To compensate for it only being used in the !ECDT case, use a more robust approach to indicate a device was probed via ECDT by setting the private ivar to be &acpi_ec_devclass. Without the acpi_MatchHid() call now, it might have been possible for a non-EC device to have had its magic match our previous flag. Pointed out by: takawata Revision Changes Path 1.36 +7 -8 src/sys/dev/acpica/acpi_ec.c