From owner-cvs-src@FreeBSD.ORG Mon Jul 21 12:10:39 2003 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 9BFFE37B407 for ; Mon, 21 Jul 2003 12:10:39 -0700 (PDT) Received: from mail.speakeasy.net (mail9.speakeasy.net [216.254.0.209]) by mx1.FreeBSD.org (Postfix) with ESMTP id 681B543FBF for ; Mon, 21 Jul 2003 12:10:37 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 5573 invoked from network); 21 Jul 2003 19:10:35 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 21 Jul 2003 19:10:35 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.9/8.12.9) with ESMTP id h6LJAXGI039848; Mon, 21 Jul 2003 15:10:33 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200307202112.h6KLCLiv059614@repoman.freebsd.org> Date: Mon, 21 Jul 2003 15:10:49 -0400 (EDT) From: John Baldwin To: Nate Lawson cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: RE: cvs commit: src/sys/dev/acpica acpi_ec.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: Mon, 21 Jul 2003 19:10:40 -0000 On 20-Jul-2003 Nate Lawson wrote: > 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 Assuming you are doing a device_add_child() to add the ec, you could add it with the name "acpi_ec" and then only the ec driver would probe it. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/