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, Feb 10, 6:46 AM
Unknown Object (File)
Dec 4 2024, 11:36 AM
Unknown Object (File)
Dec 4 2024, 11:36 AM
Unknown Object (File)
Dec 4 2024, 11:36 AM
Unknown Object (File)
Dec 4 2024, 11:12 AM
Unknown Object (File)
Nov 5 2024, 1:16 PM
Unknown Object (File)
Oct 1 2024, 10:42 PM
Unknown Object (File)
Oct 1 2024, 9:22 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.