|
|
@@ -38,9 +38,7 @@ static init_state_t init_state = INIT_COMPLETED;
|
|
|
static init_state_t init_state = INIT_NOT_COMPLETED;
|
|
|
#endif
|
|
|
|
|
|
-#define AUTO_PROBE (!defined(FORCE_PROBE_RTL8367C) && !defined(FORCE_PROBE_RTL8370B) && !defined(FORCE_PROBE_RTL8364B) && !defined(FORCE_PROBE_RTL8363SC_VB))
|
|
|
-
|
|
|
-#if (AUTO_PROBE || defined(FORCE_PROBE_RTL8367C))
|
|
|
+#if ((!defined(FORCE_PROBE_RTL8367C) && !defined(FORCE_PROBE_RTL8370B) && !defined(FORCE_PROBE_RTL8364B) && !defined(FORCE_PROBE_RTL8363SC_VB)) || defined(FORCE_PROBE_RTL8367C))
|
|
|
static rtk_switch_halCtrl_t rtl8367c_hal_Ctrl =
|
|
|
{
|
|
|
/* Switch Chip */
|
|
|
@@ -109,7 +107,7 @@ static rtk_switch_halCtrl_t rtl8367c_hal_Ctrl =
|
|
|
};
|
|
|
#endif
|
|
|
|
|
|
-#if (AUTO_PROBE || defined(FORCE_PROBE_RTL8370B))
|
|
|
+#if ((!defined(FORCE_PROBE_RTL8367C) && !defined(FORCE_PROBE_RTL8370B) && !defined(FORCE_PROBE_RTL8364B) && !defined(FORCE_PROBE_RTL8363SC_VB)) || defined(FORCE_PROBE_RTL8370B))
|
|
|
static rtk_switch_halCtrl_t rtl8370b_hal_Ctrl =
|
|
|
{
|
|
|
/* Switch Chip */
|
|
|
@@ -178,7 +176,7 @@ static rtk_switch_halCtrl_t rtl8370b_hal_Ctrl =
|
|
|
};
|
|
|
#endif
|
|
|
|
|
|
-#if (AUTO_PROBE || defined(FORCE_PROBE_RTL8364B))
|
|
|
+#if ((!defined(FORCE_PROBE_RTL8367C) && !defined(FORCE_PROBE_RTL8370B) && !defined(FORCE_PROBE_RTL8364B) && !defined(FORCE_PROBE_RTL8363SC_VB)) || defined(FORCE_PROBE_RTL8364B))
|
|
|
static rtk_switch_halCtrl_t rtl8364b_hal_Ctrl =
|
|
|
{
|
|
|
/* Switch Chip */
|
|
|
@@ -247,7 +245,7 @@ static rtk_switch_halCtrl_t rtl8364b_hal_Ctrl =
|
|
|
};
|
|
|
#endif
|
|
|
|
|
|
-#if (AUTO_PROBE || defined(FORCE_PROBE_RTL8363SC_VB))
|
|
|
+#if ((!defined(FORCE_PROBE_RTL8367C) && !defined(FORCE_PROBE_RTL8370B) && !defined(FORCE_PROBE_RTL8364B) && !defined(FORCE_PROBE_RTL8363SC_VB)) || defined(FORCE_PROBE_RTL8363SC_VB))
|
|
|
static rtk_switch_halCtrl_t rtl8363sc_vb_hal_Ctrl =
|
|
|
{
|
|
|
/* Switch Chip */
|