Ping-Pong Compatible DMA buffer chaining

From: Deven Balani
Date: Mon Dec 26 2005 - 01:09:46 EST


Hi All!

I am developing a SATA Driver which is libata-complaint for ARM
platform for linux-2.4 kernels.

But I am facing these issues:
1) The SATA Host Controller supports a DMA Logic which has Ping Pong Buffers.
How Can I allocate a linear contiguous buffer and give it to the
Buffer Descriptors of the Host Controller. I believe consistent alloc
would help me in this regard. But How could I do a chaining of Buffers
in a Ping Pong Scenario which has Buffer Descriptors.
2) The libata is using Scatter-Gather List to send Device Identify
Command. Is it necessary to have a Scatter-Gather List for non-PCI ARM
platforms. Can I bypass this mechanism.

Thanks,
Deven
-
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/