2 * DTC controller, taken from T128 driver by...
3 * Copyright 1993, Drew Eckhardt
5 * (Unix and Linux consulting and custom programming)
13 #define NCR5380_implementation_fields \
16 #define DTC_address(reg) \
17 (((struct NCR5380_hostdata *)shost_priv(instance))->base + DTC_5380_OFFSET + reg)
19 #define NCR5380_read(reg) (readb(DTC_address(reg)))
20 #define NCR5380_write(reg, value) (writeb(value, DTC_address(reg)))
22 #define NCR5380_dma_xfer_len(instance, cmd, phase) \
24 #define NCR5380_dma_recv_setup dtc_pread
25 #define NCR5380_dma_send_setup dtc_pwrite
26 #define NCR5380_dma_residual(instance) (0)
28 #define NCR5380_intr dtc_intr
29 #define NCR5380_queue_command dtc_queue_command
30 #define NCR5380_abort dtc_abort
31 #define NCR5380_bus_reset dtc_bus_reset
32 #define NCR5380_info dtc_info
34 #define NCR5380_io_delay(x) udelay(x)
37 1001 1100 0000 0000 */
39 #define DTC_IRQS 0x9c00
42 #endif /* DTC3280_H */