Re: parse_cmdline_partitions equivalent for map_info

Jörn Engel
2002-10-23T09:51:44Z

On Tue, 22 October 2002 12:39:36 +0200, Frank Neuber wrote:
> > Hmm, somewhere in my collection of yet-to-be-committed patches, I have
> > a variant of the physmap driver that does exactly this and is capable
> > of mapping up to eight independent devices. Interested?
> >
> Yes, it would be nice to test your code :-)
> Maybe we can do this more generic to add this to cmdline.c.
> What do you think?

Actually, I am not very sure about cmdline.c at all. Is there a single
mapping driver that could not be replaced by physmap.c or mphysmap.c?

The ones I casually looked at did nothing more than hardcoding
addresses and similar stuff. Basically, they condense several config
options into a single one, making the kernel configuration easier.

A quick grep on 2.4.19-ac4 showed that 32 out of 32 mapping drivers
use ioremap.

Ok, enough rambling. Try this patch:
http://wh.fh-wedel.de/~joern/software/kernel/mtd.patch.mphysmap.2.4.19-untested

Should work fine, but I am living without test hardware, feedback or
motivation for six weeks now. "der Entwickler keine Haftung"

Jörn

--
Good warriors cause others to come to them and do not go to others.
-- Sun Tzu