Page MenuHomeFreeBSD

Fix some logic in PCIe HotPlug; display EI status
ClosedPublic

Authored by vangyzen on Aug 5 2016, 10:59 PM.
Tags
None
Referenced Files
F131688341: D7426.id19080.diff
Fri, Oct 10, 8:51 AM
Unknown Object (File)
Wed, Oct 8, 12:55 AM
Unknown Object (File)
Jul 26 2025, 5:58 AM
Unknown Object (File)
Jul 24 2025, 3:41 PM
Unknown Object (File)
Jul 5 2025, 5:15 PM
Unknown Object (File)
Jun 21 2025, 4:16 PM
Unknown Object (File)
Jun 14 2025, 2:01 PM
Unknown Object (File)
Jun 10 2025, 6:31 AM
Subscribers

Details

Summary

The interpretation of the Electromechanical Interlock Status was
inverted, so we disengaged the EI if a card was inserted.
Fix it to engage the EI if a card is inserted.

When displaying the slot capabilites/status with pciconf:

  • We inverted the sense of the Power Controller Control bit, saying the power was off when it was really on (according to this bit). Fix that.
  • Display the status of the Electromechanical Interlock:

EI(engaged)
EI(disengaged)

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 4718
Build 4772: arc lint + arc unit

Event Timeline

vangyzen retitled this revision from to Fix some logic in PCIe HotPlug; display EI status.
vangyzen updated this object.
vangyzen edited the test plan for this revision. (Show Details)
vangyzen added a reviewer: jhb.
jhb edited edge metadata.
This revision is now accepted and ready to land.Aug 5 2016, 11:05 PM
This revision was automatically updated to reflect the committed changes.