mirror of
https://github.com/SCST-project/scst.git
synced 2026-07-24 17:12:51 +00:00
scsi_tgt.h renamed to scst.h
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@337 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
+1
-1
@@ -99,7 +99,7 @@ Interface between SCST and the target drivers is based on work, done by
|
||||
University of New Hampshire Interoperability Labs (UNH IOL).
|
||||
|
||||
All described below data structures and function could be found in
|
||||
<bf/scsi_tgt.h/. The SCST's Internet page is
|
||||
<bf/scst.h/. The SCST's Internet page is
|
||||
<url url="http://scst.sourceforge.net">.
|
||||
|
||||
<sect>Terms and Definitions
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#include <linux/net.h>
|
||||
#include <net/sock.h>
|
||||
|
||||
#include <scsi_tgt.h>
|
||||
#include <scst.h>
|
||||
|
||||
#include "iscsi_hdr.h"
|
||||
#include "iscsi_u.h"
|
||||
|
||||
+1
-1
@@ -36,7 +36,7 @@
|
||||
#include <linux/pci.h>
|
||||
#endif
|
||||
|
||||
#include "scsi_tgt.h"
|
||||
#include "scst.h"
|
||||
|
||||
#include <scst_debug.h>
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
#include <linux/seq_file.h>
|
||||
#include <linux/list.h>
|
||||
|
||||
#include <scsi_tgt.h>
|
||||
#include <scst.h>
|
||||
|
||||
/* Necessary to have equal structures with the initiator */
|
||||
#if defined(FC_IP_SUPPORT)
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
#include <linux/seq_file.h>
|
||||
|
||||
#include <scsi/scsi_host.h>
|
||||
#include <scsi_tgt.h>
|
||||
#include <scst.h>
|
||||
#include <scst_debug.h>
|
||||
|
||||
#ifdef min
|
||||
|
||||
+1
-1
@@ -62,7 +62,7 @@ defined during the compilation (see description below).
|
||||
To compile SCST type 'make scst'. It will build SCST itself and its
|
||||
device handlers. To install them type 'make scst_install'. The driver
|
||||
modules will be installed in '/lib/modules/`you_kernel_version`/extra'.
|
||||
In addition, scsi_tgt.h, scst_debug.h as well as Module.symvers or
|
||||
In addition, scst.h, scst_debug.h as well as Module.symvers or
|
||||
Modules.symvers will be copied to '/usr/local/include/scst'. The first
|
||||
file contains all SCST's public data definition, which are used by
|
||||
target drivers. The other ones support debug messages logging and build
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* include/scsi_tgt.h
|
||||
* include/scst.h
|
||||
*
|
||||
* Copyright (C) 2004-2007 Vladislav Bolkhovitin <vst@vlnb.net>
|
||||
* and Leonid Stoljar
|
||||
+1
-1
@@ -69,7 +69,7 @@ install: all
|
||||
$(MAKE) -C $(KDIR) SUBDIRS=$(shell pwd) BUILD_DEV=m \
|
||||
modules_install
|
||||
install -d $(INSTALL_DIR_H)
|
||||
install -m 644 ../include/scsi_tgt.h $(INSTALL_DIR_H)
|
||||
install -m 644 ../include/scst.h $(INSTALL_DIR_H)
|
||||
install -m 644 ../include/scst_debug.h $(INSTALL_DIR_H)
|
||||
install -m 644 ../include/scst_user.h $(INSTALL_DIR_H)
|
||||
install -m 644 ../include/scst_const.h $(INSTALL_DIR_H)
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#define LOG_PREFIX "dev_cdrom"
|
||||
|
||||
#include "scsi_tgt.h"
|
||||
#include "scst.h"
|
||||
#include "scst_dev_handler.h"
|
||||
|
||||
#define CDROM_NAME "dev_cdrom"
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
#define LOG_PREFIX "dev_changer"
|
||||
|
||||
#include "scsi_tgt.h"
|
||||
#include "scst.h"
|
||||
#include "scst_dev_handler.h"
|
||||
|
||||
#define CHANGER_NAME "dev_changer"
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
#define LOG_PREFIX "dev_disk"
|
||||
|
||||
#include "scsi_tgt.h"
|
||||
#include "scst.h"
|
||||
#include "scst_dev_handler.h"
|
||||
|
||||
# define DISK_NAME "dev_disk"
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
#define LOG_PREFIX "dev_modisk"
|
||||
|
||||
#include "scsi_tgt.h"
|
||||
#include "scst.h"
|
||||
#include "scst_dev_handler.h"
|
||||
|
||||
# define MODISK_NAME "dev_modisk"
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
#define LOG_PREFIX "dev_processor"
|
||||
|
||||
#include "scsi_tgt.h"
|
||||
#include "scst.h"
|
||||
#include "scst_dev_handler.h"
|
||||
|
||||
#define PROCESSOR_NAME "dev_processor"
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
#include <scsi/scsi_host.h>
|
||||
|
||||
#include "scsi_tgt.h"
|
||||
#include "scst.h"
|
||||
#include "scst_dev_handler.h"
|
||||
|
||||
#define RAID_NAME "dev_raid"
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
#define LOG_PREFIX "dev_tape"
|
||||
|
||||
#include "scsi_tgt.h"
|
||||
#include "scst.h"
|
||||
#include "scst_dev_handler.h"
|
||||
|
||||
# define TAPE_NAME "dev_tape"
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#define LOG_PREFIX DEV_USER_NAME
|
||||
|
||||
#include "scsi_tgt.h"
|
||||
#include "scst.h"
|
||||
#include "scst_user.h"
|
||||
#include "scst_dev_handler.h"
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
|
||||
#define LOG_PREFIX "dev_vdisk"
|
||||
|
||||
#include "scsi_tgt.h"
|
||||
#include "scst.h"
|
||||
|
||||
#if defined(DEBUG) || defined(TRACING)
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include "scsi_tgt.h"
|
||||
#include "scst.h"
|
||||
#include "scst_debug.h"
|
||||
|
||||
#if defined(DEBUG) || defined(TRACING)
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@
|
||||
#include <linux/highmem.h>
|
||||
#endif
|
||||
|
||||
#include "scsi_tgt.h"
|
||||
#include "scst.h"
|
||||
#include "scst_priv.h"
|
||||
#include "scst_mem.h"
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
#include <asm/string.h>
|
||||
#include <linux/kthread.h>
|
||||
|
||||
#include "scsi_tgt.h"
|
||||
#include "scst.h"
|
||||
#include "scst_priv.h"
|
||||
#include "scst_mem.h"
|
||||
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@
|
||||
#include <linux/highmem.h>
|
||||
#endif
|
||||
|
||||
#include "scsi_tgt.h"
|
||||
#include "scst.h"
|
||||
#include "scst_priv.h"
|
||||
#include "scst_mem.h"
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#include <linux/module.h>
|
||||
#include <linux/init.h>
|
||||
|
||||
#include <scsi_tgt.h>
|
||||
#include <scst.h>
|
||||
|
||||
static int __init init_this_scst_driver(void)
|
||||
{
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
#include <linux/proc_fs.h>
|
||||
#include <linux/seq_file.h>
|
||||
|
||||
#include "scsi_tgt.h"
|
||||
#include "scst.h"
|
||||
#include "scst_priv.h"
|
||||
#include "scst_mem.h"
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
#include <linux/kthread.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
#include "scsi_tgt.h"
|
||||
#include "scst.h"
|
||||
#include "scst_priv.h"
|
||||
|
||||
static void scst_cmd_set_sn(struct scst_cmd *cmd);
|
||||
@@ -1672,7 +1672,7 @@ static inline int scst_local_exec(struct scst_cmd *cmd)
|
||||
|
||||
/*
|
||||
* Adding new commands here don't forget to update
|
||||
* scst_is_cmd_local() in scsi_tgt.h, if necessary
|
||||
* scst_is_cmd_local() in scst.h, if necessary
|
||||
*/
|
||||
|
||||
switch (cmd->cdb[0]) {
|
||||
@@ -2721,7 +2721,7 @@ static int scst_finish_cmd(struct scst_cmd *cmd)
|
||||
|
||||
/*
|
||||
* No locks, but it must be externally serialized (see comment for
|
||||
* scst_cmd_init_done() in scsi_tgt.h)
|
||||
* scst_cmd_init_done() in scst.h)
|
||||
*/
|
||||
static void scst_cmd_set_sn(struct scst_cmd *cmd)
|
||||
{
|
||||
|
||||
+1
-1
@@ -45,7 +45,7 @@
|
||||
|
||||
#include <scsi/srp.h>
|
||||
|
||||
#include <scsi_tgt.h>
|
||||
#include <scst.h>
|
||||
|
||||
#include "ib_dm_mad.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user