[SCSI] arcmsr: Support HW reset for EH and polling scheme for scsi device
authorNick Cheng <nick.cheng@areca.com.tw>
Mon, 17 May 2010 03:22:42 +0000 (11:22 +0800)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 25 May 2010 15:20:41 +0000 (10:20 -0500)
commit36b83ded062a7416bb9184f4d6c537ad99571f4d
treeb3c02c43dea7476ae443fc4a81cba4f63072b714
parent7873ca4e4401f0ecd8868bf1543113467e6bae61
[SCSI] arcmsr: Support HW reset for EH and polling scheme for scsi device

1. To support instantaneous report for SCSI device existing by periodic
   polling
2. In arcmsr_iop_xfer(), inform AP of F/W's deadlock state to prevent
   endless waiting
3. To block the coming SCSI command while the driver is handling bus reset
4. To support HW reset in bus reset error handler

Signed-off-by: Nick Cheng <nick.cheng@areca.com.tw>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/arcmsr/arcmsr.h
drivers/scsi/arcmsr/arcmsr_attr.c
drivers/scsi/arcmsr/arcmsr_hba.c