From 44e22cbd49deeb17e9033da8bc72059887acb92f Mon Sep 17 00:00:00 2001 From: Daniel Dickinson Date: Fri, 10 Dec 2010 18:59:58 +0000 Subject: 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 --- .../brcm63xx/base-files/etc/defconfig/CT536_CT5621/network | 14 ++++++++++++++ target/linux/brcm63xx/base-files/lib/brcm63xx.sh | 5 +++++ 2 files changed, 19 insertions(+) create mode 100644 target/linux/brcm63xx/base-files/etc/defconfig/CT536_CT5621/network (limited to 'target/linux/brcm63xx/base-files') 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" -- cgit v1.2.3