summaryrefslogtreecommitdiffstats
path: root/drivers/net/skge.h
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-10-16 12:15:54 -0700
committerJeff Garzik <jeff@garzik.org>2007-10-16 21:10:29 -0400
commit678aa1f6ac8699ad69b347a22d9580425a587c14 (patch)
tree822791eef92fa6bbecefbf156eab2df2f23f7a7a /drivers/net/skge.h
parentafa151b9b13e1c3ee0ee6f5a3323e7bf0e2df436 (diff)
downloadlinux-678aa1f6ac8699ad69b347a22d9580425a587c14.tar.bz2
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/skge.h')
-rw-r--r--drivers/net/skge.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/skge.h b/drivers/net/skge.h
index 51754246d59d..17caccbb7685 100644
--- a/drivers/net/skge.h
+++ b/drivers/net/skge.h
@@ -2469,6 +2469,9 @@ struct skge_port {
void *mem; /* PCI memory for rings */
dma_addr_t dma;
unsigned long mem_size;
+#ifdef CONFIG_SKGE_DEBUG
+ struct dentry *debugfs;
+#endif
};