Alan Cox wrote: > Lots of BIOSen simply return the BIOS set modes via the ACPI methods and > pass back the values you give it across suspend/resume. Thus instead of > trying to do clever stuff with this data we instead use it as a way to > take a sneak peak at cable type information when viable. This should help > us catch more of the laptops that do weird stuff, the VIA SATA bridges > and the totally horked Nvidia cable handling. > > For now its only used by the VIA and AMD/NV driver until we get a better > idea of whether this is a sensible idea or not. > > Opinions ? If you don't do _STM first, it basically boils down to reading BIOS setting during boot. Over suspend/resume cycle, the values are preserved by libata-acpi. At this point, I think honoring the BIOS setting is the right thing to do. It just took us too long and I'm not too sure about using ACPI for this. It's generic so it's certainly better in some aspect. It's just a bit obfuscating, IMHO. -- tejun - To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html