scsi.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /*
  2. * scsi.h Copyright (C) 1992 Drew Eckhardt
  3. * Copyright (C) 1993, 1994, 1995, 1998, 1999 Eric Youngdale
  4. * generic SCSI package header file by
  5. * Initial versions: Drew Eckhardt
  6. * Subsequent revisions: Eric Youngdale
  7. *
  8. * <drew@colorado.edu>
  9. *
  10. * Modified by Eric Youngdale eric@andante.org to
  11. * add scatter-gather, multiple outstanding request, and other
  12. * enhancements.
  13. */
  14. /*
  15. * NOTE: this file only contains compatibility glue for old drivers. All
  16. * these wrappers will be removed sooner or later. For new code please use
  17. * the interfaces declared in the headers in include/scsi/
  18. */
  19. #ifndef _SCSI_H
  20. #define _SCSI_H
  21. #include <linux/config.h> /* for CONFIG_SCSI_LOGGING */
  22. #include <scsi/scsi_cmnd.h>
  23. #include <scsi/scsi_device.h>
  24. #include <scsi/scsi_eh.h>
  25. #include <scsi/scsi_request.h>
  26. #include <scsi/scsi_tcq.h>
  27. #include <scsi/scsi.h>
  28. /*
  29. * Some defs, in case these are not defined elsewhere.
  30. */
  31. #ifndef TRUE
  32. #define TRUE 1
  33. #endif
  34. #ifndef FALSE
  35. #define FALSE 0
  36. #endif
  37. struct Scsi_Host;
  38. struct scsi_cmnd;
  39. struct scsi_device;
  40. struct scsi_target;
  41. struct scatterlist;
  42. /* obsolete typedef junk. */
  43. #include "scsi_typedefs.h"
  44. #endif /* _SCSI_H */