Page MenuHomeFreeBSD

Normalize bhnd(4) device matching API
ClosedPublic

Authored by landon_landonf.org on May 23 2016, 11:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 23 2024, 11:01 AM
Unknown Object (File)
Jan 11 2024, 1:37 AM
Unknown Object (File)
Jan 8 2024, 6:43 PM
Unknown Object (File)
Dec 22 2023, 9:19 PM
Unknown Object (File)
Dec 16 2023, 6:54 PM
Unknown Object (File)
Nov 18 2023, 8:46 AM
Unknown Object (File)
Nov 13 2023, 4:34 AM
Unknown Object (File)
Nov 10 2023, 8:16 AM
Subscribers

Details

Summary

This unifies handling of core, chip, and board-level device
matching, and adds support for matching device drivers
against the bus attach type (e.g. SoC vs WiFi adapter).

Core-level quirks on Broadcom's chipsets generally are specific
to some combination of chip model, core revision, chip
package (e.g. 12x9 SMT package), SROM revision, etc.

Unifying the match APIs for all three attribute types (core, chip,
board/srom) allows defining a single device quirk table that
matches across all of those attributes.

Depends on D6471

Test Plan

Verified that all devices attach with expected quirk flags
on BCM4331, BCM4312

Diff Detail

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

Event Timeline

landon_landonf.org retitled this revision from to Normalize bhnd(4) device matching API.
landon_landonf.org updated this object.
landon_landonf.org edited the test plan for this revision. (Show Details)
landon_landonf.org added a reviewer: adrian.
  • Rebased against HEAD
  • Fix typo in BCM4706 quirk hwrev.
  • Re-enable the PCIe-G2 quirk table.
This revision was automatically updated to reflect the committed changes.