mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-24 07:33:04 +00:00
ipq40xx: convert devolo Magic 2 WiFi next to DSA
Renamed the interfaces to match the other devices. Name the interface connected to the builtin G.hn chip 'ghn'. This might toggle at runtime while the G.hn chip is in the bootloader. Reviewed-by: Robert Marko <robimarko@gmail.com> Signed-off-by: Thomas Bong <thomas.bong@devolo.de>
This commit is contained in:
parent
6267961a4a
commit
838bb0c03f
@ -69,6 +69,9 @@ ipq40xx_setup_interfaces()
|
|||||||
compex,wpj428)
|
compex,wpj428)
|
||||||
ucidef_set_interface_lan "lan1 lan2"
|
ucidef_set_interface_lan "lan1 lan2"
|
||||||
;;
|
;;
|
||||||
|
devolo,magic-2-wifi-next)
|
||||||
|
ucidef_set_interface_lan "lan1 lan2 ghn"
|
||||||
|
;;
|
||||||
linksys,whw01)
|
linksys,whw01)
|
||||||
ucidef_set_interface_lan "eth1 eth2"
|
ucidef_set_interface_lan "eth1 eth2"
|
||||||
;;
|
;;
|
||||||
|
@ -231,3 +231,26 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&gmac {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&switch {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&swport5 {
|
||||||
|
status = "okay";
|
||||||
|
label = "lan1";
|
||||||
|
};
|
||||||
|
|
||||||
|
&swport3 {
|
||||||
|
status = "okay";
|
||||||
|
label = "lan2";
|
||||||
|
};
|
||||||
|
|
||||||
|
&swport4 {
|
||||||
|
status = "okay";
|
||||||
|
label = "ghn";
|
||||||
|
};
|
||||||
|
@ -388,7 +388,7 @@ define Device/devolo_magic-2-wifi-next
|
|||||||
DEFAULT := n
|
DEFAULT := n
|
||||||
endef
|
endef
|
||||||
# Missing DSA Setup
|
# Missing DSA Setup
|
||||||
#TARGET_DEVICES += devolo_magic-2-wifi-next
|
TARGET_DEVICES += devolo_magic-2-wifi-next
|
||||||
|
|
||||||
define Device/dlink_dap-2610
|
define Device/dlink_dap-2610
|
||||||
$(call Device/FitImageLzma)
|
$(call Device/FitImageLzma)
|
||||||
|
Loading…
Reference in New Issue
Block a user