Page MenuHomeFreeBSD

siba(4): Adopt a bcma-compatible mapping of bhnd(4) port/region identifiers.
ClosedPublic

Authored by landonf on Jun 15 2016, 12:15 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 26, 5:17 PM
Unknown Object (File)
Oct 26 2024, 12:02 PM
Unknown Object (File)
Oct 2 2024, 9:24 PM
Unknown Object (File)
Oct 2 2024, 8:20 AM
Unknown Object (File)
Oct 2 2024, 3:40 AM
Unknown Object (File)
Oct 1 2024, 6:49 AM
Unknown Object (File)
Sep 30 2024, 11:23 PM
Unknown Object (File)
Sep 26 2024, 11:35 AM
Subscribers

Details

Summary

For compatibility with bcma(4), map Sonics/OCP per-core address
spaces to bhnd(4) port/region identifiers as follows:

[port]	[addrspace]
device0.0	0
device1.0	1
device1.1	2
device1.2	3

This allows the use of common (port,region) address map identifiers
across both bus types.

Depends on D6849

Test Plan

Tested on:

  • BCM4312 (WiFi)
  • WGT634U (SoC)

With these changes, the WGT634U can successfully attach CFI flash
using the existing bcma(4)-compatible resource spec.

Tinderbox kernel build is pending.

Diff Detail

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

Event Timeline

landonf retitled this revision from to siba(4): Adopt a bcma-compatible mapping of bhnd(4) port/region identifiers..
landonf updated this object.
landonf edited the test plan for this revision. (Show Details)
landonf added a reviewer: adrian.
adrian edited edge metadata.

looks good. email re@freebsd.org with a patch and a description of it so they can approve committing it to -head.

This revision is now accepted and ready to land.Jun 15 2016, 12:21 AM
This revision was automatically updated to reflect the committed changes.