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)
Fri, Mar 22, 8:36 PM
Unknown Object (File)
Fri, Mar 22, 8:36 PM
Unknown Object (File)
Fri, Mar 22, 8:36 PM
Unknown Object (File)
Mar 8 2024, 12:34 PM
Unknown Object (File)
Jan 4 2024, 4:06 AM
Unknown Object (File)
Jan 4 2024, 4:06 AM
Unknown Object (File)
Jan 4 2024, 3:53 AM
Unknown Object (File)
Jan 4 2024, 3:41 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.