Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Nov 2018 20:02:24 +0100
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Warner Losh <imp@bsdimp.com>
Cc:        dan_partelly <dan_partelly@rdsor.ro>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Devd / devmatch(8) -- netif race 12-RC1
Message-ID:  <86pnurvf0f.fsf@next.des.no>
In-Reply-To: <CANCZdfqWq%2B2Lc1UrTdb8Fc9XkyL8cpaqAmS-Sh-vev_ZOQesDQ@mail.gmail.com> (Warner Losh's message of "Mon, 19 Nov 2018 21:38:26 -0700")
References:  <A4074445-D442-4244-8E73-7F34DAA5E3FD@rdsor.ro> <CANCZdfqWq%2B2Lc1UrTdb8Fc9XkyL8cpaqAmS-Sh-vev_ZOQesDQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Warner Losh <imp@bsdimp.com> writes:
> coretemp is a CPU device, and so I'm not sure we have the right PNP
> information for the CPU bus for it to even load.

The coretemp device is not really a device, it's just a couple of MSRs.
As such, it is not attached to an enumerable bus, or any bus at all that
devd's aware of.  The only way to find out if it's supported is to call
the driver's identify method, which checks the cpuid and creates a
device instance for each reported sensor.

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86pnurvf0f.fsf>