diff options
author | Philip J Kelleher <pjk1939@linux.vnet.ibm.com> | 2013-06-18 15:52:21 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2013-06-19 07:52:10 -0400 |
commit | 36f988e978f81ffa415df4d77bbcd8887917f25c (patch) | |
tree | 488e28838f38bf646a1c526d7bfe60b07a82fa98 /drivers/block/rsxx/rsxx_priv.h | |
parent | 62302508f2986720ad73494dd8037dff1c4f77d1 (diff) |
rsxx: Adding in debugfs entries.
Adding debugfs entries to help with debugging and testing and
testing code.
pci_regs:
This entry will spit out all of the data stored on the BAR.
stats:
This entry will display all of the driver stats for each
DMA channel.
cram:
This will allow read/write ability to the CRAM address space
on our adapter's CPU.
Signed-off-by: Philip J Kelleher <pjk1939@linux.vnet.ibm.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/rsxx/rsxx_priv.h')
-rw-r--r-- | drivers/block/rsxx/rsxx_priv.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/block/rsxx/rsxx_priv.h b/drivers/block/rsxx/rsxx_priv.h index c968a6918b6e..5ad5055a4104 100644 --- a/drivers/block/rsxx/rsxx_priv.h +++ b/drivers/block/rsxx/rsxx_priv.h | |||
@@ -185,6 +185,8 @@ struct rsxx_cardinfo { | |||
185 | 185 | ||
186 | int n_targets; | 186 | int n_targets; |
187 | struct rsxx_dma_ctrl *ctrl; | 187 | struct rsxx_dma_ctrl *ctrl; |
188 | |||
189 | struct dentry *debugfs_dir; | ||
188 | }; | 190 | }; |
189 | 191 | ||
190 | enum rsxx_pci_regmap { | 192 | enum rsxx_pci_regmap { |
@@ -287,6 +289,7 @@ enum rsxx_creg_addr { | |||
287 | CREG_ADD_CAPABILITIES = 0x80001050, | 289 | CREG_ADD_CAPABILITIES = 0x80001050, |
288 | CREG_ADD_LOG = 0x80002000, | 290 | CREG_ADD_LOG = 0x80002000, |
289 | CREG_ADD_NUM_TARGETS = 0x80003000, | 291 | CREG_ADD_NUM_TARGETS = 0x80003000, |
292 | CREG_ADD_CRAM = 0xA0000000, | ||
290 | CREG_ADD_CONFIG = 0xB0000000, | 293 | CREG_ADD_CONFIG = 0xB0000000, |
291 | }; | 294 | }; |
292 | 295 | ||