]> 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>
Tue, 6 Apr 2021 12:31:39 +0000 (14:31 +0200)
commit57dbb3c25936f0d61fef152eb224ca86a73af0e9
tree38124f3cb120eef5d175daf1979f47338109f9c3
parent28d14569c8735060d0a1646a3422562c0741ac44
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
sys/dev/pci/pci_dw.c