]> bbs.cooldavid.org Git - net-next-2.6.git/commit
[SCSI] qla2xxx: Get the link data rate explicitly during device resync.
authorMichael Hernandez <michael.hernandez@qlogic.com>
Wed, 16 Dec 2009 05:29:44 +0000 (21:29 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Wed, 30 Dec 2009 17:09:45 +0000 (11:09 -0600)
commit3064ff39b8121acbd731f64d046218ebf3c2f9c0
tree8858b9af58db67c662ad3db6b6f3a8c0abd1a256
parent44214ab474671e1ab5a860954db413bce52f7e04
[SCSI] qla2xxx: Get the link data rate explicitly during device resync.

When the hba port gets logged out of the fabric, or other
such transitional state when the physical link is still present,
the driver doesn't receive a loop up asyn event (where the link
data rate currently gets set). Hence send a explicit mailbox command
to get the link rate in such conditions.
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/qla2xxx/qla_gbl.h
drivers/scsi/qla2xxx/qla_init.c
drivers/scsi/qla2xxx/qla_mbx.c