]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pci_dw: fix outbound I/O window configuration
authorMarcin Wojtas <mw@FreeBSD.org>
Tue, 6 Apr 2021 12:31:39 +0000 (14:31 +0200)
committerMarcin Wojtas <mw@FreeBSD.org>
Thu, 14 Oct 2021 16:16:33 +0000 (18:16 +0200)
commitd12f564865718e213e9d41aa493a3b6aa7faca60
tree44b72eb52b40768cba9268b6c1089060517361b4
parent8f2e39b9d3ecbd9653f859d9261745059f2b9071
pci_dw: fix outbound I/O window configuration

Use viewport "2" instead of "0" and change window type from MEM to IO.
Without these changes the MEM ATU window can be overwritten with the IO one.

Submitted by: Kornel Duleba <mindal@semihalf.com>
Obtained from: Semihalf
Sponsored by: Marvell
Differential revision: https://reviews.freebsd.org/D29516

(cherry picked from commit 57dbb3c25936f0d61fef152eb224ca86a73af0e9)
sys/dev/pci/pci_dw.c