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)
Fri, Mar 7, 5:15 AM
Unknown Object (File)
Tue, Mar 4, 1:08 PM
Unknown Object (File)
Sat, Mar 1, 1:15 PM
Unknown Object (File)
Sun, Feb 23, 12:06 PM
Unknown Object (File)
Feb 21 2025, 1:34 AM
Unknown Object (File)
Feb 10 2025, 12:10 PM
Unknown Object (File)
Jan 14 2025, 5:49 AM
Unknown Object (File)
Dec 24 2024, 7:10 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.