18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * scsi.h Copyright (C) 1992 Drew Eckhardt 48c2ecf20Sopenharmony_ci * Copyright (C) 1993, 1994, 1995, 1998, 1999 Eric Youngdale 58c2ecf20Sopenharmony_ci * generic SCSI package header file by 68c2ecf20Sopenharmony_ci * Initial versions: Drew Eckhardt 78c2ecf20Sopenharmony_ci * Subsequent revisions: Eric Youngdale 88c2ecf20Sopenharmony_ci * 98c2ecf20Sopenharmony_ci * <drew@colorado.edu> 108c2ecf20Sopenharmony_ci * 118c2ecf20Sopenharmony_ci * Modified by Eric Youngdale eric@andante.org to 128c2ecf20Sopenharmony_ci * add scatter-gather, multiple outstanding request, and other 138c2ecf20Sopenharmony_ci * enhancements. 148c2ecf20Sopenharmony_ci */ 158c2ecf20Sopenharmony_ci/* 168c2ecf20Sopenharmony_ci * NOTE: this file only contains compatibility glue for old drivers. All 178c2ecf20Sopenharmony_ci * these wrappers will be removed sooner or later. For new code please use 188c2ecf20Sopenharmony_ci * the interfaces declared in the headers in include/scsi/ 198c2ecf20Sopenharmony_ci */ 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ci#ifndef _SCSI_H 228c2ecf20Sopenharmony_ci#define _SCSI_H 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ci#include <scsi/scsi_cmnd.h> 258c2ecf20Sopenharmony_ci#include <scsi/scsi_device.h> 268c2ecf20Sopenharmony_ci#include <scsi/scsi_eh.h> 278c2ecf20Sopenharmony_ci#include <scsi/scsi_tcq.h> 288c2ecf20Sopenharmony_ci#include <scsi/scsi.h> 298c2ecf20Sopenharmony_ci 308c2ecf20Sopenharmony_ci/* 318c2ecf20Sopenharmony_ci * Some defs, in case these are not defined elsewhere. 328c2ecf20Sopenharmony_ci */ 338c2ecf20Sopenharmony_ci#ifndef TRUE 348c2ecf20Sopenharmony_ci#define TRUE 1 358c2ecf20Sopenharmony_ci#endif 368c2ecf20Sopenharmony_ci#ifndef FALSE 378c2ecf20Sopenharmony_ci#define FALSE 0 388c2ecf20Sopenharmony_ci#endif 398c2ecf20Sopenharmony_ci 408c2ecf20Sopenharmony_cistruct Scsi_Host; 418c2ecf20Sopenharmony_cistruct scsi_cmnd; 428c2ecf20Sopenharmony_cistruct scsi_device; 438c2ecf20Sopenharmony_cistruct scsi_target; 448c2ecf20Sopenharmony_cistruct scatterlist; 458c2ecf20Sopenharmony_ci 468c2ecf20Sopenharmony_ci#endif /* _SCSI_H */ 47