pci node question

Yoder Stuart-B08248 B08248 at freescale.com
Tue Apr 24 06:32:23 EST 2012



> -----Original Message-----
> From: Benjamin Herrenschmidt [mailto:benh at kernel.crashing.org]
> Sent: Monday, April 23, 2012 3:22 PM
> To: Yoder Stuart-B08248
> Cc: Kumar Gala; linuxppc-dev at lists.ozlabs.org
> Subject: RE: pci node question
> 
> On Mon, 2012-04-23 at 15:48 +0000, Yoder Stuart-B08248 wrote:
> > Hmmm... I vaguely understand what you are saying.   But why is the
> > length zero, that is what doesn't make sense on the surface?
> 
> Ah indeed, on would think that we could represent the real size of the
> config space there... but I've always seen this as 0 in real OF
> implementations as well, at least the G5 device-tree I'm looking at now
> has it that way.
> 
> > We really should put a comment on that reg property-- can you suggest
> > a short comment that would capture what the reg with all zeros
> > is for?  ...I'll submit a patch.
> 
> Hrm.. "config address of the device: 0,0,0" ?

How about:

  /* config space address of the device 0,0,0. OF convention is that
     the size of config space is 0. */

...is that accurate?

Stuart


More information about the Linuxppc-dev mailing list