[SCSI] areca: improve driver stability and compatibility
authornickcheng(鄭守謙 <nick.cheng@areca.com.tw>
Fri, 15 Jun 2007 03:43:32 +0000 (11:43 +0800)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sun, 17 Jun 2007 19:49:01 +0000 (14:49 -0500)
commita1f6e0211b71a6c3ff401ad1d345ab024d0c6f01
tree779c34c385f962a5d68429b90d22a2b7c7b43f6f
parent727eead62e22cf0a9498cf34e075c08269402978
[SCSI] areca: improve driver stability and compatibility

Description:

    1. Implement PCI-Express error recovery function and AER
       capability, especially thanks to Yanmin Zhang's openhanded help
       about AER

    2. Implement the selection of ARCMSR_MAX_XFER_SECTORS_B=4096 if
       firmware version is latter than 1.42

    3. Add arcmsr_done4_abort_postqueue in arcmsr_iop_reset function
       to improve the stability as hot-unplug/plug

    4. Modify the ISR, arcmsr_interrupt routine, to prevent the
       inconsistency with sg_mod driver if application directly calls
       the arcmsr driver w/o passing through scsi midlayer

Signed-off-by: Nick Cheng <nick.cheng@areca.com.tw>
[jejb: unused variable removal]
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/arcmsr/arcmsr.h
drivers/scsi/arcmsr/arcmsr_hba.c