]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pci_host_generic: remove unneeded ThunderX2 quirk
authorjchandra <jchandra@FreeBSD.org>
Mon, 19 Nov 2018 02:38:02 +0000 (02:38 +0000)
committerjchandra <jchandra@FreeBSD.org>
Mon, 19 Nov 2018 02:38:02 +0000 (02:38 +0000)
commit36b6a94a13f3780e3a028f597783bbda17eadfb1
treebbda31fabf45110f85c600548c149a8707be980e
parent3111942cb9074ce6500e795a23549668cc48e745
pci_host_generic: remove unneeded ThunderX2 quirk

The current quirk implementation writes a fixed address to the PCI BAR
to fix a firmware bug. The PCI BARs are allocated by firmware and will
change depending on PCI devices present. So using a fixed address here
is not correct.

This quirk worked around a firmware bug that programmed the MSI-X bar
of the SATA controller incorrectly. The newer firmware does not have
this issue, so it is better to drop this quirk altogether.

Reviewed by: andrew
Differential Revision: https://reviews.freebsd.org/D17655
sys/dev/pci/pci_host_generic.c