Merge "[qca-ssdk]: Enable lan port link autoneg"
diff --git a/src/init/ssdk_init.c b/src/init/ssdk_init.c
index 70e147a..e99bbb3 100755
--- a/src/init/ssdk_init.c
+++ b/src/init/ssdk_init.c
@@ -1886,7 +1886,6 @@
regi_init(void)
{
ssdk_init_cfg cfg;
- struct device dev;
int rv = 0;
garuda_init_spec_cfg chip_spec_cfg;
ssdk_dt_global.switch_reg_access_mode = HSL_REG_MDIO;
@@ -1912,14 +1911,6 @@
memset(&chip_spec_cfg, 0, sizeof(garuda_init_spec_cfg));
-#if defined(CONFIG_OF) && (LINUX_VERSION_CODE >= KERNEL_VERSION(3,14,0))
- if(ssdk_dt_global.switch_reg_access_mode == HSL_REG_LOCAL_BUS) {
- dev.of_node=of_find_node_by_name(NULL, "ess-switch");
- if(device_reset(&dev))
- printk("device_reset failed for ess-switch!\n");
- }
-#endif
-
if(ssdk_dt_global.switch_reg_access_mode == HSL_REG_MDIO)
cfg.reg_mode = HSL_MDIO;
else if(ssdk_dt_global.switch_reg_access_mode == HSL_REG_LOCAL_BUS)