Date: Mon, 18 Feb 2008 13:18:33 +0200 From: Andriy Gapon <avg@icyb.net.ua> To: freebsd-acpi@freebsd.org Subject: acpi_throttle: quirk based on pci info Message-ID: <47B96989.6070008@icyb.net.ua>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47B96989.6070008>