diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-07-09 18:33:35 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-07-10 12:22:28 -0400 |
commit | 3cf267539f1f133eb6ba63d074da18cb58cdf89a (patch) | |
tree | c35a52a717702fdade349c1af0d7013bb7c51115 /drivers/net/Kconfig | |
parent | 55d7b4e6ed6ad3ec5e5e30b3b4515a0a6a53e344 (diff) |
sky2: debug interface
Add an optional debug interface for displaying state of transmit/receive
rings. Creates a file debugfs/sky2/ethX for each device that is up.
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 5cc3d517e39b..58c6aa28baff 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
@@ -2133,6 +2133,16 @@ config SKY2 | |||
2133 | To compile this driver as a module, choose M here: the module | 2133 | To compile this driver as a module, choose M here: the module |
2134 | will be called sky2. This is recommended. | 2134 | will be called sky2. This is recommended. |
2135 | 2135 | ||
2136 | config SKY2_DEBUG | ||
2137 | bool "Debugging interface" | ||
2138 | depends on SKY2 && DEBUG_FS | ||
2139 | help | ||
2140 | This option adds the ability to dump driver state for debugging. | ||
2141 | The file debugfs/sky2/ethX displays the state of the internal | ||
2142 | transmit and receive rings. | ||
2143 | |||
2144 | If unsure, say N. | ||
2145 | |||
2136 | config SK98LIN | 2146 | config SK98LIN |
2137 | tristate "Marvell Yukon Chipset / SysKonnect SK-98xx Support (DEPRECATED)" | 2147 | tristate "Marvell Yukon Chipset / SysKonnect SK-98xx Support (DEPRECATED)" |
2138 | depends on PCI | 2148 | depends on PCI |