[PATCH][MTD] mtdpart.c: allow other drivers to get physical address of partition

Jörn Engel joern at logfs.org
Fri Jul 27 13:44:31 EDT 2007


On Fri, 27 July 2007 10:05:22 -0700, Jared Hulbert wrote:
> 
> > Is there a reason you haven't used point() and unpoint()?
> 
> No.  In fact, I do use them.  They give me a virtual address and
> protect the AXFS volume from the inevitable impolite rw filesystems on
> the same chip.

Protection makes sense.  Do you also need the virtual address?

> > What is wrong with those functions?
> 
> They don't get me the physical address.

Might be an idea to extent point() to pass a physical address as well.
Not sure.

Jörn

-- 
Everything should be made as simple as possible, but not simpler.
-- Albert Einstein



More information about the linux-mtd mailing list