wifipineapple-openwrt/target/linux/brcm63xx/patches-2.6.30/004_add_pci_support.patch

34 lines
1.5 KiB
Diff

From 2a7fa2dbbf68650644f807a50cc2d84ca30835c1 Mon Sep 17 00:00:00 2001
From: Maxime Bizon <mbizon@freebox.fr>
Date: Sun, 21 Sep 2008 04:47:13 +0200
Subject: [PATCH] [MIPS] BCM63XX: Add PCI support.
Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
---
arch/mips/bcm63xx/Kconfig | 2 +
arch/mips/bcm63xx/setup.c | 2 +
arch/mips/pci/Makefile | 2 +
arch/mips/pci/fixup-bcm63xx.c | 21 +++
arch/mips/pci/ops-bcm63xx.c | 179 +++++++++++++++++++++++
arch/mips/pci/pci-bcm63xx.c | 178 ++++++++++++++++++++++
arch/mips/pci/pci-bcm63xx.h | 27 ++++
include/asm-mips/mach-bcm63xx/bcm63xx_dev_pci.h | 6 +
8 files changed, 417 insertions(+), 0 deletions(-)
create mode 100644 arch/mips/pci/fixup-bcm63xx.c
create mode 100644 arch/mips/pci/ops-bcm63xx.c
create mode 100644 arch/mips/pci/pci-bcm63xx.c
create mode 100644 arch/mips/pci/pci-bcm63xx.h
create mode 100644 include/asm-mips/mach-bcm63xx/bcm63xx_dev_pci.h
--- a/arch/mips/pci/Makefile
+++ b/arch/mips/pci/Makefile
@@ -16,6 +16,8 @@ obj-$(CONFIG_PCI_VR41XX) += ops-vr41xx.o
obj-$(CONFIG_NEC_MARKEINS) += ops-emma2rh.o pci-emma2rh.o fixup-emma2rh.o
obj-$(CONFIG_PCI_TX4927) += ops-tx4927.o
obj-$(CONFIG_BCM47XX) += pci-bcm47xx.o
+obj-$(CONFIG_BCM63XX) += pci-bcm63xx.o fixup-bcm63xx.o \
+ ops-bcm63xx.o
#
# These are still pretty much in the old state, watch, go blind.