Re: on the topic of of_device resources...

2008-05-05 Thread Benjamin Herrenschmidt
On Mon, 2008-05-05 at 01:44 -0700, David Miller wrote: > > My plan on the sparc side is to remove the SBUS device type and bus > entirely, as well as the EBUS layer I have. All of it can use > of_device nodes on of_platform_bus. Even the DMA stuff just falls out > of everything transparently be

Re: on the topic of of_device resources...

2008-05-05 Thread David Miller
From: Benjamin Herrenschmidt <[EMAIL PROTECTED]> Date: Mon, 05 May 2008 18:26:11 +1000 > Well, we aren't totally clear as to whether we'll use of_device much or > not in the long term. For bus types that already have their own > descendant of struct device (such as PCI, but also i2c, USB, etc...)

Re: on the topic of of_device resources...

2008-05-05 Thread Benjamin Herrenschmidt
On Mon, 2008-05-05 at 00:59 -0700, David Miller wrote: > Since it came to my attention due to the build error fix > I just had to fix, I figured I'd mention some things. > > Right now, powerpc and sparc differ in how they resolve > interrupts and resources. > > Powerpc uses an on-demand model, w

on the topic of of_device resources...

2008-05-05 Thread David Miller
Since it came to my attention due to the build error fix I just had to fix, I figured I'd mention some things. Right now, powerpc and sparc differ in how they resolve interrupts and resources. Powerpc uses an on-demand model, whereas Sparc pre-resolves everything at bootup when parsing the OF tr