Page MenuHomeFreeBSD

[BCMA] Small fixes
ClosedPublic

Authored by mizhka on May 6 2016, 5:19 PM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 17 2024, 8:24 AM
Unknown Object (File)
Oct 17 2024, 8:24 AM
Unknown Object (File)
Oct 17 2024, 8:24 AM
Unknown Object (File)
Oct 17 2024, 8:24 AM
Unknown Object (File)
Oct 17 2024, 7:57 AM
Unknown Object (File)
Sep 14 2024, 5:24 PM
Unknown Object (File)
Aug 1 2024, 1:20 PM
Unknown Object (File)
Jun 8 2024, 9:33 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.