why can i select both PHYSMAP and MULTI_PHYSMAP?
jdub at us.ibm.com
Mon Apr 11 16:39:57 EDT 2005
On Mon, 2005-04-11 at 16:04 -0400, Robert P. J. Day wrote:
> patched my 126.96.36.199 kernel tree with the latest mtd CVS to get the
> mphysmap.c and i'm a bit confused. in the
> Mapping drivers for chip access -->
> menu, i can apparently select, simultaneously,
> <*> CFI Flash device in physical memory map
> <*> multiple CFI Flash devices in physical memory map
> this seems contradictory, especially since i can deselect the first
> while still select the second. am i misreading what these mean? or
> is this some non-intuitive stuff to be backward-compatible?
Joern (the author) is on vacation so I'll try to answer for him.
I don't believe mphysmap precludes the use of physmap. They are
entirely separate drivers and should be able to be used as such. For
example, you could map one chip with physmap, and 3 others with
That isn't the typical intended usage though. Normally you would use
mphysmap to map all of the chips on a board. If you only had one chip,
you could still use mphysmap. It's sort of backward-compatible that way
If mphysmap proves to be useful and stable (it is fairly new), then
maybe it can eventually replace physmap. Until then, I suppose it's
safest to leave both there.
More information about the linux-mtd