linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Robert Hancock <hancockrwd@gmail.com>
To: amruth pattanada <amruth.vamadev@gmail.com>
Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>,
	Jeff Garzik <jeff@garzik.org>, Tejun Heo <tj@kernel.org>,
	"linux-ide@vger.kernel.org" <linux-ide@vger.kernel.org>,
	Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: Re: silicon image 3124 support PATA
Date: Sat, 16 Jan 2010 11:48:34 -0600	[thread overview]
Message-ID: <4B51FBF2.7070501@gmail.com> (raw)
In-Reply-To: <9edb119c1001160231v3081a2e4u79884988fc5e2359@mail.gmail.com>

On 01/16/2010 04:31 AM, amruth pattanada wrote:
> Hi
> I am currently working on porting linux sata silicon image 3124 to
> RTOS based kernel. I have checked the code and found that it supports
> native sata mode only.
> I have legacy ide driver and want to integrate 3124 controller. I
> wanted to run 3124 in PATA mode. I checked libata and found that it
> only supports 3112.
> Can anybody please point what steps needs to be taken for making 3124
> run in PATA mode.

If you mean run in SFF-compatible mode like the 3112, you can't. The 
3124 is a pure FIS-based SATA controller and doesn't support a legacy 
SFF-style interface. If you're trying to make an IDE driver for the 3124 
I think you will have a lot of trouble, the IDE code was not really 
designed to handle such a device.

> Here is my observation so far.
> I have MMIO for both port and host using PCI configuration space.
> I can read global control register and after reset I can see that the
> default values are set correctly.
> I have port map of 8192
> bytes(0-2000,2000-4000,4000-6000,6000-8000)ports 0..3 respectively,
> and planning to reset the port, followed steps from linux code but
> unable to validate if the port is successfully reset.
> I have PRB mapped but after softreset, reading low,mid and high LBA
> but signature is not as per data sheet.
> Can I can use default standard ATA PRB and map it to legacy ide driver
> or is there any register setting needs to be done to bring in PATA
> mode.
> Any pointers will be appreciated.
> Thanks
> Amruth p.v
> Sr.Embedded Engineer
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ide" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>


  reply	other threads:[~2010-01-16 17:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-16 10:31 silicon image 3124 support PATA amruth pattanada
2010-01-16 17:48 ` Robert Hancock [this message]
2010-01-17 10:25   ` amruth pattanada
2010-01-17 19:36     ` Robert Hancock

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B51FBF2.7070501@gmail.com \
    --to=hancockrwd@gmail.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=amruth.vamadev@gmail.com \
    --cc=jeff@garzik.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=sshtylyov@ru.mvista.com \
    --cc=tj@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).