[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>
This commit is contained in:
committed by
James Bottomley
parent
07cdc0464f
commit
49c1241384
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user