Date: Mon, 18 Feb 2008 23:00:52 +0000 From: Rui Paulo <rpaulo@FreeBSD.org> To: Andriy Gapon <avg@icyb.net.ua> Cc: freebsd-acpi@freebsd.org Subject: Re: acpi_throttle: quirk based on pci info Message-ID: <98F7E48C-1CBF-494D-8411-D80E25247214@FreeBSD.org> In-Reply-To: <47B96989.6070008@icyb.net.ua> References: <47B96989.6070008@icyb.net.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
On Feb 18, 2008, at 11:18 AM, Andriy Gapon wrote: > > While looking for something else I accidentally noticed that > acpi_throttle has one quirk for some early revisions of PIIX4 chipset > and the quirk is enabled based on PCI info. > I have a newer revision of PIIX4 so the quirk is not applicable in > my case. > > Nevertheless I noticed that acpi_throttle is initialized before PCI > bus > driver, so when it calls pci_find_device() it always returns NULL and > quirk is not applied. At least this is what I see in dmesg on my > machine. I run into a similar problem on my SoC MacBook project and I ended up using the SMI vendor strings because it was too early in boot in order to find the PCI devices. The problem here is very similar. Maybe we should try to use SMI vendor strings instead of pci_find_device()? Regards. -- Rui Paulo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?98F7E48C-1CBF-494D-8411-D80E25247214>