Date: Thu, 25 Oct 2007 15:19:24 -0400 From: John Baldwin <jhb@freebsd.org> To: Tom Judge <tom@tomjudge.com> Cc: njl@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: ACPI Attach (acpi_ibm) stops mouse from working Message-ID: <200710251519.24569.jhb@freebsd.org> In-Reply-To: <4720D21F.7050909@tomjudge.com> References: <471CCA24.4080400@tomjudge.com> <200710251234.59272.jhb@freebsd.org> <4720D21F.7050909@tomjudge.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710251519.24569.jhb>