~ubuntu-branches/ubuntu/precise/linux-lowlatency/precise

« back to all changes in this revision

Viewing changes to drivers/scsi/scsi.h

  • Committer: Package Import Robot
  • Author(s): Alessio Igor Bogani
  • Date: 2011-10-26 11:13:05 UTC
  • Revision ID: package-import@ubuntu.com-20111026111305-tz023xykf0i6eosh
Tags: upstream-3.2.0
ImportĀ upstreamĀ versionĀ 3.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
 
20
#ifndef _SCSI_H
 
21
#define _SCSI_H
 
22
 
 
23
#include <scsi/scsi_cmnd.h>
 
24
#include <scsi/scsi_device.h>
 
25
#include <scsi/scsi_eh.h>
 
26
#include <scsi/scsi_tcq.h>
 
27
#include <scsi/scsi.h>
 
28
 
 
29
/*
 
30
 * Some defs, in case these are not defined elsewhere.
 
31
 */
 
32
#ifndef TRUE
 
33
#define TRUE 1
 
34
#endif
 
35
#ifndef FALSE
 
36
#define FALSE 0
 
37
#endif
 
38
 
 
39
struct Scsi_Host;
 
40
struct scsi_cmnd;
 
41
struct scsi_device;
 
42
struct scsi_target;
 
43
struct scatterlist;
 
44
 
 
45
/* obsolete typedef junk. */
 
46
#include "scsi_typedefs.h"
 
47
 
 
48
#endif /* _SCSI_H */