[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110908104000.53823901@lxorguk.ukuu.org.uk>
Date: Thu, 8 Sep 2011 10:40:00 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Keng-Yu Lin <kengyu@...onical.com>
Cc: Jeff Garzik <jgarzik@...ox.com>,
Jesse Barnes <jbarnes@...tuousgeek.org>,
linux-ide@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-pci@...r.kernel.org
Subject: Re: [PATCH] achi, ata_generic: Add ASMedia ASM1061 support
On Thu, 8 Sep 2011 11:43:46 +0800
Keng-Yu Lin <kengyu@...onical.com> 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-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists