Re: non-PCI based libata-SATA driver

From: Jeff Garzik
Date: Thu Feb 23 2006 - 04:58:03 EST


Deven Balani wrote:
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)?

non-PCI works quite easily under 2.6.x, because libata core uses the generic DMA mapping lib. It's already confirmed to work on at least one other ARM embedded chipset (sorry can't give more detail).

2.4.x is a lot of work to do non-PCI, largely because you have to deal with the lack of a generic DMA interface. 2.4.x libata is hardcoded to use PCI DMA mapping.

Jeff



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