From 76e834c025eeac2ddc9347d711dc2f268d7f8954 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Mon, 22 May 2017 22:27:33 +0300 Subject: [PATCH] drivers/ethernet/eth_mcux: Fix extra PHY debug Kconfig name. Source had CONFIG_ETH_MCUX_PHY_DETAILED_DEBUG, while Kconfig had CONFIG_ETH_MCUX_PHY_EXTRA_DEBUG. Use the shorter name consistently. Signed-off-by: Paul Sokolovsky --- drivers/ethernet/eth_mcux.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/ethernet/eth_mcux.c b/drivers/ethernet/eth_mcux.c index 26f611e9632f7..529d1eca7be0b 100644 --- a/drivers/ethernet/eth_mcux.c +++ b/drivers/ethernet/eth_mcux.c @@ -142,7 +142,7 @@ static void eth_mcux_phy_enter_reset(struct eth_context *context) static void eth_mcux_phy_start(struct eth_context *context) { -#ifdef CONFIG_ETH_MCUX_PHY_DETAILED_DEBUG +#ifdef CONFIG_ETH_MCUX_PHY_EXTRA_DEBUG SYS_LOG_DBG("phy_state=%s", phy_state_name(context->phy_state)); #endif @@ -166,7 +166,7 @@ static void eth_mcux_phy_start(struct eth_context *context) void eth_mcux_phy_stop(struct eth_context *context) { -#ifdef CONFIG_ETH_MCUX_PHY_DETAILED_DEBUG +#ifdef CONFIG_ETH_MCUX_PHY_EXTRA_DEBUG SYS_LOG_DBG("phy_state=%s", phy_state_name(context->phy_state)); #endif @@ -203,7 +203,7 @@ static void eth_mcux_phy_event(struct eth_context *context) phy_speed_t phy_speed = kPHY_Speed100M; const u32_t phy_addr = 0; -#ifdef CONFIG_ETH_MCUX_PHY_DETAILED_DEBUG +#ifdef CONFIG_ETH_MCUX_PHY_EXTRA_DEBUG SYS_LOG_DBG("phy_state=%s", phy_state_name(context->phy_state)); #endif switch (context->phy_state) {