aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-06-18 16:22:05 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-06-18 16:22:05 +0000
commit7bff9c01010f5c8ba3147da4feffff477eccb164 (patch)
tree85168e3cb347f35aea732552042351c8c273b8ff /target/linux/ar71xx/base-files
parent44e51c530f821f9c780e9e2fffca9b4aae316c62 (diff)
downloadupstream-7bff9c01010f5c8ba3147da4feffff477eccb164.tar.gz
upstream-7bff9c01010f5c8ba3147da4feffff477eccb164.tar.bz2
upstream-7bff9c01010f5c8ba3147da4feffff477eccb164.zip
ar71xx: add support for the Senao EAP7660D board
This patch adds support for the Senao EAP7660D board to trunk. Signed-off-by: Daniel Golle <daniel.golle@gmail.com> SVN-Revision: 21837
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rw-r--r--target/linux/ar71xx/base-files/etc/defconfig/eap7660d/network12
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
2 files changed, 15 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/defconfig/eap7660d/network b/target/linux/ar71xx/base-files/etc/defconfig/eap7660d/network
new file mode 100644
index 0000000000..7c9fb63637
--- /dev/null
+++ b/target/linux/ar71xx/base-files/etc/defconfig/eap7660d/network
@@ -0,0 +1,12 @@
+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/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index ad1cf7d1e2..28fe8ff46b 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -25,6 +25,9 @@ ar71xx_board_name() {
*"DIR-825 rev. B1")
name="dir-825-b1"
;;
+ *EAP7660D)
+ name="eap7660d"
+ ;;
*"Bullet M")
name="bullet-m"
;;