diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2014-11-12 00:11:54 -0500 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-11-20 03:11:06 -0500 |
commit | 997acab7d593913eaa0606ff257079efcfcb146d (patch) | |
tree | 239997e829da105725a82d12d981c2ae9b6d4189 /drivers | |
parent | 76f13b9321ec8f9550cd1557ed28ac6ae91e612c (diff) |
ncr5380: Remove redundant AUTOSENSE macro
Every NCR5380 driver sets AUTOSENSE so it need not be optional (and the
mid-layer expects it). Remove this redundant macro to improve readability.
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Tested-by: Michael Schmitz <schmitzmic@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/NCR5380.c | 14 | ||||
-rw-r--r-- | drivers/scsi/NCR5380.h | 5 | ||||
-rw-r--r-- | drivers/scsi/arm/cumana_1.c | 1 | ||||
-rw-r--r-- | drivers/scsi/arm/oak.c | 1 | ||||
-rw-r--r-- | drivers/scsi/atari_NCR5380.c | 15 | ||||
-rw-r--r-- | drivers/scsi/atari_scsi.c | 1 | ||||
-rw-r--r-- | drivers/scsi/dmx3191d.c | 1 | ||||
-rw-r--r-- | drivers/scsi/dtc.c | 4 | ||||
-rw-r--r-- | drivers/scsi/g_NCR5380.c | 2 | ||||
-rw-r--r-- | drivers/scsi/mac_scsi.c | 2 | ||||
-rw-r--r-- | drivers/scsi/pas16.c | 4 | ||||
-rw-r--r-- | drivers/scsi/sun3_NCR5380.c | 16 | ||||
-rw-r--r-- | drivers/scsi/sun3_scsi.c | 2 | ||||
-rw-r--r-- | drivers/scsi/t128.c | 4 |
14 files changed, 3 insertions, 69 deletions
diff --git a/drivers/scsi/NCR5380.c b/drivers/scsi/NCR5380.c index 0a8786acddc3..e17e64e3e0d9 100644 --- a/drivers/scsi/NCR5380.c +++ b/drivers/scsi/NCR5380.c | |||
@@ -627,9 +627,6 @@ NCR5380_print_options(struct Scsi_Host *instance) | |||
627 | #ifdef AUTOPROBE_IRQ | 627 | #ifdef AUTOPROBE_IRQ |
628 | " AUTOPROBE_IRQ" | 628 | " AUTOPROBE_IRQ" |
629 | #endif | 629 | #endif |
630 | #ifdef AUTOSENSE | ||
631 | " AUTOSENSE" | ||
632 | #endif | ||
633 | #ifdef DIFFERENTIAL | 630 | #ifdef DIFFERENTIAL |
634 | " DIFFERENTIAL" | 631 | " DIFFERENTIAL" |
635 | #endif | 632 | #endif |
@@ -857,12 +854,6 @@ static int NCR5380_init(struct Scsi_Host *instance, int flags) | |||
857 | hostdata->host = instance; | 854 | hostdata->host = instance; |
858 | hostdata->time_expires = 0; | 855 | hostdata->time_expires = 0; |
859 | 856 | ||
860 | #ifndef AUTOSENSE | ||
861 | if ((instance->cmd_per_lun > 1) || instance->can_queue > 1) | ||
862 | printk(KERN_WARNING "scsi%d : WARNING : support for multiple outstanding commands enabled\n" " without AUTOSENSE option, contingent allegiance conditions may\n" | ||
863 | " be incorrectly cleared.\n", instance->host_no); | ||
864 | #endif /* def AUTOSENSE */ | ||
865 | |||
866 | NCR5380_write(INITIATOR_COMMAND_REG, ICR_BASE); | 857 | NCR5380_write(INITIATOR_COMMAND_REG, ICR_BASE); |
867 | NCR5380_write(MODE_REG, MR_BASE); | 858 | NCR5380_write(MODE_REG, MR_BASE); |
868 | NCR5380_write(TARGET_COMMAND_REG, 0); | 859 | NCR5380_write(TARGET_COMMAND_REG, 0); |
@@ -2260,7 +2251,6 @@ static void NCR5380_information_transfer(struct Scsi_Host *instance) { | |||
2260 | else if (status_byte(cmd->SCp.Status) != GOOD) | 2251 | else if (status_byte(cmd->SCp.Status) != GOOD) |
2261 | cmd->result = (cmd->result & 0x00ffff) | (DID_ERROR << 16); | 2252 | cmd->result = (cmd->result & 0x00ffff) | (DID_ERROR << 16); |
2262 | 2253 | ||
2263 | #ifdef AUTOSENSE | ||
2264 | if ((cmd->cmnd[0] == REQUEST_SENSE) && | 2254 | if ((cmd->cmnd[0] == REQUEST_SENSE) && |
2265 | hostdata->ses.cmd_len) { | 2255 | hostdata->ses.cmd_len) { |
2266 | scsi_eh_restore_cmnd(cmd, &hostdata->ses); | 2256 | scsi_eh_restore_cmnd(cmd, &hostdata->ses); |
@@ -2277,9 +2267,7 @@ static void NCR5380_information_transfer(struct Scsi_Host *instance) { | |||
2277 | hostdata->issue_queue; | 2267 | hostdata->issue_queue; |
2278 | hostdata->issue_queue = (Scsi_Cmnd *) cmd; | 2268 | hostdata->issue_queue = (Scsi_Cmnd *) cmd; |
2279 | dprintk(NDEBUG_QUEUES, "scsi%d : REQUEST SENSE added to head of issue queue\n", instance->host_no); | 2269 | dprintk(NDEBUG_QUEUES, "scsi%d : REQUEST SENSE added to head of issue queue\n", instance->host_no); |
2280 | } else | 2270 | } else { |
2281 | #endif /* def AUTOSENSE */ | ||
2282 | { | ||
2283 | collect_stats(hostdata, cmd); | 2271 | collect_stats(hostdata, cmd); |
2284 | cmd->scsi_done(cmd); | 2272 | cmd->scsi_done(cmd); |
2285 | } | 2273 | } |
diff --git a/drivers/scsi/NCR5380.h b/drivers/scsi/NCR5380.h index b36e3b4a9d43..f09d560fb6b2 100644 --- a/drivers/scsi/NCR5380.h +++ b/drivers/scsi/NCR5380.h | |||
@@ -25,10 +25,7 @@ | |||
25 | #define NCR5380_H | 25 | #define NCR5380_H |
26 | 26 | ||
27 | #include <linux/interrupt.h> | 27 | #include <linux/interrupt.h> |
28 | |||
29 | #ifdef AUTOSENSE | ||
30 | #include <scsi/scsi_eh.h> | 28 | #include <scsi/scsi_eh.h> |
31 | #endif | ||
32 | 29 | ||
33 | #define NCR5380_PUBLIC_RELEASE 7 | 30 | #define NCR5380_PUBLIC_RELEASE 7 |
34 | #define NCR53C400_PUBLIC_RELEASE 2 | 31 | #define NCR53C400_PUBLIC_RELEASE 2 |
@@ -281,9 +278,7 @@ struct NCR5380_hostdata { | |||
281 | unsigned pendingr; | 278 | unsigned pendingr; |
282 | unsigned pendingw; | 279 | unsigned pendingw; |
283 | #endif | 280 | #endif |
284 | #ifdef AUTOSENSE | ||
285 | struct scsi_eh_save ses; | 281 | struct scsi_eh_save ses; |
286 | #endif | ||
287 | }; | 282 | }; |
288 | 283 | ||
289 | #ifdef __KERNEL__ | 284 | #ifdef __KERNEL__ |
diff --git a/drivers/scsi/arm/cumana_1.c b/drivers/scsi/arm/cumana_1.c index 8ef810a4476e..8266039b60ee 100644 --- a/drivers/scsi/arm/cumana_1.c +++ b/drivers/scsi/arm/cumana_1.c | |||
@@ -18,7 +18,6 @@ | |||
18 | 18 | ||
19 | #include <scsi/scsicam.h> | 19 | #include <scsi/scsicam.h> |
20 | 20 | ||
21 | #define AUTOSENSE | ||
22 | #define PSEUDO_DMA | 21 | #define PSEUDO_DMA |
23 | 22 | ||
24 | #define CUMANASCSI_PUBLIC_RELEASE 1 | 23 | #define CUMANASCSI_PUBLIC_RELEASE 1 |
diff --git a/drivers/scsi/arm/oak.c b/drivers/scsi/arm/oak.c index 5ba3db605000..f62cc904a47b 100644 --- a/drivers/scsi/arm/oak.c +++ b/drivers/scsi/arm/oak.c | |||
@@ -17,7 +17,6 @@ | |||
17 | #include "../scsi.h" | 17 | #include "../scsi.h" |
18 | #include <scsi/scsi_host.h> | 18 | #include <scsi/scsi_host.h> |
19 | 19 | ||
20 | #define AUTOSENSE | ||
21 | /*#define PSEUDO_DMA*/ | 20 | /*#define PSEUDO_DMA*/ |
22 | 21 | ||
23 | #define OAKSCSI_PUBLIC_RELEASE 1 | 22 | #define OAKSCSI_PUBLIC_RELEASE 1 |
diff --git a/drivers/scsi/atari_NCR5380.c b/drivers/scsi/atari_NCR5380.c index 3cfd39c583ad..f69d36327a7d 100644 --- a/drivers/scsi/atari_NCR5380.c +++ b/drivers/scsi/atari_NCR5380.c | |||
@@ -683,9 +683,6 @@ static inline void NCR5380_all_init(void) | |||
683 | static void __init NCR5380_print_options(struct Scsi_Host *instance) | 683 | static void __init NCR5380_print_options(struct Scsi_Host *instance) |
684 | { | 684 | { |
685 | printk(" generic options" | 685 | printk(" generic options" |
686 | #ifdef AUTOSENSE | ||
687 | " AUTOSENSE" | ||
688 | #endif | ||
689 | #ifdef REAL_DMA | 686 | #ifdef REAL_DMA |
690 | " REAL DMA" | 687 | " REAL DMA" |
691 | #endif | 688 | #endif |
@@ -842,13 +839,6 @@ static int __init NCR5380_init(struct Scsi_Host *instance, int flags) | |||
842 | first_instance = instance; | 839 | first_instance = instance; |
843 | } | 840 | } |
844 | 841 | ||
845 | #ifndef AUTOSENSE | ||
846 | if ((instance->cmd_per_lun > 1) || (instance->can_queue > 1)) | ||
847 | printk("scsi%d: WARNING : support for multiple outstanding commands enabled\n" | ||
848 | " without AUTOSENSE option, contingent allegiance conditions may\n" | ||
849 | " be incorrectly cleared.\n", HOSTNO); | ||
850 | #endif /* def AUTOSENSE */ | ||
851 | |||
852 | NCR5380_write(INITIATOR_COMMAND_REG, ICR_BASE); | 842 | NCR5380_write(INITIATOR_COMMAND_REG, ICR_BASE); |
853 | NCR5380_write(MODE_REG, MR_BASE); | 843 | NCR5380_write(MODE_REG, MR_BASE); |
854 | NCR5380_write(TARGET_COMMAND_REG, 0); | 844 | NCR5380_write(TARGET_COMMAND_REG, 0); |
@@ -2199,7 +2189,6 @@ static void NCR5380_information_transfer(struct Scsi_Host *instance) | |||
2199 | else if (status_byte(cmd->SCp.Status) != GOOD) | 2189 | else if (status_byte(cmd->SCp.Status) != GOOD) |
2200 | cmd->result = (cmd->result & 0x00ffff) | (DID_ERROR << 16); | 2190 | cmd->result = (cmd->result & 0x00ffff) | (DID_ERROR << 16); |
2201 | 2191 | ||
2202 | #ifdef AUTOSENSE | ||
2203 | if ((cmd->cmnd[0] == REQUEST_SENSE) && | 2192 | if ((cmd->cmnd[0] == REQUEST_SENSE) && |
2204 | hostdata->ses.cmd_len) { | 2193 | hostdata->ses.cmd_len) { |
2205 | scsi_eh_restore_cmnd(cmd, &hostdata->ses); | 2194 | scsi_eh_restore_cmnd(cmd, &hostdata->ses); |
@@ -2219,9 +2208,7 @@ static void NCR5380_information_transfer(struct Scsi_Host *instance) | |||
2219 | local_irq_restore(flags); | 2208 | local_irq_restore(flags); |
2220 | dprintk(NDEBUG_QUEUES, "scsi%d: REQUEST SENSE added to head of " | 2209 | dprintk(NDEBUG_QUEUES, "scsi%d: REQUEST SENSE added to head of " |
2221 | "issue queue\n", H_NO(cmd)); | 2210 | "issue queue\n", H_NO(cmd)); |
2222 | } else | 2211 | } else { |
2223 | #endif /* def AUTOSENSE */ | ||
2224 | { | ||
2225 | #ifdef NCR5380_STATS | 2212 | #ifdef NCR5380_STATS |
2226 | collect_stats(hostdata, cmd); | 2213 | collect_stats(hostdata, cmd); |
2227 | #endif | 2214 | #endif |
diff --git a/drivers/scsi/atari_scsi.c b/drivers/scsi/atari_scsi.c index a68d6257bc68..9f4d58ca3647 100644 --- a/drivers/scsi/atari_scsi.c +++ b/drivers/scsi/atari_scsi.c | |||
@@ -67,7 +67,6 @@ | |||
67 | 67 | ||
68 | #include <linux/module.h> | 68 | #include <linux/module.h> |
69 | 69 | ||
70 | #define AUTOSENSE | ||
71 | /* For the Atari version, use only polled IO or REAL_DMA */ | 70 | /* For the Atari version, use only polled IO or REAL_DMA */ |
72 | #define REAL_DMA | 71 | #define REAL_DMA |
73 | /* Support tagged queuing? (on devices that are able to... :-) */ | 72 | /* Support tagged queuing? (on devices that are able to... :-) */ |
diff --git a/drivers/scsi/dmx3191d.c b/drivers/scsi/dmx3191d.c index 6d534b9ffc91..5101328656b8 100644 --- a/drivers/scsi/dmx3191d.c +++ b/drivers/scsi/dmx3191d.c | |||
@@ -33,7 +33,6 @@ | |||
33 | /* | 33 | /* |
34 | * Definitions for the generic 5380 driver. | 34 | * Definitions for the generic 5380 driver. |
35 | */ | 35 | */ |
36 | #define AUTOSENSE | ||
37 | 36 | ||
38 | #define NCR5380_read(reg) inb(port + reg) | 37 | #define NCR5380_read(reg) inb(port + reg) |
39 | #define NCR5380_write(reg, value) outb(value, port + reg) | 38 | #define NCR5380_write(reg, value) outb(value, port + reg) |
diff --git a/drivers/scsi/dtc.c b/drivers/scsi/dtc.c index e890b08efbd8..975abbfe0bba 100644 --- a/drivers/scsi/dtc.c +++ b/drivers/scsi/dtc.c | |||
@@ -1,5 +1,4 @@ | |||
1 | 1 | ||
2 | #define AUTOSENSE | ||
3 | #define PSEUDO_DMA | 2 | #define PSEUDO_DMA |
4 | #define DONT_USE_INTR | 3 | #define DONT_USE_INTR |
5 | #define UNSAFE /* Leave interrupts enabled during pseudo-dma I/O */ | 4 | #define UNSAFE /* Leave interrupts enabled during pseudo-dma I/O */ |
@@ -30,9 +29,6 @@ | |||
30 | 29 | ||
31 | /* | 30 | /* |
32 | * Options : | 31 | * Options : |
33 | * AUTOSENSE - if defined, REQUEST SENSE will be performed automatically | ||
34 | * for commands that return with a CHECK CONDITION status. | ||
35 | * | ||
36 | * PSEUDO_DMA - enables PSEUDO-DMA hardware, should give a 3-4X performance | 32 | * PSEUDO_DMA - enables PSEUDO-DMA hardware, should give a 3-4X performance |
37 | * increase compared to polled I/O. | 33 | * increase compared to polled I/O. |
38 | * | 34 | * |
diff --git a/drivers/scsi/g_NCR5380.c b/drivers/scsi/g_NCR5380.c index c10466939a52..eda978f29d9d 100644 --- a/drivers/scsi/g_NCR5380.c +++ b/drivers/scsi/g_NCR5380.c | |||
@@ -80,8 +80,6 @@ | |||
80 | #define USLEEP_WAITLONG 500 | 80 | #define USLEEP_WAITLONG 500 |
81 | 81 | ||
82 | #define AUTOPROBE_IRQ | 82 | #define AUTOPROBE_IRQ |
83 | #define AUTOSENSE | ||
84 | |||
85 | 83 | ||
86 | #ifdef CONFIG_SCSI_GENERIC_NCR53C400 | 84 | #ifdef CONFIG_SCSI_GENERIC_NCR53C400 |
87 | #define NCR53C400_PSEUDO_DMA 1 | 85 | #define NCR53C400_PSEUDO_DMA 1 |
diff --git a/drivers/scsi/mac_scsi.c b/drivers/scsi/mac_scsi.c index aa372ec38507..3f125838a29d 100644 --- a/drivers/scsi/mac_scsi.c +++ b/drivers/scsi/mac_scsi.c | |||
@@ -48,8 +48,6 @@ | |||
48 | #include <scsi/scsi_host.h> | 48 | #include <scsi/scsi_host.h> |
49 | #include "mac_scsi.h" | 49 | #include "mac_scsi.h" |
50 | 50 | ||
51 | /* These control the behaviour of the generic 5380 core */ | ||
52 | #define AUTOSENSE | ||
53 | #define PSEUDO_DMA | 51 | #define PSEUDO_DMA |
54 | 52 | ||
55 | #include "NCR5380.h" | 53 | #include "NCR5380.h" |
diff --git a/drivers/scsi/pas16.c b/drivers/scsi/pas16.c index ffa399e7860a..7621205e4aa0 100644 --- a/drivers/scsi/pas16.c +++ b/drivers/scsi/pas16.c | |||
@@ -1,4 +1,3 @@ | |||
1 | #define AUTOSENSE | ||
2 | #define PSEUDO_DMA | 1 | #define PSEUDO_DMA |
3 | #define UNSAFE /* Not unsafe for PAS16 -- use it */ | 2 | #define UNSAFE /* Not unsafe for PAS16 -- use it */ |
4 | #define PDEBUG 0 | 3 | #define PDEBUG 0 |
@@ -39,9 +38,6 @@ | |||
39 | 38 | ||
40 | /* | 39 | /* |
41 | * Options : | 40 | * Options : |
42 | * AUTOSENSE - if defined, REQUEST SENSE will be performed automatically | ||
43 | * for commands that return with a CHECK CONDITION status. | ||
44 | * | ||
45 | * LIMIT_TRANSFERSIZE - if defined, limit the pseudo-dma transfers to 512 | 41 | * LIMIT_TRANSFERSIZE - if defined, limit the pseudo-dma transfers to 512 |
46 | * bytes at a time. Since interrupts are disabled by default during | 42 | * bytes at a time. Since interrupts are disabled by default during |
47 | * these transfers, we might need this to give reasonable interrupt | 43 | * these transfers, we might need this to give reasonable interrupt |
diff --git a/drivers/scsi/sun3_NCR5380.c b/drivers/scsi/sun3_NCR5380.c index 3586fecdc8bb..f52bda71dfb9 100644 --- a/drivers/scsi/sun3_NCR5380.c +++ b/drivers/scsi/sun3_NCR5380.c | |||
@@ -629,9 +629,6 @@ static inline void NCR5380_all_init (void) | |||
629 | static void __init NCR5380_print_options (struct Scsi_Host *instance) | 629 | static void __init NCR5380_print_options (struct Scsi_Host *instance) |
630 | { | 630 | { |
631 | printk(" generic options" | 631 | printk(" generic options" |
632 | #ifdef AUTOSENSE | ||
633 | " AUTOSENSE" | ||
634 | #endif | ||
635 | #ifdef REAL_DMA | 632 | #ifdef REAL_DMA |
636 | " REAL DMA" | 633 | " REAL DMA" |
637 | #endif | 634 | #endif |
@@ -788,14 +785,6 @@ static int __init NCR5380_init(struct Scsi_Host *instance, int flags) | |||
788 | first_instance = instance; | 785 | first_instance = instance; |
789 | } | 786 | } |
790 | 787 | ||
791 | |||
792 | #ifndef AUTOSENSE | ||
793 | if ((instance->cmd_per_lun > 1) || (instance->can_queue > 1)) | ||
794 | printk("scsi%d: WARNING : support for multiple outstanding commands enabled\n" | ||
795 | " without AUTOSENSE option, contingent allegiance conditions may\n" | ||
796 | " be incorrectly cleared.\n", HOSTNO); | ||
797 | #endif /* def AUTOSENSE */ | ||
798 | |||
799 | NCR5380_write(INITIATOR_COMMAND_REG, ICR_BASE); | 788 | NCR5380_write(INITIATOR_COMMAND_REG, ICR_BASE); |
800 | NCR5380_write(MODE_REG, MR_BASE); | 789 | NCR5380_write(MODE_REG, MR_BASE); |
801 | NCR5380_write(TARGET_COMMAND_REG, 0); | 790 | NCR5380_write(TARGET_COMMAND_REG, 0); |
@@ -2161,7 +2150,6 @@ static void NCR5380_information_transfer (struct Scsi_Host *instance) | |||
2161 | else if (status_byte(cmd->SCp.Status) != GOOD) | 2150 | else if (status_byte(cmd->SCp.Status) != GOOD) |
2162 | cmd->result = (cmd->result & 0x00ffff) | (DID_ERROR << 16); | 2151 | cmd->result = (cmd->result & 0x00ffff) | (DID_ERROR << 16); |
2163 | 2152 | ||
2164 | #ifdef AUTOSENSE | ||
2165 | if ((cmd->cmnd[0] == REQUEST_SENSE) && | 2153 | if ((cmd->cmnd[0] == REQUEST_SENSE) && |
2166 | hostdata->ses.cmd_len) { | 2154 | hostdata->ses.cmd_len) { |
2167 | scsi_eh_restore_cmnd(cmd, &hostdata->ses); | 2155 | scsi_eh_restore_cmnd(cmd, &hostdata->ses); |
@@ -2185,9 +2173,7 @@ static void NCR5380_information_transfer (struct Scsi_Host *instance) | |||
2185 | local_irq_restore(flags); | 2173 | local_irq_restore(flags); |
2186 | dprintk(NDEBUG_QUEUES, "scsi%d: REQUEST SENSE added to head of " | 2174 | dprintk(NDEBUG_QUEUES, "scsi%d: REQUEST SENSE added to head of " |
2187 | "issue queue\n", H_NO(cmd)); | 2175 | "issue queue\n", H_NO(cmd)); |
2188 | } else | 2176 | } else { |
2189 | #endif /* def AUTOSENSE */ | ||
2190 | { | ||
2191 | #ifdef NCR5380_STATS | 2177 | #ifdef NCR5380_STATS |
2192 | collect_stats(hostdata, cmd); | 2178 | collect_stats(hostdata, cmd); |
2193 | #endif | 2179 | #endif |
diff --git a/drivers/scsi/sun3_scsi.c b/drivers/scsi/sun3_scsi.c index 30353f6b599c..a5e58a7373be 100644 --- a/drivers/scsi/sun3_scsi.c +++ b/drivers/scsi/sun3_scsi.c | |||
@@ -45,8 +45,6 @@ | |||
45 | * PARITY - enable parity checking. Not supported. | 45 | * PARITY - enable parity checking. Not supported. |
46 | */ | 46 | */ |
47 | 47 | ||
48 | #define AUTOSENSE | ||
49 | |||
50 | #include <linux/types.h> | 48 | #include <linux/types.h> |
51 | #include <linux/stddef.h> | 49 | #include <linux/stddef.h> |
52 | #include <linux/ctype.h> | 50 | #include <linux/ctype.h> |
diff --git a/drivers/scsi/t128.c b/drivers/scsi/t128.c index f06ad91d737d..4253fe97c210 100644 --- a/drivers/scsi/t128.c +++ b/drivers/scsi/t128.c | |||
@@ -1,4 +1,3 @@ | |||
1 | #define AUTOSENSE | ||
2 | #define PSEUDO_DMA | 1 | #define PSEUDO_DMA |
3 | 2 | ||
4 | /* | 3 | /* |
@@ -40,9 +39,6 @@ | |||
40 | 39 | ||
41 | /* | 40 | /* |
42 | * Options : | 41 | * Options : |
43 | * AUTOSENSE - if defined, REQUEST SENSE will be performed automatically | ||
44 | * for commands that return with a CHECK CONDITION status. | ||
45 | * | ||
46 | * PSEUDO_DMA - enables PSEUDO-DMA hardware, should give a 3-4X performance | 42 | * PSEUDO_DMA - enables PSEUDO-DMA hardware, should give a 3-4X performance |
47 | * increase compared to polled I/O. | 43 | * increase compared to polled I/O. |
48 | * | 44 | * |