acpi_throttle: quirk based on pci info

Andriy Gapon avg at icyb.net.ua
Mon Feb 18 11:18:38 UTC 2008


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 am reporting this for the sake of code correctness and also out of
curiosity about how such ordering issues are handled.

-- 
Andriy Gapon


More information about the freebsd-acpi mailing list