2 * Cumana Generic NCR5380 driver defines
4 * Copyright 1993, Drew Eckhardt
6 * (Unix and Linux consulting and custom programming)
12 * For more information, please consult
15 * SCSI Protocol Controller
18 * NCR Microelectronics
19 * 1635 Aeroplaza Drive
20 * Colorado Springs, CO 80916
26 * $Log: cumana_NCR5380.h,v $
32 #define MACSCSI_PUBLIC_RELEASE 2
45 #define SG_TABLESIZE SG_NONE
48 #ifndef USE_TAGGED_QUEUING
49 #define USE_TAGGED_QUEUING 0
52 #include <scsi/scsicam.h>
56 #define NCR5380_implementation_fields \
59 #define NCR5380_local_declare() \
60 struct Scsi_Host *_instance
62 #define NCR5380_setup(instance) \
65 #define NCR5380_read(reg) macscsi_read(_instance, reg)
66 #define NCR5380_write(reg, value) macscsi_write(_instance, reg, value)
68 #define NCR5380_pread macscsi_pread
69 #define NCR5380_pwrite macscsi_pwrite
71 #define NCR5380_intr macscsi_intr
72 #define NCR5380_queue_command macscsi_queue_command
73 #define NCR5380_abort macscsi_abort
74 #define NCR5380_bus_reset macscsi_bus_reset
75 #define NCR5380_proc_info macscsi_proc_info
77 #define BOARD_NORMAL 0
78 #define BOARD_NCR53C400 1
80 #endif /* ndef HOSTS_C */
82 #endif /* MAC_NCR5380_H */