[PATCH][MTD] mtdpart.c: allow other drivers to get physical address of partition
Jared Hulbert
jaredeh at gmail.com
Sat Jul 28 17:08:18 EDT 2007
> > I thought about that. I don't think it's worth it. Point() does it's
> > job fine. I could add a peer to point called physaddr() that returns
> > an address instead of a pointer. That really doesn't doesn't help me.
> > I named it mtd_get_partition_physaddr() because all I need is to get
> > the physical address of the mtd partition. And if I get around to
> > doing an acceptable port of XIP cramfs thats all it would need too.
>
> Well, you always need both point() and the physical address. But I
> guess your solution is good enough for now.
Exactly. See I don't really _want_ the physical address and I only
need it because the current vm routines aren't set up to use virtual
addresses. I'm hoping eventually not to need the physical address by
fixing the vm but that's going to require changes that will take some
time to get working.
Any other ideas? Comments? Can I get this patch in?
More information about the linux-mtd
mailing list