Page MenuHomeFreeBSD

[BCMA] Small fixes
ClosedPublic

Authored by mizhka on May 6 2016, 5:19 PM.
Tags
None
Referenced Files
F82336703: D6245.id15980.diff
Sat, Apr 27, 6:31 PM
F82336658: D6245.id16099.diff
Sat, Apr 27, 6:31 PM
Unknown Object (File)
Feb 23 2024, 9:11 AM
Unknown Object (File)
Feb 20 2024, 6:40 AM
Unknown Object (File)
Feb 6 2024, 7:57 AM
Unknown Object (File)
Dec 20 2023, 12:08 AM
Unknown Object (File)
Nov 21 2023, 5:48 AM
Unknown Object (File)
Nov 15 2023, 10:55 AM
Subscribers

Details

Summary

This patch introduces 2 small fixes:

  • bcma.c - assign different resource IDs for different regions
  • bcma_erom.c - workaround for BCM/MIPS bus enumerations
Test Plan

Tested on ASUS RT-N16 initially, double checked on ASUS RT-N53

Diff Detail

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

Event Timeline

mizhka retitled this revision from to [BCMA] Small fixes.
mizhka updated this object.
mizhka edited the test plan for this revision. (Show Details)
mizhka added reviewers: adrian, landon_landonf.org.
mizhka set the repository for this revision to rS FreeBSD src repository - subversion.
landon_landonf.org edited edge metadata.

Other than minor style(9) issue, looks good to me.

sys/dev/bhnd/bcma/bcma_erom.c
893 ↗(On Diff #15980)

I think this needs to be line-wrapped as per style(9)'s 80 char limit.

This revision now requires changes to proceed.May 6 2016, 8:40 PM
mizhka edited edge metadata.
  • Fixed line size (now less 80 chars)
landon_landonf.org edited edge metadata.

Looks good to me. Tested against a BCM4331 bridged device.

This revision is now accepted and ready to land.May 10 2016, 12:17 AM
This revision was automatically updated to reflect the committed changes.