ar71xx: enable UART function for early_printk/console
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / patches-3.3 / 119-MIPS-ath79-register-PCI-controller-on-the-PB44-board.patch
1 From 1759a5bc87d0eb8dbb0d8a9794b336813057eb88 Mon Sep 17 00:00:00 2001
2 From: Gabor Juhos <juhosg@openwrt.org>
3 Date: Thu, 25 Nov 2010 17:59:28 +0100
4 Subject: [PATCH 19/35] MIPS: ath79: register PCI controller on the PB44 board
5
6 The PB44 reference board has two miniPCI slots. Register
7 the PCI controller to make those usable.
8
9 Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
10
11 v2: - no changes
12 ---
13 arch/mips/ath79/mach-pb44.c | 2 ++
14 1 files changed, 2 insertions(+), 0 deletions(-)
15
16 --- a/arch/mips/ath79/mach-pb44.c
17 +++ b/arch/mips/ath79/mach-pb44.c
18 @@ -19,6 +19,7 @@
19 #include "dev-leds-gpio.h"
20 #include "dev-spi.h"
21 #include "dev-usb.h"
22 +#include "pci.h"
23
24 #define PB44_GPIO_I2C_SCL 0
25 #define PB44_GPIO_I2C_SDA 1
26 @@ -114,6 +115,7 @@ static void __init pb44_init(void)
27 ath79_register_spi(&pb44_spi_data, pb44_spi_info,
28 ARRAY_SIZE(pb44_spi_info));
29 ath79_register_usb();
30 + ath79_register_pci();
31 }
32
33 MIPS_MACHINE(ATH79_MACH_PB44, "PB44", "Atheros PB44 reference board",