default readv/writev functions
joern at wohnheim.fh-wedel.de
Tue Jan 14 19:19:30 EST 2003
On Tue, 14 January 2003 23:18:33 +0000, David Woodhouse wrote:
> joern at wohnheim.fh-wedel.de said:
> > IMHO this is the wrong place. This should go into drivers/mtd/chips/
> > cfi_cmdset*.c.
> I disagree. All chips -- or at least all NOR chips -- are going to want to
> use the same implmementation it because there's almost no point in actually
> having their own.
How about the STMicro flashes with built-in ecc checks? Write less
than 8 bytes per vector element and you're dead.
Other than that, you are right. A central version is better for almost
> Maybe having it in chips/chipreg.c makes almost as much sense, but there
> are standalone devices like the LART driver which would want it.
But this is not to say that the main benefit of Linux and other GPL
software is lower-cost. Control is the main benefit--cost is secondary.
-- Bruce Perens
More information about the linux-mtd