SAMA5 PHY: Add more debug instrumentation; Fix logic that would be used to disable PHY interrupts

This commit is contained in:
Gregory Nutt
2014-08-17 14:07:53 -06:00
parent 1db9858e9d
commit 7cc93b708a
5 changed files with 195 additions and 13 deletions
+13
View File
@@ -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