[SCSI] qla2xxx: Use port number to compute nvram/vpd parameter offsets.
authorAnirban Chakraborty <anirban.chakraborty@qlogic.com>
Tue, 7 Apr 2009 05:33:50 +0000 (22:33 -0700)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Wed, 20 May 2009 22:21:11 +0000 (17:21 -0500)
commite5b68a61e15ca8e200c60cfd4dbe1818e6beb4e1
tree3efb29e4cca6868e7a5775589d877fb6e30639ac
parente337d9070e5821e7c8e5973679bdd34376263bd1
[SCSI] qla2xxx: Use port number to compute nvram/vpd parameter offsets.

Read adapter's physical port number from interrupt pin register
and use it instead of pci function number to offset into the
nvram to obtain the port's configuration parameters.

Signed-off-by: Anirban Chakraborty <anirban.chakraborty@qlogic.com>
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_init.c
drivers/scsi/qla2xxx/qla_os.c
drivers/scsi/qla2xxx/qla_sup.c