bcm63xx: add 3.9 support
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-3.9 / 305-MIPS-BCM63XX-allow-second-UART-on-BCM6328.patch
1 From c110865541e2d3782c412af9d48c016de5a64d9c Mon Sep 17 00:00:00 2001
2 From: Jonas Gorski <jonas.gorski@gmail.com>
3 Date: Tue, 14 Jun 2011 21:14:39 +0200
4 Subject: [PATCH 42/79] MIPS: BCM63XX: allow second UART on BCM6328
5
6 Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
7 ---
8 arch/mips/bcm63xx/dev-uart.c | 3 ++-
9 1 file changed, 2 insertions(+), 1 deletion(-)
10
11 --- a/arch/mips/bcm63xx/dev-uart.c
12 +++ b/arch/mips/bcm63xx/dev-uart.c
13 @@ -54,7 +54,8 @@ int __init bcm63xx_uart_register(unsigne
14 if (id >= ARRAY_SIZE(bcm63xx_uart_devices))
15 return -ENODEV;
16
17 - if (id == 1 && (!BCMCPU_IS_6358() && !BCMCPU_IS_6368()))
18 + if (id == 1 && !BCMCPU_IS_6328() && !BCMCPU_IS_6358() &&
19 + !BCMCPU_IS_6368())
20 return -ENODEV;
21
22 if (id == 0) {