[qca-ssdk]: Enable lan port link autoneg
Enable lan port link autoneg on switch init.
Change-Id: I24bd9b1f2f8322bbe44511d66497b416e84dc28c
Signed-off-by: xiaofeis <xiaofeis@codeaurora.org>
diff --git a/src/ref/ref_misc.c b/src/ref/ref_misc.c
index c2b160a..f0dd61a 100755
--- a/src/ref/ref_misc.c
+++ b/src/ref/ref_misc.c
@@ -136,6 +136,10 @@
qca_ar8327_port_init(priv, i);
}
#endif
+ fal_port_link_forcemode_set(0, 1, A_FALSE);
+ fal_port_link_forcemode_set(0, 2, A_FALSE);
+ fal_port_link_forcemode_set(0, 3, A_FALSE);
+ fal_port_link_forcemode_set(0, 4, A_FALSE);
fal_port_link_forcemode_set(0, 5, A_FALSE);
qca_ar8327_phy_enable(priv);
#endif