diff options
Diffstat (limited to 'drivers/scsi/csiostor/csio_init.c')
-rw-r--r-- | drivers/scsi/csiostor/csio_init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/csiostor/csio_init.c b/drivers/scsi/csiostor/csio_init.c index 17794add855c..70e1eb6d9640 100644 --- a/drivers/scsi/csiostor/csio_init.c +++ b/drivers/scsi/csiostor/csio_init.c | |||
@@ -128,10 +128,10 @@ static int csio_setup_debugfs(struct csio_hw *hw) | |||
128 | if (IS_ERR_OR_NULL(hw->debugfs_root)) | 128 | if (IS_ERR_OR_NULL(hw->debugfs_root)) |
129 | return -1; | 129 | return -1; |
130 | 130 | ||
131 | i = csio_rd_reg32(hw, MA_TARGET_MEM_ENABLE); | 131 | i = csio_rd_reg32(hw, MA_TARGET_MEM_ENABLE_A); |
132 | if (i & EDRAM0_ENABLE) | 132 | if (i & EDRAM0_ENABLE_F) |
133 | csio_add_debugfs_mem(hw, "edc0", MEM_EDC0, 5); | 133 | csio_add_debugfs_mem(hw, "edc0", MEM_EDC0, 5); |
134 | if (i & EDRAM1_ENABLE) | 134 | if (i & EDRAM1_ENABLE_F) |
135 | csio_add_debugfs_mem(hw, "edc1", MEM_EDC1, 5); | 135 | csio_add_debugfs_mem(hw, "edc1", MEM_EDC1, 5); |
136 | 136 | ||
137 | hw->chip_ops->chip_dfs_create_ext_mem(hw); | 137 | hw->chip_ops->chip_dfs_create_ext_mem(hw); |