Page MenuHomeFreeBSD

[BCMA] Small fixes
ClosedPublic

Authored by mizhka on May 6 2016, 5:19 PM.
Tags
None
Referenced Files
F83647579: D6245.diff
Mon, May 13, 1:51 AM
Unknown Object (File)
Fri, May 3, 3:49 AM
Unknown Object (File)
Fri, May 3, 3:43 AM
Unknown Object (File)
Fri, May 3, 3:43 AM
Unknown Object (File)
Fri, May 3, 3:39 AM
Unknown Object (File)
Thu, May 2, 10:38 PM
Unknown Object (File)
Sun, Apr 28, 5:45 PM
Unknown Object (File)
Sat, Apr 27, 6:31 PM
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 Skipped
Unit
Tests Skipped

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

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.