[SCSI] qla2xxx: Display proper link state for disconnected ports.
authorAndrew Vasquez <andrew.vasquez@qlogic.com>
Tue, 4 May 2010 22:01:22 +0000 (15:01 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 16 May 2010 22:21:31 +0000 (18:21 -0400)
commit62542f4b05a4515ff75320600ffeb2e7447d25fe
tree8870109f7a76588ecd184a4789d28c258c779131
parent0b9dae6aeb0e5397b426e135509046b323740fd5
[SCSI] qla2xxx: Display proper link state for disconnected ports.

With qla2xxx using mid-layer async-scsi-scanning, the link state for
disconnected port is displayed wrong. Additional check for cable presence
is considered to display proper link state.

Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/qla2xxx/qla_attr.c