Page MenuHomeFreeBSD

Add support for supplying bus I/O callbacks when initializing an EROM parser.
ClosedPublic

Authored by landonf on Sep 26 2017, 9:05 PM.
Tags
None
Referenced Files
F148682207: D12510.diff
Thu, Mar 19, 2:34 PM
Unknown Object (File)
Wed, Mar 18, 5:42 PM
Unknown Object (File)
Fri, Mar 13, 6:37 AM
Unknown Object (File)
Sun, Mar 8, 2:23 AM
Unknown Object (File)
Feb 8 2026, 7:26 PM
Unknown Object (File)
Dec 12 2025, 3:09 AM
Unknown Object (File)
Dec 3 2025, 7:08 AM
Unknown Object (File)
Nov 19 2025, 4:37 AM
Subscribers
None

Details

Summary

This allows us to use the EROM parser API in cases where the standard
bus space I/O APIs are unsuitable. In particular, this will enable parsing
of the device enumeration table directly from bhndb(4) drivers, prior to
full attach and configuration of the bridge.

Depends on D12392

Test Plan

Tested against both bcma(4) and siba(4) desktop (BCM4331,
BCM4321, BCM4312) and MIPS (SENTRY5, BCM) targets.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 11770
Build 12114: arc lint + arc unit