Merge "[qca-ssdk]: Support uci set for "debug module_func set""
diff --git a/include/fal/fal_api.h b/include/fal/fal_api.h
index ec439cc..bba64a4 100755
--- a/include/fal/fal_api.h
+++ b/include/fal/fal_api.h
@@ -255,7 +255,9 @@
     SW_API_DEF(SW_API_PT_POWER_OFF, fal_port_power_off), \
     SW_API_DEF(SW_API_PT_POWER_ON, fal_port_power_on), \
     SW_API_DEF(SW_API_TXFC_STATUS_SET, fal_port_txfc_status_set),   \
-    SW_API_DEF(SW_API_RXFC_STATUS_SET, fal_port_rxfc_status_set),
+    SW_API_DEF(SW_API_RXFC_STATUS_SET, fal_port_rxfc_status_set), \
+    SW_API_DEF(SW_API_PT_SWITCH_PORT_LOOPBACK_SET, fal_switch_port_loopback_set),  \
+    SW_API_DEF(SW_API_PT_SWITCH_PORT_LOOPBACK_GET, fal_switch_port_loopback_get),
 /*end of PORTCONTROL_API*/
 #define PORTCONTROL_API_PARAM \
     SW_API_DESC(SW_API_PT_DUPLEX_SET) \
@@ -272,7 +274,9 @@
     SW_API_DESC(SW_API_PT_POWER_OFF) \
     SW_API_DESC(SW_API_PT_POWER_ON) \
     SW_API_DESC(SW_API_TXFC_STATUS_SET) \
-    SW_API_DESC(SW_API_RXFC_STATUS_SET)
+    SW_API_DESC(SW_API_RXFC_STATUS_SET) \
+    SW_API_DESC(SW_API_PT_SWITCH_PORT_LOOPBACK_SET)  \
+    SW_API_DESC(SW_API_PT_SWITCH_PORT_LOOPBACK_GET)
 /*end of PORTCONTROL_API_PARAM*/
 #endif
 
diff --git a/src/adpt/hppe/adpt_hppe_uniphy.c b/src/adpt/hppe/adpt_hppe_uniphy.c
index cfd8d33..a422d5c 100755
--- a/src/adpt/hppe/adpt_hppe_uniphy.c
+++ b/src/adpt/hppe/adpt_hppe_uniphy.c
@@ -228,9 +228,6 @@
 	sr_mii_ctrl.bf.duplex_mode = 1;
 	hppe_sr_mii_ctrl_set(dev_id, uniphy_index, &sr_mii_ctrl);
 
-	/*This hardcode will move to aq phy driver init when it's available*/
-	if (uniphy_index == SSDK_UNIPHY_INSTANCE2)
-		qca_ar8327_phy_write(dev_id, 7, (1<<30) | (4<<16) | 0xc441, 8);
 	return rv;
 }