lkml.org 
[lkml]   [2006]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [spi-devel-general] [Patch] Add spi full duplex mode transfer support
Date
On Wednesday 30 August 2006 3:37 am, Manish Jaggi wrote:
>
> On the same lines can we have a member in spi_transfer structure
> like bUseDMA.

LinuxStronglyAvoidsMixedCaseSymbols, see Documentation/CodingStyle.


> In spi PIO mode for short writes of 2 to 8 words is better.
> And we use DMA for larger writes/reads
>
> What do u think?

I think that such tradeoffs are best hidden from the upper layer
(protocol) drivers, since they're specific to the hardware and
to how the driver is implemented. So the lower level (controller)
driver should make such tradeoffs.

It's also a change of $SUBJECT but that's a different issue. :)

- Dave


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

\
 
 \ /
  Last update: 2006-08-30 17:39    [W:0.039 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site