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
Unknown Object (File)
Mon, May 4, 3:58 PM
Unknown Object (File)
Wed, Apr 29, 5:52 AM
Unknown Object (File)
Tue, Apr 28, 5:33 PM
Unknown Object (File)
Tue, Apr 28, 10:00 AM
Unknown Object (File)
Mon, Apr 27, 7:32 PM
Unknown Object (File)
Thu, Apr 23, 11:15 AM
Unknown Object (File)
Apr 17 2026, 11:24 PM
Unknown Object (File)
Apr 6 2026, 8:48 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 Not Applicable
Unit
Tests Not Applicable

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.