]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bhnd(4): Add bus pass-aware discovery of platform devices (PMU,
authorlandonf <landonf@FreeBSD.org>
Tue, 12 Jul 2016 02:16:48 +0000 (02:16 +0000)
committerlandonf <landonf@FreeBSD.org>
Tue, 12 Jul 2016 02:16:48 +0000 (02:16 +0000)
commit793882767cf394d565744a66c69bf6e938641596
treead288409b1351008455e72cc1429fd69f7b65789
parente5f6e3c7e492f2f24f5250dec2171095cba40158
bhnd(4): Add bus pass-aware discovery of platform devices (PMU,
NVRAM, ChipCommon, etc).

This extends the existing handling of NVRAM core discovery to support
locating additional devices that may be attached either directly as real
cores, or indirectly via ChipCommon (e.g. bhnd_pmu).

When attached as a SoC root bus (as opposed to a bridged WiFi device),
the platform devices may not be attached until later bus passes,
necessitating delayed discovery/initialization.

Approved by: adrian (mentor)
Differential Revision: https://reviews.freebsd.org/D6962
sys/dev/bhnd/bhnd.c
sys/dev/bhnd/bhnd.h
sys/dev/bhnd/bhnd_subr.c
sys/dev/bhnd/bhndb/bhndb.c
sys/dev/bhnd/bhndvar.h