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
F171866320: D7426.id19081.diff
Mon, Sep 14, 4:58 AM
F171771210: D7426.id19081.diff
Sun, Sep 13, 10:09 AM
F171770690: D7426.id19080.diff
Sun, Sep 13, 10:03 AM
F171770676: D7426.diff
Sun, Sep 13, 10:03 AM
Unknown Object (File)
Sun, Sep 13, 12:45 AM
Unknown Object (File)
Sat, Sep 12, 6:35 PM
Unknown Object (File)
Sat, Sep 12, 3:29 PM
Unknown Object (File)
Wed, Aug 26, 6:39 PM
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.