X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fscsi%2Fscsi.h;h=d5a55fae60e0370f46ed4f43a89a784a7f587a30;hb=4e6d816e51728d5006c53e78e079ac62b902f8aa;hp=6e7bb068220f469cdaa04076466d457b9510ff0f;hpb=1409277c4aad2e87ad27b2b8a6901ce78eaf8081;p=linux-2.6 diff --git a/drivers/scsi/scsi.h b/drivers/scsi/scsi.h index 6e7bb06822..d5a55fae60 100644 --- a/drivers/scsi/scsi.h +++ b/drivers/scsi/scsi.h @@ -20,12 +20,9 @@ #ifndef _SCSI_H #define _SCSI_H -#include /* for CONFIG_SCSI_LOGGING */ - #include #include #include -#include #include #include @@ -45,27 +42,6 @@ struct scsi_device; struct scsi_target; struct scatterlist; -/* - * Legacy dma direction interfaces. - * - * This assumes the pci/sbus dma mapping flags have the same numercial - * values as the generic dma-mapping ones. Currently they have but there's - * no way to check. Better don't use these interfaces! - */ -#define SCSI_DATA_UNKNOWN (DMA_BIDIRECTIONAL) -#define SCSI_DATA_WRITE (DMA_TO_DEVICE) -#define SCSI_DATA_READ (DMA_FROM_DEVICE) -#define SCSI_DATA_NONE (DMA_NONE) - -#define scsi_to_pci_dma_dir(scsi_dir) ((int)(scsi_dir)) -#define scsi_to_sbus_dma_dir(scsi_dir) ((int)(scsi_dir)) - -/* - * This is the crap from the old error handling code. We have it in a special - * place so that we can more easily delete it later on. - */ -#include "scsi_obsolete.h" - /* obsolete typedef junk. */ #include "scsi_typedefs.h"