mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-03 14:34:27 -05:00 
			
		
		
		
	Copy patches and config from 5.15 kernel version. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
		
			
				
	
	
		
			37 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
From cc3c30bdc98eabbaa07c64302eb5124a0f4a74f0 Mon Sep 17 00:00:00 2001
 | 
						|
From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= <noltari@gmail.com>
 | 
						|
Date: Wed, 17 May 2023 18:20:46 +0200
 | 
						|
Subject: [PATCH] pci: add bcm6318-pcie support
 | 
						|
MIME-Version: 1.0
 | 
						|
Content-Type: text/plain; charset=UTF-8
 | 
						|
Content-Transfer-Encoding: 8bit
 | 
						|
 | 
						|
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
 | 
						|
---
 | 
						|
 drivers/pci/controller/Kconfig  | 5 +++++
 | 
						|
 drivers/pci/controller/Makefile | 1 +
 | 
						|
 2 files changed, 6 insertions(+)
 | 
						|
 | 
						|
--- a/drivers/pci/controller/Kconfig
 | 
						|
+++ b/drivers/pci/controller/Kconfig
 | 
						|
@@ -3,6 +3,11 @@
 | 
						|
 menu "PCI controller drivers"
 | 
						|
 	depends on PCI
 | 
						|
 
 | 
						|
+config PCIE_BCM6318
 | 
						|
+	bool "BCM6318 PCIe controller"
 | 
						|
+	depends on BMIPS_GENERIC || COMPILE_TEST
 | 
						|
+	depends on OF
 | 
						|
+
 | 
						|
 config PCIE_BCM6328
 | 
						|
 	bool "BCM6328 PCIe controller"
 | 
						|
 	depends on BMIPS_GENERIC || COMPILE_TEST
 | 
						|
--- a/drivers/pci/controller/Makefile
 | 
						|
+++ b/drivers/pci/controller/Makefile
 | 
						|
@@ -1,4 +1,5 @@
 | 
						|
 # SPDX-License-Identifier: GPL-2.0
 | 
						|
+obj-$(CONFIG_PCIE_BCM6318) += pcie-bcm6318.o
 | 
						|
 obj-$(CONFIG_PCIE_BCM6328) += pcie-bcm6328.o
 | 
						|
 obj-$(CONFIG_PCIE_CADENCE) += cadence/
 | 
						|
 obj-$(CONFIG_PCI_FTPCI100) += pci-ftpci100.o
 |