From a7bb7dd99ebe9fcdcc6fb3152eaa830a302d5028 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 27 Sep 2010 08:59:53 +0000 Subject: Add support for Atheros AP96 reference board This is still preliminary and not really tested much. Anyway, this version seems to be enough to get both wired and wireless interfaces working. Buttons and leds are also working. mach-ap96.c is based on mach-wndr3700.c. Signed-off-by: Jouni Malinen SVN-Revision: 23125 --- .../linux/ar71xx/base-files/etc/defconfig/ap96/network | 16 ++++++++++++++++ target/linux/ar71xx/base-files/etc/diag.sh | 3 +++ 2 files changed, 19 insertions(+) create mode 100644 target/linux/ar71xx/base-files/etc/defconfig/ap96/network (limited to 'target/linux/ar71xx/base-files/etc') diff --git a/target/linux/ar71xx/base-files/etc/defconfig/ap96/network b/target/linux/ar71xx/base-files/etc/defconfig/ap96/network new file mode 100644 index 0000000000..2d4d8e0121 --- /dev/null +++ b/target/linux/ar71xx/base-files/etc/defconfig/ap96/network @@ -0,0 +1,16 @@ +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 + +config interface wan + option ifname eth1 + option proto dhcp diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index b1e1d2312b..a26a4cbdad 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -36,6 +36,9 @@ get_status_led() { ap83) status_led="ap83:green:power" ;; + ap96) + status_led="ap96:green:led2" + ;; aw-nr580) status_led="aw-nr580:green:ready" ;; -- cgit v1.2.3