diff options
author | Santosh Vernekar <santosh.vernekar@qlogic.com> | 2009-08-25 20:36:16 +0200 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-09-12 16:35:20 +0200 |
commit | 8474f3a02a18e18459663ad88951822c62a45068 (patch) | |
tree | b002647f04d0a2711d84c0f9dafba754a3ce36f7 /drivers/scsi/qla2xxx/qla_def.h | |
parent | [SCSI] fcoe: flush per-cpu thread work when destroying interface (diff) | |
download | linux-8474f3a02a18e18459663ad88951822c62a45068.tar.xz linux-8474f3a02a18e18459663ad88951822c62a45068.zip |
[SCSI] qla2xxx: Correctly set FCF_TAPE_PRESENT flag based on scsi-device.
In fabric-login based on iop BIT_8 firmware notifies presence of
a FCP2 device and not necessarily a TAPE device. So instead of
setting FCF_TAPE_PRESENT flag there we set it using
scsi_device->type after mid-layer scan recognises "type" of the
device.
It also adds a new flag FCF_FCP2_DEVICE for any future use.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_def.h')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_def.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h index efdfb1eb26ba..215061861794 100644 --- a/drivers/scsi/qla2xxx/qla_def.h +++ b/drivers/scsi/qla2xxx/qla_def.h @@ -1590,6 +1590,7 @@ typedef struct fc_port { #define FCF_FABRIC_DEVICE BIT_0 #define FCF_LOGIN_NEEDED BIT_1 #define FCF_TAPE_PRESENT BIT_2 +#define FCF_FCP2_DEVICE BIT_3 /* No loop ID flag. */ #define FC_NO_LOOP_ID 0x1000 |