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)
Dec 19 2023, 11:49 PM
Unknown Object (File)
Nov 15 2023, 10:47 AM
Unknown Object (File)
Nov 9 2023, 2:30 PM
Unknown Object (File)
Oct 17 2023, 4:57 AM
Unknown Object (File)
Oct 14 2023, 9:46 AM
Unknown Object (File)
Oct 8 2023, 1:24 PM
Unknown Object (File)
May 15 2023, 5:57 AM
Unknown Object (File)
Apr 26 2023, 3:49 PM
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 Not Applicable
Unit
Tests Not Applicable

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.