scsi.h 1.1 KB

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