aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_init.c
diff options
context:
space:
mode:
authorandrew.vasquez@qlogic.com <andrew.vasquez@qlogic.com>2006-03-09 17:27:39 -0500
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-03-12 10:40:13 -0500
commit4a59f71d7f0d6dd433fd509584352cdd7c62e877 (patch)
treeeef8ffac130b9dec1bf08759813084a8b6b3aafc /drivers/scsi/qla2xxx/qla_init.c
parent6f6417905cf272337a9762e1f92a1fffa651fcd3 (diff)
[SCSI] qla2xxx: Further restrict ZIO mode support.
Only support ZIO mode 6 on specific ISP types. Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_init.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index 71b6bcc181f9..ebc7c2498067 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -1659,6 +1659,8 @@ qla2x00_nvram_config(scsi_qla_host_t *ha)
1659 ~(BIT_3 | BIT_2 | BIT_1 | BIT_0); 1659 ~(BIT_3 | BIT_2 | BIT_1 | BIT_0);
1660 ha->flags.process_response_queue = 0; 1660 ha->flags.process_response_queue = 0;
1661 if (ha->zio_mode != QLA_ZIO_DISABLED) { 1661 if (ha->zio_mode != QLA_ZIO_DISABLED) {
1662 ha->zio_mode = QLA_ZIO_MODE_6;
1663
1662 DEBUG2(printk("scsi(%ld): ZIO mode %d enabled; timer " 1664 DEBUG2(printk("scsi(%ld): ZIO mode %d enabled; timer "
1663 "delay (%d us).\n", ha->host_no, ha->zio_mode, 1665 "delay (%d us).\n", ha->host_no, ha->zio_mode,
1664 ha->zio_timer * 100)); 1666 ha->zio_timer * 100));
@@ -3474,6 +3476,8 @@ qla24xx_nvram_config(scsi_qla_host_t *ha)
3474 ~(BIT_3 | BIT_2 | BIT_1 | BIT_0)); 3476 ~(BIT_3 | BIT_2 | BIT_1 | BIT_0));
3475 ha->flags.process_response_queue = 0; 3477 ha->flags.process_response_queue = 0;
3476 if (ha->zio_mode != QLA_ZIO_DISABLED) { 3478 if (ha->zio_mode != QLA_ZIO_DISABLED) {
3479 ha->zio_mode = QLA_ZIO_MODE_6;
3480
3477 DEBUG2(printk("scsi(%ld): ZIO mode %d enabled; timer delay " 3481 DEBUG2(printk("scsi(%ld): ZIO mode %d enabled; timer delay "
3478 "(%d us).\n", ha->host_no, ha->zio_mode, 3482 "(%d us).\n", ha->host_no, ha->zio_mode,
3479 ha->zio_timer * 100)); 3483 ha->zio_timer * 100));