[SCSI] qla2xxx: Access the proper 'physical' port in FC-transport callbacks.
authorSeokmann Ju <seokmann.ju@qlogic.com>
Thu, 31 Jan 2008 20:33:52 +0000 (12:33 -0800)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 8 Feb 2008 00:02:40 +0000 (18:02 -0600)
commitda4541b63bbe9a945d7bbc1105f2deacc42ef195
tree6b99d11f9e5b6379a2bad3fc557cd12ce3aa0121
parent99363ef81cc7d0bab275304b8d34cf71d189cdcc
[SCSI] qla2xxx: Access the proper 'physical' port in FC-transport callbacks.

 For following fc_host specific attributes, vports rely on the pport.
 So, this patch changed way to access the data for those attributes so that
 they can access pport's.
 - get_host_speed (speed)
 - get_host_port_state (port_state)
 - get_host_port_type (port_type)
 - get_fc_host_stats

Also, added PORT_SPEED_8GB case in the speed attribute for 8Gb HBAs.

Signed-Off-by: Seokmann Ju <seokmann.ju@qlogic.com>
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/qla2xxx/qla_attr.c
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_inline.h