acpi_throttle: quirk based on pci info
Rui Paulo
rpaulo at FreeBSD.org
Tue Feb 19 14:38:51 UTC 2008
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
More information about the freebsd-acpi
mailing list