mmio_nvram.c users ?

2010-05-25 Thread Benjamin Herrenschmidt
Hi folks ! Anybody aware of anything other than Cell using that driver ? I'd like to make it a platform driver instead of having something that pokes at anything that has a "device_type" set to "nvram" (which is gross and bogus). But I need to know what platforms to fixup... Cheers, Ben. _

Re: mmio_nvram.c users ?

2010-05-25 Thread Adrian Reber
On Tue, May 25, 2010 at 05:43:59PM +1000, Benjamin Herrenschmidt wrote: > Anybody aware of anything other than Cell using that driver ? > > I'd like to make it a platform driver instead of having something that > pokes at anything that has a "device_type" set to "nvram" (which is > gross and bogus

Re: mmio_nvram.c users ?

2010-05-25 Thread Martyn Welch
One day I'll manage to hit "Reply" or "Reply All" correctly... Benjamin Herrenschmidt wrote: > Hi folks ! > > Anybody aware of anything other than Cell using that driver ? > > I'd like to make it a platform driver instead of having something that > pokes at anything that has a "device_type" set to

Re: mmio_nvram.c users ?

2010-05-25 Thread Josh Boyer
On Tue, May 25, 2010 at 05:43:59PM +1000, Benjamin Herrenschmidt wrote: >Hi folks ! > >Anybody aware of anything other than Cell using that driver ? > >I'd like to make it a platform driver instead of having something that >pokes at anything that has a "device_type" set to "nvram" (which is >gross

Re: mmio_nvram.c users ?

2010-05-28 Thread Benjamin Herrenschmidt
On Tue, 2010-05-25 at 07:00 -0400, Josh Boyer wrote: > On Tue, May 25, 2010 at 05:43:59PM +1000, Benjamin Herrenschmidt wrote: > >Hi folks ! > > > >Anybody aware of anything other than Cell using that driver ? > > > >I'd like to make it a platform driver instead of having something that > >pokes at

Re: mmio_nvram.c users ?

2010-05-29 Thread Josh Boyer
On Sat, May 29, 2010 at 01:45:04PM +1000, Benjamin Herrenschmidt wrote: >On Tue, 2010-05-25 at 07:00 -0400, Josh Boyer wrote: >> On Tue, May 25, 2010 at 05:43:59PM +1000, Benjamin Herrenschmidt wrote: >> >Hi folks ! >> > >> >Anybody aware of anything other than Cell using that driver ? >> > >> >I'd

Re: mmio_nvram.c users ?

2010-05-29 Thread Arnd Bergmann
On Saturday 29 May 2010, Josh Boyer wrote: > On Sat, May 29, 2010 at 01:45:04PM +1000, Benjamin Herrenschmidt wrote: > >On Tue, 2010-05-25 at 07:00 -0400, Josh Boyer wrote: > >> On Tue, May 25, 2010 at 05:43:59PM +1000, Benjamin Herrenschmidt wrote: > >> >Hi folks ! > >> > > >> >Anybody aware of an

Re: mmio_nvram.c users ?

2010-05-29 Thread Benjamin Herrenschmidt
On Sat, 2010-05-29 at 09:41 -0400, Josh Boyer wrote: > > Probably. Maybe we shouldn't have duplicated a driver in our platform > code to begin with. I believe our nvram infrastructure predates it by a long shot :-) powerpc /dev/nvram stuff is very very very ancient. Cheers, Ben. ___

Re: mmio_nvram.c users ?

2010-05-29 Thread Benjamin Herrenschmidt
On Sun, 2010-05-30 at 02:54 +0200, Arnd Bergmann wrote: > The reason we have the driver is so that we're able to use the kernel > internal functions for arch/powerpc/kernel/nvram_64.c on it, which > operated on the well-defined interface for partitions inside of the > nvram memory. > > mtd/phram p