android_kernel_lge_bullhead/drivers/scsi/pm8001
Hans Verkuil ff2b0a7db9 SCSI: pm80xx: fix Adaptec 71605H hang
commit 9504a923924d663e1953f872f0a828e6454a6cfc upstream.

The IO command size is 128 bytes for these new controllers as opposed to 64
for the old 8001 controller.

The Adaptec out-of-tree driver did this correctly. After comparing the two
this turned out to be the crucial difference.

So don't hardcode the IO command size, instead use pm8001_ha->iomb_size as
that is the correct value for both old and new controllers.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Anand Kumar Santhanam <AnandKumar.Santhanam@pmcs.com>
Acked-by: Jack Wang <xjtuwjp@gmail.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-09-07 22:09:58 -07:00
..
Makefile [SCSI] pm80xx: Added SPCv/ve specific hardware functionalities and relevant changes in common files 2013-05-10 07:47:47 -07:00
pm80xx_hwi.c SCSI: pm80xx: fix Adaptec 71605H hang 2013-09-07 22:09:58 -07:00
pm80xx_hwi.h [SCSI] pm80xx: thermal, sas controller config and error handling update 2013-05-10 07:47:51 -07:00
pm8001_chips.h [SCSI] pm8001: fix endian issue with code optimization. 2012-02-29 16:54:09 -06:00
pm8001_ctl.c [SCSI] pm80xx: Firmware flash memory free fix, with addition of new memory region for it 2013-05-10 07:47:49 -07:00
pm8001_ctl.h [SCSI] pm8001: enable read HBA SAS address from VPD 2009-12-10 10:09:23 -06:00
pm8001_defs.h [SCSI] pm80xx: Firmware flash memory free fix, with addition of new memory region for it 2013-05-10 07:47:49 -07:00
pm8001_hwi.c SCSI: pm80xx: fix Adaptec 71605H hang 2013-09-07 22:09:58 -07:00
pm8001_hwi.h [SCSI] pm80xx: SPC new firmware changes for device id 0x8081 alone 2013-05-10 07:47:48 -07:00
pm8001_init.c [SCSI] sas: unify the pointlessly separated enums sas_dev_type and sas_device_type 2013-05-10 07:47:52 -07:00
pm8001_sas.c [SCSI] sas: unify the pointlessly separated enums sas_dev_type and sas_device_type 2013-05-10 07:47:52 -07:00
pm8001_sas.h [SCSI] sas: unify the pointlessly separated enums sas_dev_type and sas_device_type 2013-05-10 07:47:52 -07:00