You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ac...@apache.org on 2020/01/10 10:03:42 UTC

[incubator-nuttx] 08/21: only use phy interrupt if netdevices is ethernet

This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch pr68
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 68285431931f3862d452cce6fca6b3ceb14e2a59
Author: Adam Feuer <ad...@starcat.io>
AuthorDate: Thu Jan 9 11:55:34 2020 -0800

    only use phy interrupt if netdevices is ethernet
    
    - because now netdevice could be CDC ECM ethernet over usb
      which has no PHY interrupt
    
    -
---
 boards/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/boards/Kconfig b/boards/Kconfig
index aed15fd..fc2bf68 100644
--- a/boards/Kconfig
+++ b/boards/Kconfig
@@ -1300,7 +1300,7 @@ config ARCH_BOARD_SAMA5D3_XPLAINED
 	select ARCH_HAVE_LEDS
 	select ARCH_HAVE_BUTTONS
 	select ARCH_HAVE_IRQBUTTONS
-	select ARCH_PHY_INTERRUPT if NETDEVICES
+    select ARCH_PHY_INTERRUPT if NETDEVICES && (SAMA5_EMACA || SAMA5_EMAC0 || SAMA5_EMAC1 || SAMA5_GMAC)
 	---help---
 		The port of NuttX to the Atmel SAMA5D3 Xplained development board.