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)
Mon, Dec 2, 11:48 PM
Unknown Object (File)
Sat, Nov 30, 11:18 PM
Unknown Object (File)
Nov 1 2024, 10:05 PM
Unknown Object (File)
Oct 26 2024, 1:00 AM
Unknown Object (File)
Oct 1 2024, 12:45 PM
Unknown Object (File)
Sep 18 2024, 12:06 AM
Unknown Object (File)
Sep 8 2024, 1:45 PM
Unknown Object (File)
Sep 8 2024, 1:55 AM
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.