More comments
Alexander Larsson
alex at cendio.se
Mon Mar 13 04:42:45 EST 2000
On Mon, 13 Mar 2000, David Woodhouse wrote:
>
> alex at cendio.se said:
> > That means i have to wrap all write and reads in a function that
> > loops over the read/write call.
>
> This has to be done somewhere. Where's best - in _every_ device driver or in
> only those front ends which attempt non-block-aligned access?
I don't know. You seem to think that it's better to have it in the
front-ends, and I can accept that. I think the "_every_ driver" part is
a bit of an overstatement though, as I would think many drivers are
for fully memory-mapped flashes where this wouldn't be necessary (where,
in fact, looping in the frontend is unnecessary overhead).
/ Alex
To unsubscribe, send "unsubscribe mtd" to majordomo at infradead.org
More information about the linux-mtd
mailing list