[tools] revert r18760 since it prevents people from building working eva images
[openwrt-10.03/.git] / target / linux / brcm63xx / patches-2.6.30 / 004_add_pci_support.patch
1 From 2a7fa2dbbf68650644f807a50cc2d84ca30835c1 Mon Sep 17 00:00:00 2001
2 From: Maxime Bizon <mbizon@freebox.fr>
3 Date: Sun, 21 Sep 2008 04:47:13 +0200
4 Subject: [PATCH] [MIPS] BCM63XX: Add PCI support.
5
6 Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
7 ---
8  arch/mips/bcm63xx/Kconfig                       |    2 +
9  arch/mips/bcm63xx/setup.c                       |    2 +
10  arch/mips/pci/Makefile                          |    2 +
11  arch/mips/pci/fixup-bcm63xx.c                   |   21 +++
12  arch/mips/pci/ops-bcm63xx.c                     |  179 +++++++++++++++++++++++
13  arch/mips/pci/pci-bcm63xx.c                     |  178 ++++++++++++++++++++++
14  arch/mips/pci/pci-bcm63xx.h                     |   27 ++++
15  include/asm-mips/mach-bcm63xx/bcm63xx_dev_pci.h |    6 +
16  8 files changed, 417 insertions(+), 0 deletions(-)
17  create mode 100644 arch/mips/pci/fixup-bcm63xx.c
18  create mode 100644 arch/mips/pci/ops-bcm63xx.c
19  create mode 100644 arch/mips/pci/pci-bcm63xx.c
20  create mode 100644 arch/mips/pci/pci-bcm63xx.h
21  create mode 100644 include/asm-mips/mach-bcm63xx/bcm63xx_dev_pci.h
22
23 --- a/arch/mips/pci/Makefile
24 +++ b/arch/mips/pci/Makefile
25 @@ -16,6 +16,8 @@ obj-$(CONFIG_PCI_VR41XX)      += ops-vr41xx.o
26  obj-$(CONFIG_NEC_MARKEINS)     += ops-emma2rh.o pci-emma2rh.o fixup-emma2rh.o
27  obj-$(CONFIG_PCI_TX4927)       += ops-tx4927.o
28  obj-$(CONFIG_BCM47XX)          += pci-bcm47xx.o
29 +obj-$(CONFIG_BCM63XX)          += pci-bcm63xx.o fixup-bcm63xx.o \
30 +                                       ops-bcm63xx.o
31  
32  #
33  # These are still pretty much in the old state, watch, go blind.