Skip to contentSkip to conversation

bcm63xx: add DWVS0 board

PATCH Applied Florian Fainelli 3 participants 3 messages Mar 1, 2010 – Mar 18, 2010 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 3/4 bcm63xx: add DWVS0 board

The DWVS0 board is a BCM6358-based board with an on-board OHCI controler.

---

arch/mips/bcm63xx/boards/board_bcm963xx.c +22 -0
index 0b1d60f..8bf2c01 100644
@@ -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
 };
 
#1 lore raw

Hello.

Quoted 23 lines · Florian Fainelli

The DWVS0 board is a BCM6358-based board with an on-board OHCI controler.

---

arch/mips/bcm63xx/boards/board_bcm963xx.c +11 -0
index 0b1d60f..8bf2c01 100644
@@ -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,

arch/mips/bcm63xx/boards/board_bcm963xx.c static struct board_info __initdata board_AGPFS0 = { · line 590

Quoted 10 lines
arch/mips/bcm63xx/boards/board_bcm963xx.c +9 -0
+		.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