Re: silicon image 3124 support PATA

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


--
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

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux