Blame view

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