Patchwork [3/4] bcm63xx: add DWVS0 board

login
register
mail settings
Submitter Florian Fainelli
Date 2010-03-01 10:03:27
Message ID <201003012336.28071.florian@openwrt.org>
Download mbox | patch
Permalink /patch/1015/
State Accepted
Delegated to: Ralf Baechle
Headers show

Comments

Florian Fainelli - 2010-03-01 10:03:27
The DWVS0 board is a BCM6358-based board with an on-board OHCI controler.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
---
Sergei Shtylyov - 2010-03-02 10:03:49
Hello.

Florian Fainelli wrote:

> The DWVS0 board is a BCM6358-based board with an on-board OHCI controler.
>
> Signed-off-by: Florian Fainelli <florian@openwrt.org>
> ---
> diff --git a/arch/mips/bcm63xx/boards/board_bcm963xx.c b/arch/mips/bcm63xx/boards/board_bcm963xx.c
> index 0b1d60f..8bf2c01 100644
> --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
> +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
> @@ -567,6 +567,27 @@ static struct board_info __initdata board_AGPFS0 = {
>  	.has_ohci0 = 1,
>  	.has_ehci0 = 1,
>  };
> +
> +static struct board_info __initdata board_DWVS0 = {
> +	.name				= "DWV-S0",
> +	.expected_cpu_id		= 0x6358,
> +
> +	.has_enet0			= 1,
> +	.has_enet1			= 1,
> +	.has_pci			= 1,
> +
> +	.enet0 = {
> +		.has_phy		= 1,
> +		.use_internal_phy	= 1,
> +	},
> +
> +	.enet1 = {
> +		.force_speed_100	= 1,
> +		.force_duplex_full	= 1,
> +	},
> +
> +	.has_ohci0 = 1,
>   

   Why it's not aligned with the rest of initializers?

WBR, Sergei
root - 2010-03-18 03:03:57
Applied, thanks.

  Ralf

Patch

diff --git a/arch/mips/bcm63xx/boards/board_bcm963xx.c b/arch/mips/bcm63xx/boards/board_bcm963xx.c
index 0b1d60f..8bf2c01 100644
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -567,6 +567,27 @@  static struct board_info __initdata board_AGPFS0 = {
 	.has_ohci0 = 1,
 	.has_ehci0 = 1,
 };
+
+static struct board_info __initdata board_DWVS0 = {
+	.name				= "DWV-S0",
+	.expected_cpu_id		= 0x6358,
+
+	.has_enet0			= 1,
+	.has_enet1			= 1,
+	.has_pci			= 1,
+
+	.enet0 = {
+		.has_phy		= 1,
+		.use_internal_phy	= 1,
+	},
+
+	.enet1 = {
+		.force_speed_100	= 1,
+		.force_duplex_full	= 1,
+	},
+
+	.has_ohci0 = 1,
+};
 #endif
 
 /*
@@ -595,6 +616,7 @@  static const struct board_info __initdata *bcm963xx_boards[] = {
 	&board_96358vw,
 	&board_96358vw2,
 	&board_AGPFS0,
+	&board_DWVS0,
 #endif
 };