Page MenuHomeFreeBSD

Add support for querying the attachment type of the bhnd bus
ClosedPublic

Authored by landon_landonf.org on May 22 2016, 12:42 AM.
Tags
None
Referenced Files
F132535448: D6492.id.diff
Fri, Oct 17, 6:42 PM
F132535442: D6492.id16707.diff
Fri, Oct 17, 6:42 PM
F132535440: D6492.id16685.diff
Fri, Oct 17, 6:42 PM
F132496421: D6492.diff
Fri, Oct 17, 9:48 AM
Unknown Object (File)
Sat, Sep 27, 1:56 AM
Unknown Object (File)
Aug 14 2025, 9:11 PM
Unknown Object (File)
Aug 14 2025, 9:07 PM
Unknown Object (File)
Jul 15 2025, 7:59 AM
Subscribers

Details

Summary

This adds a BHND_BUS_GET_ATTACH_TYPE(); the primary use-case is to let
chipc make a coarse-grained determination as to whether UART, SPI, etc
drivers ought to be attached, and on fullmac devices, whether a real
CPU driver ought to be skipped for the ARM core, etc.

Depends on D6491

Test Plan

Tested against BCM4331 and BCM4312 devices.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 3886
Build 3929: arc lint + arc unit

Event Timeline

landon_landonf.org retitled this revision from to Add support for querying the attachment type of the bhnd bus.
landon_landonf.org updated this object.
landon_landonf.org edited the test plan for this revision. (Show Details)
landon_landonf.org added a reviewer: adrian.
This revision was automatically updated to reflect the committed changes.