Page MenuHomeFreeBSD

PCIe HotPlug: remove tests for DL active link capability
ClosedPublic

Authored by vangyzen on Feb 3 2017, 10:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 29 2023, 8:10 PM
Unknown Object (File)
Nov 12 2023, 11:35 AM
Unknown Object (File)
Nov 9 2023, 9:45 PM
Unknown Object (File)
Nov 9 2023, 9:03 PM
Unknown Object (File)
Nov 7 2023, 2:26 PM
Unknown Object (File)
Oct 6 2023, 1:03 PM
Unknown Object (File)
Oct 4 2023, 6:16 PM
Unknown Object (File)
Sep 23 2023, 3:43 PM
Subscribers
None

Details

Summary

As of r313097, the HotPlug code requires the link to support
reporting of the data-link status. Remove tests for this capability
from code that can now assume its presence.

Suggested by: jhb

Test Plan

I no longer have ready access to HotPlug hardware,
so this is only boot-tested. If you'd like to test it,
I'd be grateful, but I'm comfortable committing it
essentially untested.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

vangyzen retitled this revision from to PCIe HotPlug: remove tests for DL active link capability.
vangyzen updated this object.
vangyzen edited the test plan for this revision. (Show Details)
vangyzen added a reviewer: jhb.
jhb edited edge metadata.

Looks good to me modulo the little nit.

sys/dev/pci/pci_pci.c
1383 โ†—(On Diff #24703)

I would stick DLLSCE at the beginning to match how 'mask' is initialized. (I think I did them in some sort of order, either MSB to LSB or vice versa.)

This revision is now accepted and ready to land.Feb 3 2017, 11:47 PM
sys/dev/pci/pci_pci.c
1383 โ†—(On Diff #24703)

mask is MSB to LSB, but val is the opposite. I'll sort val to match mask.

This revision was automatically updated to reflect the committed changes.