05a4834c6d29fd00dfc11f69075c7ade08a9d250
[openwrt/openwrt.git] / target / linux / ramips / patches-4.9 / 0009-PCI-MIPS-enable-PCIe-on-MT7688.patch
1 From 7768798964eb0e4f95eaecffb93b5d0ca28a38af Mon Sep 17 00:00:00 2001
2 From: Daniel Golle <daniel@makrotopia.org>
3 Date: Sat, 3 Jun 2017 20:00:03 +0200
4 Subject: [PATCH] MIPS: pci-mt7620: enabled PCIe on MT7688
5 To: linux-mips@linux-mips.org,
6 John Crispin <john@phrozen.org>
7 Cc: Wei Yongjun <yongjun_wei@trendmicro.com.cn>,
8 Ralf Baechle <ralf@linux-mips.org>,
9 linux-mediatek@lists.infradead.org
10
11 Use PCIe support for MT7628AN also on MT7688.
12 Tested on WRTNODE2R.
13
14 Signed-off-by: Daniel Golle <daniel@makrotopia.org>
15 ---
16 arch/mips/pci/pci-mt7620.c | 1 +
17 1 file changed, 1 insertion(+)
18
19 diff --git a/arch/mips/pci/pci-mt7620.c b/arch/mips/pci/pci-mt7620.c
20 index 628c5132b3d8..cd8e2b87efd5 100644
21 --- a/arch/mips/pci/pci-mt7620.c
22 +++ b/arch/mips/pci/pci-mt7620.c
23 @@ -316,6 +316,7 @@ static int mt7620_pci_probe(struct platform_device *pdev)
24 break;
25
26 case MT762X_SOC_MT7628AN:
27 + case MT762X_SOC_MT7688:
28 if (mt7628_pci_hw_init(pdev))
29 return -1;
30 break;
31 --
32 2.13.0
33