diff options
author | Naresh Kumar Inna <naresh@chelsio.com> | 2013-05-17 06:20:03 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-06-04 14:16:28 -0400 |
commit | 49c1241384b599421a5e8c9f73f72e2052dd416d (patch) | |
tree | 5943b674cc0f18cefd7fc1013de387f36362f9ed /drivers/scsi/csiostor/csio_scsi.c | |
parent | 07cdc0464fb9438fd205069dc09d47b8783ad271 (diff) |
[SCSI] csiostor: Retain default adapter configuration in absence of config file.
- Retain firmware defined configuration settings in the absence of
user-provided configuration by eliminating the global RSS and the
PF/VF capabilities mailbox commands.
- Remove S_IRUGO from sysfs parameters that don't have 'show'
functionality.
Signed-off-by: Naresh Kumar Inna <naresh@chelsio.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/csiostor/csio_scsi.c')
-rw-r--r-- | drivers/scsi/csiostor/csio_scsi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/csiostor/csio_scsi.c b/drivers/scsi/csiostor/csio_scsi.c index ddd38e5eb0e7..7494e4bc69cc 100644 --- a/drivers/scsi/csiostor/csio_scsi.c +++ b/drivers/scsi/csiostor/csio_scsi.c | |||
@@ -1479,8 +1479,8 @@ csio_store_dbg_level(struct device *dev, | |||
1479 | } | 1479 | } |
1480 | 1480 | ||
1481 | static DEVICE_ATTR(hw_state, S_IRUGO, csio_show_hw_state, NULL); | 1481 | static DEVICE_ATTR(hw_state, S_IRUGO, csio_show_hw_state, NULL); |
1482 | static DEVICE_ATTR(device_reset, S_IRUGO | S_IWUSR, NULL, csio_device_reset); | 1482 | static DEVICE_ATTR(device_reset, S_IWUSR, NULL, csio_device_reset); |
1483 | static DEVICE_ATTR(disable_port, S_IRUGO | S_IWUSR, NULL, csio_disable_port); | 1483 | static DEVICE_ATTR(disable_port, S_IWUSR, NULL, csio_disable_port); |
1484 | static DEVICE_ATTR(dbg_level, S_IRUGO | S_IWUSR, csio_show_dbg_level, | 1484 | static DEVICE_ATTR(dbg_level, S_IRUGO | S_IWUSR, csio_show_dbg_level, |
1485 | csio_store_dbg_level); | 1485 | csio_store_dbg_level); |
1486 | 1486 | ||