# # Copyright (C) 2006-2013 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # define Profile/Broadcom-none NAME:=Broadcom SoC, all Ethernet, No WiFi PACKAGES:=-wpad-mini kmod-b44 kmod-tg3 kmod-bgmac endef define Profile/Broadcom-none/Description Package set compatible with hardware any Broadcom BCM47xx or BCM535x SoC without any Wifi cards and b44, tg3 or bgmac Ethernet driver. endef $(eval $(call Profile,Broadcom-none)) t.panaceas.org/git/openwrt/upstream' title='openwrt/upstream Git repository'/>
aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/cns3xxx/patches-4.14/065-pcie_skip_inactive.patch
blob: b8b5f273a18d1df98980fa74bfe5dc2542745217 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/arch/arm/mach-cns3xxx/pcie.c
+++ b/arch/arm/mach-cns3xxx/pcie.c
@@ -366,6 +366,8 @@ void __init cns3xxx_pcie_init_late(void)
 
 	for (i = 0; i < ARRAY_SIZE(cns3xxx_pcie); i++) {
 		cns3xxx_pcie_check_link(&cns3xxx_pcie[i]);
+		if (!cns3xxx_pcie[i].linked)
+			continue;
 		cns3xxx_pcie_hw_init(&cns3xxx_pcie[i]);
 		private_data = &cns3xxx_pcie[i];
 		pci_common_init(&hw_pci);