diff options
author | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2008-03-21 17:25:43 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-04-07 13:19:01 -0400 |
commit | be3cb3d84bb8dffecb7c5570355866075caa7e95 (patch) | |
tree | 2a9278e3d094bbccbf172e07ee2758eca483a400 /drivers/scsi/wd33c93.c | |
parent | 7748369f49d428e558c519ed344d3005d38347b7 (diff) |
[SCSI] WD33C93: let platform stub override no_sync/fast/dma_mode
SGI machines with WD33C93 allow usage of burst mode DMA, which increases
performance noticable. To make this selectable by the sgiwd93 stub,
setting the values for no_sync, fast and dma_mode has been moved to the
individual platform stubs.
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/wd33c93.c')
-rw-r--r-- | drivers/scsi/wd33c93.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/scsi/wd33c93.c b/drivers/scsi/wd33c93.c index f286c37da7e0..5fda881c2470 100644 --- a/drivers/scsi/wd33c93.c +++ b/drivers/scsi/wd33c93.c | |||
@@ -1973,10 +1973,7 @@ wd33c93_init(struct Scsi_Host *instance, const wd33c93_regs regs, | |||
1973 | hostdata->incoming_ptr = 0; | 1973 | hostdata->incoming_ptr = 0; |
1974 | hostdata->outgoing_len = 0; | 1974 | hostdata->outgoing_len = 0; |
1975 | hostdata->default_sx_per = DEFAULT_SX_PER; | 1975 | hostdata->default_sx_per = DEFAULT_SX_PER; |
1976 | hostdata->no_sync = 0xff; /* sync defaults to off */ | ||
1977 | hostdata->no_dma = 0; /* default is DMA enabled */ | 1976 | hostdata->no_dma = 0; /* default is DMA enabled */ |
1978 | hostdata->fast = 0; /* default is Fast SCSI transfers disabled */ | ||
1979 | hostdata->dma_mode = CTRL_DMA; /* default is Single Byte DMA */ | ||
1980 | 1977 | ||
1981 | #ifdef PROC_INTERFACE | 1978 | #ifdef PROC_INTERFACE |
1982 | hostdata->proc = PR_VERSION | PR_INFO | PR_STATISTICS | | 1979 | hostdata->proc = PR_VERSION | PR_INFO | PR_STATISTICS | |