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