diff --git a/arch/arm/src/sam34/sam_emac.c b/arch/arm/src/sam34/sam_emac.c index c5df14f14a1..32d27600714 100644 --- a/arch/arm/src/sam34/sam_emac.c +++ b/arch/arm/src/sam34/sam_emac.c @@ -3063,7 +3063,7 @@ void up_netinitialize(void) } priv->txtimeout = wd_create(); /* Create TX timeout timer */ - if (!priv->txpoll) + if (!priv->txtimeout) { nlldbg("ERROR: Failed to create periodic poll timer\n"); goto errout_with_txpoll; diff --git a/arch/arm/src/sama5/sam_emaca.c b/arch/arm/src/sama5/sam_emaca.c index c6fbe166175..9fc65c2c08d 100644 --- a/arch/arm/src/sama5/sam_emaca.c +++ b/arch/arm/src/sama5/sam_emaca.c @@ -3111,7 +3111,7 @@ int sam_emac_initialize(void) } priv->txtimeout = wd_create(); /* Create TX timeout timer */ - if (!priv->txpoll) + if (!priv->txtimeout) { ndbg("ERROR: Failed to create periodic poll timer\n"); ret = -EAGAIN; diff --git a/arch/arm/src/sama5/sam_emacb.c b/arch/arm/src/sama5/sam_emacb.c index 946264fb635..8c705be0608 100644 --- a/arch/arm/src/sama5/sam_emacb.c +++ b/arch/arm/src/sama5/sam_emacb.c @@ -3810,7 +3810,7 @@ int sam_emac_initialize(int intf) } priv->txtimeout = wd_create(); /* Create TX timeout timer */ - if (!priv->txpoll) + if (!priv->txtimeout) { ndbg("ERROR: Failed to create periodic poll timer\n"); ret = -EAGAIN; diff --git a/arch/arm/src/sama5/sam_gmac.c b/arch/arm/src/sama5/sam_gmac.c index 6b90a19367b..3a70c4b404b 100644 --- a/arch/arm/src/sama5/sam_gmac.c +++ b/arch/arm/src/sama5/sam_gmac.c @@ -3183,7 +3183,7 @@ int sam_gmac_initialize(void) } priv->txtimeout = wd_create(); /* Create TX timeout timer */ - if (!priv->txpoll) + if (!priv->txtimeout) { nlldbg("ERROR: Failed to create periodic poll timer\n"); ret = -EAGAIN; diff --git a/configs/sama5d4-ek/README.txt b/configs/sama5d4-ek/README.txt index 351fbfb08cc..3bb42515d6d 100644 --- a/configs/sama5d4-ek/README.txt +++ b/configs/sama5d4-ek/README.txt @@ -864,7 +864,7 @@ SAMA4D44-MB RevC PIO Usage ------------------------------ ------------------- ------------------------- PA0/LCDDAT0/TMS PA0 LCDDAT0, TMS PA1/LCDDAT1 PA1 LCDDAT1 - PA2/LCDDAT2/G1_TXCK PA LCDDAT2, G1_TXCK + PA2/LCDDAT2/G1_TXCK PA2 LCDDAT2, G1_TXCK PA3/LCDDAT3/G1_RXCK PA3 LCDDAT3 PA4/LCDDAT4/G1_TXEN PA4 LCDDAT4, G1_TXEN PA5/LCDDAT5/G1_TXER PA5 LCDDAT5