2 * DTC controller, taken from T128 driver by...
3 * Copyright 1993, Drew Eckhardt
5 * (Unix and Linux consulting and custom programming)
21 #define NCR5380_implementation_fields \
24 #define NCR5380_local_declare() \
27 #define NCR5380_setup(instance) \
28 base = ((struct NCR5380_hostdata *)(instance)->hostdata)->base
30 #define DTC_address(reg) (base + DTC_5380_OFFSET + reg)
32 #define NCR5380_read(reg) (readb(DTC_address(reg)))
33 #define NCR5380_write(reg, value) (writeb(value, DTC_address(reg)))
35 #define NCR5380_intr dtc_intr
36 #define NCR5380_queue_command dtc_queue_command
37 #define NCR5380_abort dtc_abort
38 #define NCR5380_bus_reset dtc_bus_reset
39 #define NCR5380_info dtc_info
40 #define NCR5380_show_info dtc_show_info
41 #define NCR5380_write_info dtc_write_info
44 1001 1100 0000 0000 */
46 #define DTC_IRQS 0x9c00
49 #endif /* DTC3280_H */
This page took 0.053067 seconds and 6 git commands to generate.