Workaround for Intel _STA quirk
RFC 1/1 Workaround for Intel _STA quirk
Intel firmware for the Big Sur and Tiger ia64 boxes (and probably others) uses an _STA value of 0x8 for the pseudo PCI root bridges where the chipset configuration space lives, i.e., CBN or CSFF.
As far as I can tell, this is nonsensical - it says the bridge is functional, but not present.
We can't just ignore these bridges because there are useful devices below them. For example, the AGP bridge on Big Sur appears under CBN.
Any thoughts on this workaround? I know it's ugly, so if there's a Better Way, I'd be glad to be enlightened. (This patch is against 2.6.1-rc1).
===== drivers/acpi/bus.c 1.35 vs edited =====
drivers/acpi/bus.c +8 -0
@@ -110,6 +110,14 @@else STRUCT_TO_INT (device->status) =0x0F ; +if (device->status.functional && !device->status.present) { + printk(KERN_WARNING PREFIX "Device [%s] status [%08x]: " +"functional but not present; setting present\n" , + device->pnp.bus_id, + (u32) STRUCT_TO_INT(device->status)); + device->status.present =1 ; + } +ACPI_DEBUG_PRINT ((ACPI_DB_INFO ,"Device [%s] status [%08x]\n" , device->pnp.bus_id, (u32 )STRUCT_TO_INT (device->status)));
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click