summaryrefslogtreecommitdiff
path: root/drivers/scsi/aic7xxx/cam.h
diff options
context:
space:
mode:
author <hch@lst.de>2005-04-18 00:26:13 +0400
committerJames Bottomley <jejb@titanic>2005-04-18 22:49:58 +0400
commitbe7db055dd7261522557046370f49160728e3847 (patch)
tree314689dfb551ee9ad5ef8c27576762489a51897d /drivers/scsi/aic7xxx/cam.h
parent80e2ca3dcb1043420ac4b06de8eed3d6fedaddda (diff)
downloadlinux-be7db055dd7261522557046370f49160728e3847.tar.xz
[PATCH] remove old scsi data direction macros
these have been wrappers for the generic dma direction bits since 2.5.x. This patch converts the few remaining drivers and removes the macros. Arjan noticed there's some hunk in here that shouldn't. Updated patch below: Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/aic7xxx/cam.h')
-rw-r--r--drivers/scsi/aic7xxx/cam.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/aic7xxx/cam.h b/drivers/scsi/aic7xxx/cam.h
index d40ba0760c76..26f17e3fc45c 100644
--- a/drivers/scsi/aic7xxx/cam.h
+++ b/drivers/scsi/aic7xxx/cam.h
@@ -103,9 +103,9 @@ typedef enum {
} ac_code;
typedef enum {
- CAM_DIR_IN = SCSI_DATA_READ,
- CAM_DIR_OUT = SCSI_DATA_WRITE,
- CAM_DIR_NONE = SCSI_DATA_NONE
+ CAM_DIR_IN = DMA_FROM_DEVICE,
+ CAM_DIR_OUT = DMA_TO_DEVICE,
+ CAM_DIR_NONE = DMA_NONE,
} ccb_flags;
#endif /* _AIC7XXX_CAM_H */