mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-20 04:01:26 +00:00
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:
@@ -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"
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user