From 730346e2d595f5a8da9c45605537ede3315e767d Mon Sep 17 00:00:00 2001
From: Florian Fainelli <florian@openwrt.org>
Date: Sat, 31 Jan 2009 16:01:20 +0000
Subject: [PATCH] add support for user9102 boards (#4537)

SVN-Revision: 14305
---
 .../arch/mips/bcm63xx/boards/board_bcm963xx.c | 22 +++++++++++++++++++
 target/linux/brcm63xx/image/Makefile          |  2 ++
 2 files changed, 24 insertions(+)

diff --git a/target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c b/target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c
index 7dd77f0082..76dd54013f 100644
--- a/target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -184,6 +184,27 @@ static struct board_info __initdata board_DV201AMR = {
         .has_ehci0 = 1,
 };
 
+static struct board_info __initdata board_96348gw_a = {
+	.name				= "96348GW-A",
+	.expected_cpu_id		= 0x6348,
+
+	.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
 
 /*
@@ -253,6 +274,7 @@ static const struct board_info __initdata *bcm963xx_boards[] = {
 	&board_96348gw_11,
 	&board_FAST2404,
 	&board_DV201AMR,
+	&board_96348gw_a,
 #endif
 
 #ifdef CONFIG_BCM63XX_CPU_6358
diff --git a/target/linux/brcm63xx/image/Makefile b/target/linux/brcm63xx/image/Makefile
index c9a728bbf2..6cb7a34c01 100644
--- a/target/linux/brcm63xx/image/Makefile
+++ b/target/linux/brcm63xx/image/Makefile
@@ -96,6 +96,8 @@ define Image/Build
 	$(call Image/Build/CFE,$(1),96348GW-11,6348)
 	# Davolink DV201AMR
 	$(call Image/Build/CFEOLD,$(1),DV201AMR,6348)
+	# USR 9108
+	$(call Image/Build/CFE,$(1),96348GW-A,6348)
 	# DG834GT
 	$(call Image/Build/CFE,$(1),96348GW-10,6348)
 	# Sagem F@ST2404
-- 
2.30.2