mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
ar71xx: Buffalo WHR-HP-G300N kernel support
The initial support for the Buffalo WHR-HP-G300N box. The code was confirmed to boot and run, but not tested in depth. Known problem: iw phy phy0 info shows: Coverage class: 0 (up to 0m) Available Antennas: TX 0 RX 0 Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28567 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
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
|
||||
|
||||
config switch eth0
|
||||
option enable_vlan 1
|
||||
|
||||
config switch_vlan
|
||||
option device eth0
|
||||
option vlan 1
|
||||
option ports "0 1 2 3 4"
|
||||
@@ -111,6 +111,9 @@ get_status_led() {
|
||||
unifi)
|
||||
status_led="ubnt:green:dome"
|
||||
;;
|
||||
whr-hp-g300n)
|
||||
status_led="whr-hp-g300n:green:router"
|
||||
;;
|
||||
wndr3700 | wndr3700v2)
|
||||
status_led="wndr3700:green:power"
|
||||
;;
|
||||
|
||||
@@ -169,6 +169,9 @@ ar71xx_board_name() {
|
||||
*WZR-HP-G300NH)
|
||||
name="wzr-hp-g300nh"
|
||||
;;
|
||||
*WHR-HP-G300N)
|
||||
name="whr-hp-g300n"
|
||||
;;
|
||||
*ZCN-1523H-2)
|
||||
name="zcn-1523h-2"
|
||||
;;
|
||||
|
||||
@@ -76,7 +76,7 @@ platform_check_image() {
|
||||
}
|
||||
return 0
|
||||
;;
|
||||
ap81 | ap83 | dir-600-a1 | dir-615-c1 | dir-825-b1 | mzk-w04nu | mzk-w300nh | tew-632brp | wrt400n | bullet-m | nanostation-m | rocket-m | wzr-hp-g300nh | wzr-hp-ag300h | nbg460n_550n_550nh | unifi )
|
||||
ap81 | ap83 | dir-600-a1 | dir-615-c1 | dir-825-b1 | mzk-w04nu | mzk-w300nh | tew-632brp | wrt400n | bullet-m | nanostation-m | rocket-m | wzr-hp-g300nh | wzr-hp-ag300h | whr-hp-g300n | nbg460n_550n_550nh | unifi )
|
||||
[ "$magic" != "2705" ] && {
|
||||
echo "Invalid image type."
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user