Re: non-PCI based libata-SATA driver

From: Alan Cox
Date: Wed Feb 22 2006 - 19:16:56 EST


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

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