[SCSI] qla2xxx: Addition of shutdown callback handler.
authorMadhuranath Iyengar <Madhu.Iyengar@qlogic.com>
Fri, 15 Oct 2010 18:27:46 +0000 (11:27 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Mon, 25 Oct 2010 21:03:18 +0000 (16:03 -0500)
commite30d1756480dc5d139458b140b69873cdb10119f
treea3177311cd8c687c781e70f9b19774c79954bdd1
parent339aa70ecb3d0ef733f4d0393e2b5f6aea617839
[SCSI] qla2xxx: Addition of shutdown callback handler.

This patch adds a shutdown handler to qla2xxx driver to make sure that all
DMA and firmware activities are stopped, and any associated driver resources
are released. The need for this handler arose when executing kexec in specific
environments caused the data of the 2nd kernel to be corrupted, due to DMA
activities.

Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/qla2xxx/qla_init.c
drivers/scsi/qla2xxx/qla_os.c