summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzbb <zbb@FreeBSD.org>2016-01-20 14:02:36 +0000
committerzbb <zbb@FreeBSD.org>2016-01-20 14:02:36 +0000
commit44fdaddddd1b785bd722370a7cd47e917911e22f (patch)
tree7eb8fb32a9aba69a18de81d8435f8293afb60b26
parent4940a100237a0e0fe2242978df54337c93dbf618 (diff)
downloadFreeBSD-src-44fdaddddd1b785bd722370a7cd47e917911e22f.zip
FreeBSD-src-44fdaddddd1b785bd722370a7cd47e917911e22f.tar.gz
Enhance remap capabilities for Armada38x
Add conditions corresponding to Armada38x-based SoCs, enhancing their remap capabilities. This is required for PCIe to work properly. Reviewed by: andrew Obtained from: Semihalf Sponsored by: Stormshield Submitted by: Bartosz Szczepanek <bsz@semihalf.com> Differential revision: https://reviews.freebsd.org/D4376
-rw-r--r--sys/arm/mv/mv_common.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/arm/mv/mv_common.c b/sys/arm/mv/mv_common.c
index 7147268..8e94655 100644
--- a/sys/arm/mv/mv_common.c
+++ b/sys/arm/mv/mv_common.c
@@ -733,6 +733,9 @@ win_cpu_can_remap(int i)
(dev == MV_DEV_88F5281 && i < 4) ||
(dev == MV_DEV_88F6281 && i < 4) ||
(dev == MV_DEV_88F6282 && i < 4) ||
+ (dev == MV_DEV_88F6828 && i < 20) ||
+ (dev == MV_DEV_88F6820 && i < 20) ||
+ (dev == MV_DEV_88F6810 && i < 20) ||
(dev == MV_DEV_88RC8180 && i < 2) ||
(dev == MV_DEV_88F6781 && i < 4) ||
(dev == MV_DEV_MV78100_Z0 && i < 8) ||
OpenPOWER on IntegriCloud