patch-2.3.32 linux/drivers/acorn/scsi/powertec.c
Next file: linux/drivers/ap1000/ap.c
Previous file: linux/drivers/acorn/scsi/fas216.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Mon Dec 13 16:26:27 1999
- Orig file:
v2.3.31/linux/drivers/acorn/scsi/powertec.c
- Orig date:
Thu Nov 11 20:11:32 1999
diff -u --recursive --new-file v2.3.31/linux/drivers/acorn/scsi/powertec.c linux/drivers/acorn/scsi/powertec.c
@@ -256,6 +256,9 @@
host->dma_channel = ecs[count]->dma;
info = (PowerTecScsi_Info *)host->hostdata;
+ if (host->dma_channel != NO_DMA)
+ set_dma_speed(host->dma_channel, 180);
+
info->control.term_port = host->io_port + POWERTEC_TERM_CONTROL;
info->control.terms = term[count] ? POWERTEC_TERM_ENABLE : 0;
powertecscsi_terminator_ctl(host, info->control.terms);
@@ -268,7 +271,7 @@
info->info.ifcfg.select_timeout = 255;
info->info.ifcfg.asyncperiod = POWERTEC_ASYNC_PERIOD;
info->info.ifcfg.sync_max_depth = POWERTEC_SYNC_DEPTH;
- info->info.ifcfg.cntl3 = /*CNTL3_BS8 |*/ CNTL3_FASTSCSI | CNTL3_FASTCLK;
+ info->info.ifcfg.cntl3 = CNTL3_BS8 | CNTL3_FASTSCSI | CNTL3_FASTCLK;
info->info.ifcfg.disconnect_ok = 1;
info->info.ifcfg.wide_max_size = 0;
info->info.dma.setup = powertecscsi_dma_setup;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)