diff options
author | John Crispin <john@openwrt.org> | 2014-01-15 18:29:44 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-01-15 18:29:44 +0000 |
commit | beb29461ff05ce04eaafcbc24c65b2b95fc91f56 (patch) | |
tree | b9a19dd4c2bfc9805cbd4cc8badcca9646a6a960 /target/linux/ramips/base-files/etc | |
parent | 62dd252b86b10d055b55558d9944573a282dd50c (diff) | |
download | upstream-beb29461ff05ce04eaafcbc24c65b2b95fc91f56.tar.gz upstream-beb29461ff05ce04eaafcbc24c65b2b95fc91f56.tar.bz2 upstream-beb29461ff05ce04eaafcbc24c65b2b95fc91f56.zip |
ramips: Add userspace support for the Edimax BR-6475nD
The rt2x00 wifi driver may still need updating to
function with this device.
Signed-off-by: Christopher Lais <chris+openwrt@zenthought.org>
SVN-Revision: 39298
Diffstat (limited to 'target/linux/ramips/base-files/etc')
4 files changed, 17 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index 1d8bef1603..d57cc7ac22 100755 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -21,7 +21,7 @@ get_status_led() { br6524n) status_led="edimax:blue:power" ;; - br6425) + br6425 | br-6475nd) status_led="edimax:green:power" ;; d105) diff --git a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom index d38aadda09..5906e686a2 100644 --- a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom +++ b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom @@ -66,6 +66,7 @@ case "$FIRMWARE" in awm002-evb | \ bc2 | \ br6425 | \ + br-6475nd | \ broadway | \ br6524n | \ carambola | \ diff --git a/target/linux/ramips/base-files/etc/uci-defaults/01_leds b/target/linux/ramips/base-files/etc/uci-defaults/01_leds index 0c54cdefb1..ca4c131781 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/01_leds +++ b/target/linux/ramips/base-files/etc/uci-defaults/01_leds @@ -47,6 +47,9 @@ case $board in br6425) set_wifi_led "edimax:orange:wlan" ;; + br-6475nd) + set_wifi_led "edimax:amber:wlan" + ;; broadway) set_usb_led "red:diskmounted" set_wifi_led "red:wps_active" diff --git a/target/linux/ramips/base-files/etc/uci-defaults/02_network b/target/linux/ramips/base-files/etc/uci-defaults/02_network index 7c14ad3a24..65c05899c3 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/02_network +++ b/target/linux/ramips/base-files/etc/uci-defaults/02_network @@ -65,6 +65,13 @@ ramips_setup_interfaces() ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" ;; + br-6475nd) + ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" + ucidef_add_switch "switch0" "1" "1" + ucidef_add_switch_vlan "switch0" "1" "1 2 3 4 9t" + ucidef_add_switch_vlan "switch0" "2" "0 9t" + ;; + asl26555) ucidef_set_interface_lan "eth0.1" ucidef_add_switch "switch0" "1" "1" @@ -166,6 +173,11 @@ ramips_setup_macs() wan_mac=$(macaddr_add "$lan_mac" 1) ;; + br-6475nd) + lan_mac=$(mtd_get_mac_binary devdata 13) + wan_mac=$(mtd_get_mac_binary devdata 7) + ;; + w306r-v20) wan_mac=$(macaddr_add "$lan_mac" 5) ;; |