diff options
author | nickcheng(鄭守謙 <nick.cheng@areca.com.tw> | 2007-06-14 23:43:32 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-06-17 15:49:01 -0400 |
commit | a1f6e0211b71a6c3ff401ad1d345ab024d0c6f01 (patch) | |
tree | 779c34c385f962a5d68429b90d22a2b7c7b43f6f /drivers/scsi/arcmsr/arcmsr.h | |
parent | 727eead62e22cf0a9498cf34e075c08269402978 (diff) |
[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>
Diffstat (limited to 'drivers/scsi/arcmsr/arcmsr.h')
-rw-r--r-- | drivers/scsi/arcmsr/arcmsr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/arcmsr/arcmsr.h b/drivers/scsi/arcmsr/arcmsr.h index aff96db9ccf6..f0b8bf4534f0 100644 --- a/drivers/scsi/arcmsr/arcmsr.h +++ b/drivers/scsi/arcmsr/arcmsr.h | |||
@@ -48,9 +48,10 @@ struct class_device_attribute; | |||
48 | 48 | ||
49 | #define ARCMSR_MAX_OUTSTANDING_CMD 256 | 49 | #define ARCMSR_MAX_OUTSTANDING_CMD 256 |
50 | #define ARCMSR_MAX_FREECCB_NUM 288 | 50 | #define ARCMSR_MAX_FREECCB_NUM 288 |
51 | #define ARCMSR_DRIVER_VERSION "Driver Version 1.20.00.13" | 51 | #define ARCMSR_DRIVER_VERSION "Driver Version 1.20.00.14" |
52 | #define ARCMSR_SCSI_INITIATOR_ID 255 | 52 | #define ARCMSR_SCSI_INITIATOR_ID 255 |
53 | #define ARCMSR_MAX_XFER_SECTORS 512 | 53 | #define ARCMSR_MAX_XFER_SECTORS 512 |
54 | #define ARCMSR_MAX_XFER_SECTORS_B 4096 | ||
54 | #define ARCMSR_MAX_TARGETID 17 | 55 | #define ARCMSR_MAX_TARGETID 17 |
55 | #define ARCMSR_MAX_TARGETLUN 8 | 56 | #define ARCMSR_MAX_TARGETLUN 8 |
56 | #define ARCMSR_MAX_CMD_PERLUN ARCMSR_MAX_OUTSTANDING_CMD | 57 | #define ARCMSR_MAX_CMD_PERLUN ARCMSR_MAX_OUTSTANDING_CMD |
@@ -469,4 +470,3 @@ extern void arcmsr_post_Qbuffer(struct AdapterControlBlock *acb); | |||
469 | extern struct class_device_attribute *arcmsr_host_attrs[]; | 470 | extern struct class_device_attribute *arcmsr_host_attrs[]; |
470 | extern int arcmsr_alloc_sysfs_attr(struct AdapterControlBlock *acb); | 471 | extern int arcmsr_alloc_sysfs_attr(struct AdapterControlBlock *acb); |
471 | void arcmsr_free_sysfs_attr(struct AdapterControlBlock *acb); | 472 | void arcmsr_free_sysfs_attr(struct AdapterControlBlock *acb); |
472 | |||