Follow up commit for r3422

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3423 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2011-04-27 23:29:46 +00:00
parent 30a78b2881
commit 7311aeced3
2 changed files with 13 additions and 3 deletions

View File

@@ -51,7 +51,7 @@
* Must be changed on any change in any target visible interfaces or
* data in the initiator
*/
#define QLA2X_INITIATOR_MAGIC 57224
#define QLA2X_INITIATOR_MAGIC 57225
#define QLA2X_INI_MODE_STR_EXCLUSIVE "exclusive"
#define QLA2X_INI_MODE_STR_DISABLED "disabled"

View File

@@ -1073,7 +1073,12 @@ qla2x00_wait_for_passthru_completion(struct scsi_qla_host *ha)
}
static ssize_t
qla2x00_sysfs_read_ct(struct kobject *kobj,
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 35)
qla2x00_sysfs_read_ct(
#else
qla2x00_sysfs_read_ct(struct file *file,
#endif
struct kobject *kobj,
struct bin_attribute *bin_attr,
char *buf,
loff_t off, size_t count)
@@ -1096,7 +1101,12 @@ qla2x00_sysfs_read_ct(struct kobject *kobj,
}
static ssize_t
qla2x00_sysfs_write_ct(struct kobject *kobj,
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 35)
qla2x00_sysfs_write_ct(
#else
qla2x00_sysfs_write_ct(struct file *file,
#endif
struct kobject *kobj,
struct bin_attribute *bin_attr,
char *buf,
loff_t off, size_t count)