Page MenuHomeFreeBSD

Include the chip model (e.g. BCM4xxx) in bhnd(4) bus's device descriptions.
ClosedPublic

Authored by landonf on Aug 18 2016, 7:07 PM.

Details

Summary

Pretty much what it says on the tin. Examples:

bhnd0: <BCM4312 SIBA bus> on bhndb0
bhnd0: <BCM43225 BCMA bus> on bhndb0

bhnd0: <BCM4716 BCMA bus> at mem 0x18000000-0x180fffff on nexus0
bhnd0: <BCM5365 SIBA bus> at mem 0x18000000-0x180fffff on nexus0

Depends on D7552

Test Plan
  • Does it blend?

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

landonf retitled this revision from to Include the chip model (e.g. BCM4xxx) in bhnd(4) bus's device descriptions..
landonf updated this object.
landonf edited the test plan for this revision. (Show Details)
landonf added a reviewer: adrian.
mizhka requested changes to this revision.Aug 22 2016, 10:03 AM
mizhka added a reviewer: mizhka.
mizhka added a subscriber: mizhka.
mizhka added inline comments.
sys/dev/bhnd/bhnd_subr.c
308 ↗(On Diff #19466)

Let's use "< 40000" instead of 0x9FFF (40959). It allows to exclude all 4xxxx and 5xxxx chip IDs.

This revision now requires changes to proceed.Aug 22 2016, 10:03 AM
landonf edited edge metadata.
  • Cap the hex formatted range at 40000 (encompassing 0x4000-0x9C3F).
mizhka edited edge metadata.
This revision is now accepted and ready to land.Aug 22 2016, 6:00 PM
adrian edited edge metadata.
This revision was automatically updated to reflect the committed changes.