aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/base-files
diff options
context:
space:
mode:
authorDaniel Dickinson <crazycshore@gmail.com>2010-12-10 18:59:58 +0000
committerDaniel Dickinson <crazycshore@gmail.com>2010-12-10 18:59:58 +0000
commit44e22cbd49deeb17e9033da8bc72059887acb92f (patch)
tree27b93a722723b7f3b5a80149a75ecb7578d6e9fb /target/linux/brcm63xx/base-files
parent4dcba4234223d83e60640e62a0c959aea2eb657c (diff)
downloadupstream-44e22cbd49deeb17e9033da8bc72059887acb92f.tar.gz
upstream-44e22cbd49deeb17e9033da8bc72059887acb92f.tar.bz2
upstream-44e22cbd49deeb17e9033da8bc72059887acb92f.zip
Fixed Comtrend CT536_CT5621 board settings. These boards are based on the 96348GW-11 reference design but have different GPIOs therefore we use the board fixups now availabed (thanks the patches by Jonas Gorski) to create a separate board entry for these boards and leave the reference design with reference GPIOs. Also these boards only have enet1 (no enet0) so we set that in the board definition, and use a defconfig for a single interface network.
SVN-Revision: 24442
Diffstat (limited to 'target/linux/brcm63xx/base-files')
-rw-r--r--target/linux/brcm63xx/base-files/etc/defconfig/CT536_CT5621/network14
-rwxr-xr-xtarget/linux/brcm63xx/base-files/lib/brcm63xx.sh5
2 files changed, 19 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/base-files/etc/defconfig/CT536_CT5621/network b/target/linux/brcm63xx/base-files/etc/defconfig/CT536_CT5621/network
new file mode 100644
index 0000000000..a35fd2ef9a
--- /dev/null
+++ b/target/linux/brcm63xx/base-files/etc/defconfig/CT536_CT5621/network
@@ -0,0 +1,14 @@
+# Copyright (C) 2006 OpenWrt.org
+
+config interface loopback
+ option ifname lo
+ option proto static
+ option ipaddr 127.0.0.1
+ option netmask 255.0.0.0
+
+config interface lan
+ option ifname eth0
+ option type bridge
+ option proto static
+ option ipaddr 192.168.1.1
+ option netmask 255.255.255.0
diff --git a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh
index e2c563460a..71c188022c 100755
--- a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh
+++ b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh
@@ -34,6 +34,11 @@ brcm63xx_detect() {
brcm63xx_has_reset_button="true"
ifname=eth1
;;
+ "bcm63xx/CT536_CT5621 "*)
+ status_led="power"
+ brcm63xx_has_reset_button="true"
+ ifname=eth0
+ ;;
"bcm63xx/96358GW "* | "bcm63xx/SPW500V "*)
status_led="power:green"
brcm63xx_has_reset_button="true"