summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/csiostor/csio_scsi.c
diff options
context:
space:
mode:
authorNaresh Kumar Inna <naresh@chelsio.com>2013-05-17 15:50:03 +0530
committerJames Bottomley <JBottomley@Parallels.com>2013-06-04 11:16:28 -0700
commit49c1241384b599421a5e8c9f73f72e2052dd416d (patch)
tree5943b674cc0f18cefd7fc1013de387f36362f9ed /drivers/scsi/csiostor/csio_scsi.c
parent07cdc0464fb9438fd205069dc09d47b8783ad271 (diff)
downloadop-kernel-dev-49c1241384b599421a5e8c9f73f72e2052dd416d.zip
op-kernel-dev-49c1241384b599421a5e8c9f73f72e2052dd416d.tar.gz
[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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/csiostor/csio_scsi.c b/drivers/scsi/csiostor/csio_scsi.c
index ddd38e5..7494e4b 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,
}
static DEVICE_ATTR(hw_state, S_IRUGO, csio_show_hw_state, NULL);
-static DEVICE_ATTR(device_reset, S_IRUGO | S_IWUSR, NULL, csio_device_reset);
-static DEVICE_ATTR(disable_port, S_IRUGO | S_IWUSR, NULL, csio_disable_port);
+static DEVICE_ATTR(device_reset, S_IWUSR, NULL, csio_device_reset);
+static DEVICE_ATTR(disable_port, S_IWUSR, NULL, csio_disable_port);
static DEVICE_ATTR(dbg_level, S_IRUGO | S_IWUSR, csio_show_dbg_level,
csio_store_dbg_level);
OpenPOWER on IntegriCloud