summaryrefslogtreecommitdiff
path: root/include/linux/atapi.h
diff options
context:
space:
mode:
authorMartin Dalecki <dalecki@evision-ventures.com>2002-05-30 20:24:07 -0700
committerLinus Torvalds <torvalds@penguin.transmeta.com>2002-05-30 20:24:07 -0700
commitd14d5dc1fd806e4543ed7f9f80fb5992b819cafd (patch)
treeca75b3991a51f3b59a8937ca0970275691b508c5 /include/linux/atapi.h
parent4a64d56aef1330003655f4d3243ae9f99554d193 (diff)
[PATCH] 2.5.19 IDE 76
- Since Bartek has released finally an entierly user space based setup monitoring utility, we can finally remove the nonfunctional PROC code from the host chip drivers. We have preserved it thus far only for documentation purposes. - Use generic bus master DMA setup code. There is nothing wrong with it. - Make the ide-scsi code actually just allow for one device id per scsi host, since we are registering a host per device right now. This prevents the repetitive device recognition. Well registering an SCSI host of every single disk out there isn't the proper thing to do. I will deal with that later after my visual perception recovers again from already looking too long at the SCSI code :-). - Deal properly with host specific data mapping. (Could be that solves some problems with the driver, which where in reality kernel data corruptions.) - Homogenize flag handling for ATAPI drivers.
Diffstat (limited to 'include/linux/atapi.h')
-rw-r--r--include/linux/atapi.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/atapi.h b/include/linux/atapi.h
index 3a2fa93cc6c0..029ae2b6633a 100644
--- a/include/linux/atapi.h
+++ b/include/linux/atapi.h
@@ -20,6 +20,19 @@
#define IDEFLOPPY_PC_BUFFER_SIZE 256
#define IDETAPE_PC_BUFFER_SIZE 256
+/*
+ * Packet flags bits.
+ */
+
+#define PC_ABORT 0 /* set when an error is considered normal - we won't retry */
+#define PC_WAIT_FOR_DSC 1 /* 1 when polling for DSC on a media access command */
+#define PC_DMA_RECOMMENDED 2 /* 1 when we prefer to use DMA if possible */
+#define PC_DMA_IN_PROGRESS 3 /* 1 while DMA in progress */
+#define PC_DMA_ERROR 4 /* 1 when encountered problem during DMA */
+#define PC_WRITING 5 /* data direction */
+#define PC_SUPPRESS_ERROR 6 /* suppress error reporting */
+#define PC_TRANSFORM 7 /* transform SCSI commands */
+
/* This struct get's shared between different drivers.
*/
struct atapi_packet_command {