diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-10-16 15:15:54 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-10-16 21:10:29 -0400 |
commit | 678aa1f6ac8699ad69b347a22d9580425a587c14 (patch) | |
tree | 822791eef92fa6bbecefbf156eab2df2f23f7a7a /drivers/net/Kconfig | |
parent | afa151b9b13e1c3ee0ee6f5a3323e7bf0e2df436 (diff) |
skge: add a debug interface
Add a debugfs interface to look at internal ring state.
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/Kconfig')
-rw-r--r-- | drivers/net/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 8f99a0626616..83d52c8acab0 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
@@ -2173,6 +2173,16 @@ config SKGE | |||
2173 | To compile this driver as a module, choose M here: the module | 2173 | To compile this driver as a module, choose M here: the module |
2174 | will be called skge. This is recommended. | 2174 | will be called skge. This is recommended. |
2175 | 2175 | ||
2176 | config SKGE_DEBUG | ||
2177 | bool "Debugging interface" | ||
2178 | depends on SKGE && DEBUG_FS | ||
2179 | help | ||
2180 | This option adds the ability to dump driver state for debugging. | ||
2181 | The file debugfs/skge/ethX displays the state of the internal | ||
2182 | transmit and receive rings. | ||
2183 | |||
2184 | If unsure, say N. | ||
2185 | |||
2176 | config SKY2 | 2186 | config SKY2 |
2177 | tristate "SysKonnect Yukon2 support" | 2187 | tristate "SysKonnect Yukon2 support" |
2178 | depends on PCI | 2188 | depends on PCI |