summaryrefslogtreecommitdiff
path: root/drivers/scsi/t128.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/t128.h')
-rw-r--r--drivers/scsi/t128.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/scsi/t128.h b/drivers/scsi/t128.h
index dd16d8549..c95bcd839 100644
--- a/drivers/scsi/t128.h
+++ b/drivers/scsi/t128.h
@@ -77,14 +77,17 @@
#define NCR5380_write(reg, value) writeb((value),(T128_address(reg)))
#define NCR5380_dma_xfer_len(instance, cmd, phase) (cmd->transfersize)
+#define NCR5380_dma_recv_setup t128_pread
+#define NCR5380_dma_send_setup t128_pwrite
+#define NCR5380_dma_residual(instance) (0)
#define NCR5380_intr t128_intr
#define NCR5380_queue_command t128_queue_command
#define NCR5380_abort t128_abort
#define NCR5380_bus_reset t128_bus_reset
#define NCR5380_info t128_info
-#define NCR5380_show_info t128_show_info
-#define NCR5380_write_info t128_write_info
+
+#define NCR5380_io_delay(x) udelay(x)
/* 15 14 12 10 7 5 3
1101 0100 1010 1000 */