OpenWrt – Blame information for rev 3

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 From 709ef2034f5ba06da35f89856ad7baf2b7a41287 Mon Sep 17 00:00:00 2001
2 From: Florian Fainelli <florian@openwrt.org>
3 Date: Mon, 28 Jan 2013 20:06:28 +0100
4 Subject: [PATCH 10/11] MIPS: BCM63XX: register EHCI controller if board
5 enables it
6  
7 BCM63XX-based board can control the registration of the EHCI controller
8 by setting their has_ehci0 flag to 1. Handle this in the generic
9 code dealing with board registration and call the actual helper to register
10 the EHCI controller.
11  
12 Signed-off-by: Florian Fainelli <florian@openwrt.org>
13 ---
14 arch/mips/bcm63xx/boards/board_bcm963xx.c | 4 ++++
15 1 file changed, 4 insertions(+)
16  
17 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
18 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 office 19 @@ -28,6 +28,7 @@
1 office 20 #include <bcm63xx_dev_hsspi.h>
21 #include <bcm63xx_dev_pcmcia.h>
22 #include <bcm63xx_dev_spi.h>
23 +#include <bcm63xx_dev_usb_ehci.h>
24 #include <bcm63xx_dev_usb_ohci.h>
25 #include <bcm63xx_dev_usb_usbd.h>
26 #include <board_bcm963xx.h>
3 office 27 @@ -899,6 +900,9 @@ int __init board_register_devices(void)
1 office 28 if (board.has_usbd)
29 bcm63xx_usbd_register(&board.usbd);
30  
31 + if (board.has_ehci0)
32 + bcm63xx_ehci_register();
33 +
34 if (board.has_ohci0)
35 bcm63xx_ohci_register();
36