diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-10-16 19:15:54 (GMT) |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-10-17 01:10:29 (GMT) |
commit | 678aa1f6ac8699ad69b347a22d9580425a587c14 (patch) | |
tree | 822791eef92fa6bbecefbf156eab2df2f23f7a7a /drivers/net/skge.h | |
parent | afa151b9b13e1c3ee0ee6f5a3323e7bf0e2df436 (diff) | |
download | linux-fsl-qoriq-678aa1f6ac8699ad69b347a22d9580425a587c14.tar.xz |
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/skge.h b/drivers/net/skge.h index 5175424..17caccb 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 }; |