diff options
author | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-01-31 01:15:52 +0000 |
---|---|---|
committer | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-01-31 01:15:52 +0000 |
commit | 83c6af7711cd7a933f7fc80d3b58b72623ad878e (patch) | |
tree | 56f29bc9bb413572ef5978721ad011bb54840720 /drivers | |
parent | bbf079c59dc90b62aa533ecca0d7ec8efd4d466b (diff) |
Put in a hack not to do scatter-gather on IP27s for now. Need to fix.
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/qlogicisp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/scsi/qlogicisp.c b/drivers/scsi/qlogicisp.c index 4a5cc9fa8..8d6984e37 100644 --- a/drivers/scsi/qlogicisp.c +++ b/drivers/scsi/qlogicisp.c @@ -922,7 +922,11 @@ int isp1020_queuecommand(Scsi_Cmnd *Cmnd, void (*done)(Scsi_Cmnd *)) num_free = QLOGICISP_REQ_QUEUE_LEN - REQ_QUEUE_DEPTH(in_ptr, out_ptr); host->can_queue = host->host_busy + num_free; +#ifndef CONFIG_SGI_IP27 host->sg_tablesize = QLOGICISP_MAX_SG(num_free); +#else + host->sg_tablesize = 0; +#endif LEAVE("isp1020_queuecommand"); |