Re: [RFC PATCH v3] nubus: Don't list slot resources by default

From: Brad Boyer
Date: Tue Apr 04 2023 - 17:17:48 EST


On Tue, Apr 04, 2023 at 08:50:59AM +1000, Finn Thain wrote:
> On Sun, 2 Apr 2023, Brad Boyer wrote:
> > Would it be better to give this option a name that indicates that it is
> > for nubus only? These are effectively a global namespace. Other than
> > this, I don't see any issues.
>
> The name of the module here is "nubus", so this parameter is specified as
> "nubus.populate_procfs" in the kernel parameters. Without the "nubus" it
> doesn't work. I should probably add a comment about that.

OK. A comment would be good. Thank you for the clarification. It's been
a while since I needed to use anything like that myself. The code I
deal with on a regular basis is never built-in, so I missed how that
worked these days. Now that I looked at the headers, I see how that
works to add the prefix depending on the build type.

Brad Boyer
flar@xxxxxxxxxxxxx