freebsd-skq/usr.sbin/pciconf
Eric van Gyzen a1566487db Fix some logic in PCIe HotPlug; display EI status
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)

Reviewed by:	jhb
MFC after:	3 days
Sponsored by:	Dell Inc.
Differential Revision:	https://reviews.freebsd.org/D7426
2016-08-05 23:23:48 +00:00
..
cap.c Fix some logic in PCIe HotPlug; display EI status 2016-08-05 23:23:48 +00:00
err.c Reassign copyright statements on several files from Advanced 2015-04-23 14:22:20 +00:00
Makefile Make WARNS=6 safe. 2016-02-18 15:23:25 +00:00
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00
pathnames.h Prefer pciids database from ports if present 2015-09-06 20:05:29 +00:00
pciconf.8 Don't repeat the the word 'the' 2016-05-17 12:52:31 +00:00
pciconf.c Fix possible out-of-bounds access detected by Ulrich Spörleins "scan-build". 2016-02-19 14:01:35 +00:00
pciconf.h Teach pciconf how to dump out SR-IOV capability 2015-03-01 00:59:35 +00:00