Page MenuHomeFreeBSD

qoriq_dw_pci: Fix typo in link status checking code
ClosedPublic

Authored by bag_semihalf.com on Aug 11 2021, 3:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Feb 10, 5:08 AM
Unknown Object (File)
Sun, Feb 8, 1:41 AM
Unknown Object (File)
Sun, Feb 8, 12:23 AM
Unknown Object (File)
Sat, Jan 31, 11:01 AM
Unknown Object (File)
Sun, Jan 18, 6:04 PM
Unknown Object (File)
Dec 7 2025, 7:51 AM
Unknown Object (File)
Nov 27 2025, 3:55 AM
Unknown Object (File)
Nov 20 2025, 7:35 PM

Details

Summary

On some DesignWare PCIe controllers accessing config registers of slots
whose link is down triggers a SError. Because of that we need to check the
link status before any acceses config space.
Due to a typo link was always reported up.
This fixes a SError that occured during boot on LS1028A-RDB.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable