mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 11:26:12 +08:00
SAMA5 PHY: Add more debug instrumentation; Fix logic that would be used to disable PHY interrupts
This commit is contained in:
@@ -349,4 +349,17 @@ config ETH1_PHY_DM9161
|
||||
bool "Davicom DM9161 PHY"
|
||||
|
||||
endchoice
|
||||
|
||||
config NETDEV_PHY_DEBUG
|
||||
bool "PHY debug"
|
||||
default n
|
||||
depends on DEBUG
|
||||
---help---
|
||||
Normally debug output is controlled by DEBUG_NET. However, that
|
||||
may generate a LOT of debug output, especially if DEBUG_VERBOSE is
|
||||
also selected. This option is intended to force VERVOSE debug
|
||||
output from certain PHY-related even if DEBUG_NET or DEBUG_VERBOSE
|
||||
are not selected. This allows for focused, unit-level debug of
|
||||
the NSH network initialization logic.
|
||||
|
||||
endif # ARCH_HAVE_PHY
|
||||
|
||||
Reference in New Issue
Block a user