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
F163873766: D12510.id33465.diff
Sun, Jul 26, 7:14 PM
F163848458: D12510.id.diff
Sun, Jul 26, 3:03 PM
Unknown Object (File)
Fri, Jul 24, 5:59 PM
Unknown Object (File)
Sat, Jul 18, 2:33 PM
Unknown Object (File)
Sat, Jul 18, 7:29 AM
Unknown Object (File)
Fri, Jul 17, 4:41 PM
Unknown Object (File)
Tue, Jun 30, 8:00 AM
Unknown Object (File)
Jun 25 2026, 9:56 PM
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