Page MenuHomeFreeBSD

[BHND] Centralize fetching of board information
ClosedPublic

Authored by landon_landonf.org on May 13 2016, 11:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Sep 7, 9:28 AM
Unknown Object (File)
Sun, Sep 6, 3:22 AM
Unknown Object (File)
Sat, Sep 5, 6:31 PM
Unknown Object (File)
Sat, Sep 5, 6:30 PM
Unknown Object (File)
Sat, Sep 5, 4:29 PM
Unknown Object (File)
Sat, Sep 5, 3:11 PM
Unknown Object (File)
Sat, Sep 5, 3:06 AM
Unknown Object (File)
Thu, Sep 3, 5:15 PM
Subscribers

Details

Summary

Centralizes fetching of board information (vendor, type, revision, etc),
and adds support for matching quirks against board identification info.

  • Adds a BHND_BUS_READ_BOARD_INFO(), allowing bhnd bus/bus parent(s) to handle implementation-specific fetching of board info.
  • Integrates board type constants from the latest Broadcom ISC-licensed bcmdevs.h included in dd-wrt's Broadcom driver source drops.
  • Adds support for matching on chip/board quirks to bhnd_device_quirks()/bhnd_chip_quirks().
  • Use the new board/chip quirk matching to match Apple devices that failed to set BFL2_PCIEWAR_OVR in SROM.

Depends on D6246

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 [BHND] Centralize fetching of board information.
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.
This revision was automatically updated to reflect the committed changes.