From owner-freebsd-mobile@FreeBSD.ORG Thu Oct 25 19:20:07 2007 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 224A216A614; Thu, 25 Oct 2007 19:20:07 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail6.speedfactory.net [66.23.216.219]) by mx1.freebsd.org (Postfix) with ESMTP id 72EC413C4B3; Thu, 25 Oct 2007 19:20:06 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.8p) with ESMTP id 216081032-1834499 for multiple; Thu, 25 Oct 2007 15:22:19 -0400 Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.8/8.13.8) with ESMTP id l9PJJVVV024502; Thu, 25 Oct 2007 15:19:42 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Tom Judge Date: Thu, 25 Oct 2007 15:19:24 -0400 User-Agent: KMail/1.9.6 References: <471CCA24.4080400@tomjudge.com> <200710251234.59272.jhb@freebsd.org> <4720D21F.7050909@tomjudge.com> In-Reply-To: <4720D21F.7050909@tomjudge.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200710251519.24569.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Thu, 25 Oct 2007 15:19:42 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: njl@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: ACPI Attach (acpi_ibm) stops mouse from working X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2007 19:20:07 -0000 On Thursday 25 October 2007 01:27:59 pm Tom Judge wrote: > Why would the psm/ibm_acpi attach order be changed by where abouts > acpi_ibm_load is in loader.conf? Drivers are stored in linked lists in the kernel. They are added to the list when the driver is added via the SYSINIT() in DRIVER_MODULE(). The order of SYSINIT's with the same (subsystem, level) depends on the order the modules are loaded (and even the order that files are linked when the kernel is built.. since the Makefile has the files in alpha order, this means /dev/aaa will usually get probed before /dev/bbb if both are in the kernel for example), and since psm(4) and acpi_ibm(4) both returned the same probe priority for this device, the first driver to probe it "won". -- John Baldwin