#ifndef _SCSI_IOCTL_H
#define _SCSI_IOCTL_H
#define SCSI_IOCTL_SEND_COMMAND …
#define SCSI_IOCTL_TEST_UNIT_READY …
#define SCSI_IOCTL_BENCHMARK_COMMAND …
#define SCSI_IOCTL_SYNC …
#define SCSI_IOCTL_START_UNIT …
#define SCSI_IOCTL_STOP_UNIT …
#define SCSI_IOCTL_DOORLOCK …
#define SCSI_IOCTL_DOORUNLOCK …
#define SCSI_REMOVAL_PREVENT …
#define SCSI_REMOVAL_ALLOW …
#ifdef __KERNEL__
struct gendisk;
struct scsi_device;
struct sg_io_hdr;
Scsi_Ioctl_Command;
Scsi_Idlun;
Scsi_FCTargAddress;
int scsi_ioctl_block_when_processing_errors(struct scsi_device *sdev,
int cmd, bool ndelay);
int scsi_ioctl(struct scsi_device *sdev, bool open_for_write, int cmd,
void __user *arg);
int get_sg_io_hdr(struct sg_io_hdr *hdr, const void __user *argp);
int put_sg_io_hdr(const struct sg_io_hdr *hdr, void __user *argp);
bool scsi_cmd_allowed(unsigned char *cmd, bool open_for_write);
#endif
#endif