Root/target/linux/ar71xx/patches-3.3/117-MIPS-ath79-register-PCI-controller-on-the-PB44-board.patch

1From 12db6a98b438a50799873bfd2b736a3b02a4bd57 Mon Sep 17 00:00:00 2001
2From: Gabor Juhos <juhosg@openwrt.org>
3Date: Wed, 14 Mar 2012 10:36:13 +0100
4Subject: [PATCH 22/47] MIPS: ath79: register PCI controller on the PB44 board
5
6The PB44 reference board has two miniPCI slots. Register
7the PCI controller to make those usable.
8
9Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
10Cc: linux-mips@linux-mips.org
11Patchwork: https://patchwork.linux-mips.org/patch/3502/
12Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
13---
14 arch/mips/ath79/mach-pb44.c | 2 ++
15 1 files changed, 2 insertions(+), 0 deletions(-)
16
17--- a/arch/mips/ath79/mach-pb44.c
18+++ b/arch/mips/ath79/mach-pb44.c
19@@ -19,6 +19,7 @@
20 #include "dev-leds-gpio.h"
21 #include "dev-spi.h"
22 #include "dev-usb.h"
23+#include "pci.h"
24 
25 #define PB44_GPIO_I2C_SCL 0
26 #define PB44_GPIO_I2C_SDA 1
27@@ -114,6 +115,7 @@ static void __init pb44_init(void)
28     ath79_register_spi(&pb44_spi_data, pb44_spi_info,
29                ARRAY_SIZE(pb44_spi_info));
30     ath79_register_usb();
31+ ath79_register_pci();
32 }
33 
34 MIPS_MACHINE(ATH79_MACH_PB44, "PB44", "Atheros PB44 reference board",
35

Archive Download this file



interactive