default readv/writev functions
dwmw2 at infradead.org
Tue Jan 14 19:23:22 EST 2003
joern at wohnheim.fh-wedel.de said:
> 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 all chips.
The intention is that drivers can set their own readv/writev methods to
point at these default functions, _if_ they want to. Chips which can't use
these functions can still provide their own.
Think of it like generic_file_read etc. for file systems. You use them if
you don't have special requirements -- otherwise you write your own.
More information about the linux-mtd