Re: non-PCI based libata-SATA driver

From: Deven Balani
Date: Thu Feb 23 2006 - 01:06:34 EST


> If you look at http://zeniv.linux.org.uk/~alan/IDE you'll find the PATA
> patches I did include some VLB and ISA devices.
Thanks a lot. I'm going through these patches and will get back to you
in case of any problem.

I have a SATA Controller that is attached to HSX bus on ARM based
chipset. On this side, I'm exploring the feasibilty of coming up with
low-level libata-SATA driver (as libata is being said to support
generic bus interface). I've gone through the SATA drivers in kernel
code but all seem to be PCI specific.

Also, Is there any slight possiblity of doing the same with 2.4.x
kernels (by patching the kernel or whatever)?

Any suggestion/comments/advice will be of great help.

Thanks in advance.

Deven

On 2/23/06, Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote:
> On Mer, 2006-02-22 at 17:34 +0530, Deven Balani wrote:
> > Hi all
> >
> > I'm working on writing a non-PCI based libata-SATA driver in
> > linux-2.6.x for ARM based chipsets.
> >
> > Can anybody suggest me a reference-code for a non-PCI based
> > libata-SATA driver for 2.6.x kernels ?
>
> If you look at http://zeniv.linux.org.uk/~alan/IDE you'll find the PATA
> patches I did include some VLB and ISA devices. Providing you've got a
> struct device * for whatever your SATA controller is (ie a bus model of
> some sort) it is sane. If you don't then you need a couple of small
> patches to allow for this, or to add device model stuff to them first. I
> can send you those if need be and they are in the patches but not
> seperated out.
>
>
>
> Alan
>
>


--
"A smile confuses an approaching frown..."
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/