fuse: don't wake up reserved req in fuse_conn_kill()
[linux-2.6/btrfs-unstable.git] / drivers / scsi / mac_scsi.h
blob06969b06e54bee4df0d474b69f23a2bd724cedcc
1 /*
2 * Cumana Generic NCR5380 driver defines
4 * Copyright 1993, Drew Eckhardt
5 * Visionary Computing
6 * (Unix and Linux consulting and custom programming)
7 * drew@colorado.edu
8 * +1 (303) 440-4894
10 * ALPHA RELEASE 1.
12 * For more information, please consult
14 * NCR 5380 Family
15 * SCSI Protocol Controller
16 * Databook
18 * NCR Microelectronics
19 * 1635 Aeroplaza Drive
20 * Colorado Springs, CO 80916
21 * 1+ (719) 578-3400
22 * 1+ (800) 334-5454
25 #ifndef MAC_NCR5380_H
26 #define MAC_NCR5380_H
28 #define MACSCSI_PUBLIC_RELEASE 2
30 #ifndef ASM
32 #ifndef CMD_PER_LUN
33 #define CMD_PER_LUN 2
34 #endif
36 #ifndef CAN_QUEUE
37 #define CAN_QUEUE 16
38 #endif
40 #ifndef SG_TABLESIZE
41 #define SG_TABLESIZE SG_NONE
42 #endif
44 #ifndef USE_TAGGED_QUEUING
45 #define USE_TAGGED_QUEUING 0
46 #endif
48 #include <scsi/scsicam.h>
50 #define NCR5380_implementation_fields \
51 int port, ctrl
53 #define NCR5380_local_declare() \
54 struct Scsi_Host *_instance
56 #define NCR5380_setup(instance) \
57 _instance = instance
59 #define NCR5380_read(reg) macscsi_read(_instance, reg)
60 #define NCR5380_write(reg, value) macscsi_write(_instance, reg, value)
62 #define NCR5380_pread macscsi_pread
63 #define NCR5380_pwrite macscsi_pwrite
65 #define NCR5380_intr macscsi_intr
66 #define NCR5380_queue_command macscsi_queue_command
67 #define NCR5380_abort macscsi_abort
68 #define NCR5380_bus_reset macscsi_bus_reset
69 #define NCR5380_show_info macscsi_show_info
70 #define NCR5380_write_info macscsi_write_info
72 #endif /* ndef ASM */
73 #endif /* MAC_NCR5380_H */