[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090623094706.5df94c96@lxorguk.ukuu.org.uk>
Date: Tue, 23 Jun 2009 09:47:06 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Kevin Huang (黃凱文) <Kevin.Huang@....com.tw>
Cc: "Linux Kernel Mailing List" <linux-kernel@...r.kernel.org>,
<greg@...ah.com>, <torvalds@...ux-foundation.org>
Subject: Re: Staging: add pata_rdc driver
On Tue, 23 Jun 2009 10:16:03 +0800
Kevin Huang (黃凱文) <Kevin.Huang@....com.tw> wrote:
> I just know all pata follow the ATA ATAPI Host Adapters Standard.pdf.
> This standard describes all hardware interfaces for pata. (like sata and AHCI standard spec.)
>
> The original draft does not have any Configuration Registers for Host Adapters. Then Intel proposes ATA Controller PCI Configuration Registers for this lack of the original draft, and T13 accept this proposal.
If your controller is in fact following the Intel proposal then the
interface is basically ata_piix (minus the various intel special cases)
and that makes it very much easier to produce a driver rapidly rather
than clean up the existing pata_rdc.
> Our new controller have crypto function and crypto configuration registers.
> So it don’t like Intel controller.
It seems to be very very close in interface, and that does mean that
there is a fast way to get it up and running which is to clone ata_piix,
remove the irrelevant bits and tweak it. Then of course things like the
crypto function can be added on top.
Is the documentation for the ATA part available ?
Alan
--
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