aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/skge.h
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-10-16 15:15:54 -0400
committerJeff Garzik <jeff@garzik.org>2007-10-16 21:10:29 -0400
commit678aa1f6ac8699ad69b347a22d9580425a587c14 (patch)
tree822791eef92fa6bbecefbf156eab2df2f23f7a7a /drivers/net/skge.h
parentafa151b9b13e1c3ee0ee6f5a3323e7bf0e2df436 (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/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 {
2469 void *mem; /* PCI memory for rings */ 2469 void *mem; /* PCI memory for rings */
2470 dma_addr_t dma; 2470 dma_addr_t dma;
2471 unsigned long mem_size; 2471 unsigned long mem_size;
2472#ifdef CONFIG_SKGE_DEBUG
2473 struct dentry *debugfs;
2474#endif
2472}; 2475};
2473 2476
2474 2477