svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

Warner Losh imp at bsdimp.com
Mon Jan 22 23:00:32 UTC 2018


On Mon, Jan 22, 2018 at 1:41 PM, Ravi Pokala <rpokala at mac.com> wrote:

> >> I wonder if it would be too noisy if we allowed ->probe() to run on
> disabled devices and reported something like:
> >>
> >>           "foobar0: Matched disabled device <...>"
> >>
> >> (without calling ->attach())
> >>
> >> That way you would know you loaded the right driver, rather than have
> to guess
> >
> > I suspect that would be too noisy. It would be better to just run probe,
> but then have newbus report it's disabled so we never go onto attach.
>
> I think a "Matched disabled device" message under bootverbose would be
> reasonable.
>

I think even bootverbose it's insane. Or I don't understand what the real
ask is.

Warner


More information about the svn-src-head mailing list