diff options
author | Luo Jiaxing <luojiaxing@huawei.com> | 2019-10-24 22:08:22 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-10-24 21:31:15 -0400 |
commit | 905ab01faf5fc81ba2fc46dddcd21ad5a2dd137b (patch) | |
tree | 551f464ffa95af73c7138f74d92a2e12f4279896 /drivers/scsi/hisi_sas/hisi_sas.h | |
parent | a70e33eae363e6f3e2ad9498daaccd231790f7f5 (diff) | |
download | linux-905ab01faf5fc81ba2fc46dddcd21ad5a2dd137b.tar.bz2 |
scsi: hisi_sas: Add module parameter for debugfs dump count
We still only use dump index #0 however.
Link: https://lore.kernel.org/r/1571926105-74636-16-git-send-email-john.garry@huawei.com
Signed-off-by: Luo Jiaxing <luojiaxing@huawei.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/hisi_sas/hisi_sas.h')
-rw-r--r-- | drivers/scsi/hisi_sas/hisi_sas.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/hisi_sas/hisi_sas.h b/drivers/scsi/hisi_sas/hisi_sas.h index b4c6bec4b92c..bdd4aa7ed730 100644 --- a/drivers/scsi/hisi_sas/hisi_sas.h +++ b/drivers/scsi/hisi_sas/hisi_sas.h @@ -598,6 +598,7 @@ struct hisi_sas_slot_dif_buf_table { extern struct scsi_transport_template *hisi_sas_stt; extern bool hisi_sas_debugfs_enable; +extern u32 hisi_sas_debugfs_dump_count; extern struct dentry *hisi_sas_debugfs_dir; extern void hisi_sas_stop_phys(struct hisi_hba *hisi_hba); |