diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-10-16 12:15:54 -0700 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-10-16 21:10:29 -0400 |
commit | 678aa1f6ac8699ad69b347a22d9580425a587c14 (patch) | |
tree | 822791eef92fa6bbecefbf156eab2df2f23f7a7a /drivers/net/skge.h | |
parent | afa151b9b13e1c3ee0ee6f5a3323e7bf0e2df436 (diff) | |
download | kernel-crypto-678aa1f6ac8699ad69b347a22d9580425a587c14.tar.gz kernel-crypto-678aa1f6ac8699ad69b347a22d9580425a587c14.tar.xz kernel-crypto-678aa1f6ac8699ad69b347a22d9580425a587c14.zip |
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 51754246d59..17caccbb768 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 }; |