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
F152180962: D6492.id16685.diff
Mon, Apr 13, 6:54 AM
Unknown Object (File)
Mon, Apr 6, 2:59 PM
Unknown Object (File)
Sat, Apr 4, 2:11 AM
Unknown Object (File)
Mon, Mar 30, 4:15 AM
Unknown Object (File)
Sun, Mar 29, 12:18 PM
Unknown Object (File)
Mar 2 2026, 3:13 PM
Unknown Object (File)
Mar 2 2026, 9:31 AM
Unknown Object (File)
Feb 15 2026, 10:46 PM
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.