This just enables the existing function, allowing port settings to be made via the board's DTS.
Signed-off-by: Claudio Leite <lei...@staticky.com> --- .../patches-3.10/0218-NET-ralink-init_rt2880_port.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 target/linux/ramips/patches-3.10/0218-NET-ralink-init_rt2880_port.patch diff --git a/target/linux/ramips/patches-3.10/0218-NET-ralink-init_rt2880_port.patch b/target/linux/ramips/patches-3.10/0218-NET-ralink-init_rt2880_port.patch new file mode 100644 index 0000000..54810b8 --- /dev/null +++ b/target/linux/ramips/patches-3.10/0218-NET-ralink-init_rt2880_port.patch @@ -0,0 +1,12 @@ +Index: linux-3.10.34/drivers/net/ethernet/ralink/soc_rt2880.c +=================================================================== +--- linux-3.10.34.orig/drivers/net/ethernet/ralink/soc_rt2880.c ++++ linux-3.10.34/drivers/net/ethernet/ralink/soc_rt2880.c +@@ -41,6 +41,7 @@ struct fe_soc_data rt2880_data = { + .mdio_read = rt2880_mdio_read, + .mdio_write = rt2880_mdio_write, + .mdio_adjust_link = rt2880_mdio_link_adjust, ++ .port_init = rt2880_port_init, + }; + + const struct of_device_id of_fe_match[] = { -- 1.8.2.1 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel