This is an automated email from the ASF dual-hosted git repository.
acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 35824b4 Added CONFIG_ETH0_PHY_DP83825I to imxrt_enet: make driver
compile for teensy 4.1 (link detection needs more checks to see if it works as
expected)
35824b4 is described below
commit 35824b449a0e66ff246ac384a2782cabb9e7d009
Author: P.Brier <[email protected]>
AuthorDate: Mon Sep 20 13:37:16 2021 +0200
Added CONFIG_ETH0_PHY_DP83825I to imxrt_enet: make driver compile for
teensy 4.1 (link detection needs more checks to see if it works as expected)
---
arch/arm/src/imxrt/imxrt_enet.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/src/imxrt/imxrt_enet.c b/arch/arm/src/imxrt/imxrt_enet.c
index 7df534f..1598c42 100644
--- a/arch/arm/src/imxrt/imxrt_enet.c
+++ b/arch/arm/src/imxrt/imxrt_enet.c
@@ -1838,7 +1838,7 @@ static int imxrt_ioctl(struct net_driver_s *dev, int cmd,
unsigned long arg)
static int imxrt_phyintenable(struct imxrt_driver_s *priv)
{
#if defined(CONFIG_ETH0_PHY_KSZ8051) || defined(CONFIG_ETH0_PHY_KSZ8061) || \
- defined(CONFIG_ETH0_PHY_KSZ8081)
+ defined(CONFIG_ETH0_PHY_KSZ8081) || defined(CONFIG_ETH0_PHY_DP83825I)
uint16_t phyval;
int ret;