On Thu, 8 Sep 2011 11:43:46 +0800 Keng-Yu Lin <kengyu@xxxxxxxxxxxxx> wrote: > ASM1061 PCI-E to SATA bridge controller has two variants. > One works under AHCI and the other works with ata_generic. ata_generic should be an absolute last resort - it doesn't support error recovery by speed dropping, mode setting, hotplug, timing tuning etc. Is there any documentation on the device or does it appear to follow the usual mode setting behaviours ? The web page merely says "Bus Master Programming Interface to IDE ATA Controller Rev. 1.0" which covers only the basic transfers and not timing (ie ata_generic) as you say but there are a few ways to find out more about how it works - dump the PCI space in IDE mode and see if it looks like d1510r1 - some controllers are pretty unimaginative and so follow follow Appendix B of this document. - see if it will run with the pata_acpi driver (ie it has _GTM and similar methods in the BIOS). If it does then this is preferable as it can do limited mode handling and you can also see what the ACPI code itself actually does for _GTM/_STM. - See if Asmedia will provide documentation. I don't see anything useful on the English web site but perhaps someone has as Asmedia contact ? The AHCI one looks good - AHCI standardises all this stuff so the AHCI one can just be a device id. -- 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