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
F168680494: D12510.id33465.diff
Sat, Aug 29, 2:33 PM
F168633114: D12510.id33501.diff
Sat, Aug 29, 8:47 AM
F168564252: D12510.diff
Sat, Aug 29, 1:22 AM
F168550250: D12510.diff
Fri, Aug 28, 11:43 PM
Unknown Object (File)
Thu, Aug 27, 2:14 PM
Unknown Object (File)
Tue, Aug 25, 1:09 PM
Unknown Object (File)
Tue, Aug 25, 12:43 PM
Unknown Object (File)
Tue, Aug 25, 9:58 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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable