From fa84d540efe5f76e47e0960fd65cf5dcf3104e85 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Thu, 17 Apr 2008 17:35:37 +0000 Subject: [PATCH] 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 --- doc/scst_pg.sgml | 2 +- iscsi-scst/kernel/iscsi.h | 2 +- mpt/mpt_scst.c | 2 +- qla2x00t/qla2x00-target/qla2x00t.c | 2 +- qla_isp/linux/isp_scst.c | 2 +- scst/README | 2 +- scst/include/{scsi_tgt.h => scst.h} | 2 +- scst/src/Makefile | 2 +- scst/src/dev_handlers/scst_cdrom.c | 2 +- scst/src/dev_handlers/scst_changer.c | 2 +- scst/src/dev_handlers/scst_disk.c | 2 +- scst/src/dev_handlers/scst_modisk.c | 2 +- scst/src/dev_handlers/scst_processor.c | 2 +- scst/src/dev_handlers/scst_raid.c | 2 +- scst/src/dev_handlers/scst_tape.c | 2 +- scst/src/dev_handlers/scst_user.c | 2 +- scst/src/dev_handlers/scst_vdisk.c | 2 +- scst/src/scst_debug.c | 2 +- scst/src/scst_lib.c | 2 +- scst/src/scst_main.c | 2 +- scst/src/scst_mem.c | 2 +- scst/src/scst_module.c | 2 +- scst/src/scst_proc.c | 2 +- scst/src/scst_targ.c | 6 +++--- srpt/src/ib_srpt.h | 2 +- 25 files changed, 27 insertions(+), 27 deletions(-) rename scst/include/{scsi_tgt.h => scst.h} (99%) diff --git a/doc/scst_pg.sgml b/doc/scst_pg.sgml index 83d1d2913..4443b3799 100644 --- a/doc/scst_pg.sgml +++ b/doc/scst_pg.sgml @@ -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 -. Terms and Definitions diff --git a/iscsi-scst/kernel/iscsi.h b/iscsi-scst/kernel/iscsi.h index 237956d15..ee61e92b3 100644 --- a/iscsi-scst/kernel/iscsi.h +++ b/iscsi-scst/kernel/iscsi.h @@ -23,7 +23,7 @@ #include #include -#include +#include #include "iscsi_hdr.h" #include "iscsi_u.h" diff --git a/mpt/mpt_scst.c b/mpt/mpt_scst.c index 33ba1092f..a22108458 100644 --- a/mpt/mpt_scst.c +++ b/mpt/mpt_scst.c @@ -36,7 +36,7 @@ #include #endif -#include "scsi_tgt.h" +#include "scst.h" #include diff --git a/qla2x00t/qla2x00-target/qla2x00t.c b/qla2x00t/qla2x00-target/qla2x00t.c index d43f812d0..bad91b365 100644 --- a/qla2x00t/qla2x00-target/qla2x00t.c +++ b/qla2x00t/qla2x00-target/qla2x00t.c @@ -31,7 +31,7 @@ #include #include -#include +#include /* Necessary to have equal structures with the initiator */ #if defined(FC_IP_SUPPORT) diff --git a/qla_isp/linux/isp_scst.c b/qla_isp/linux/isp_scst.c index 5d2767a28..cda04e458 100644 --- a/qla_isp/linux/isp_scst.c +++ b/qla_isp/linux/isp_scst.c @@ -88,7 +88,7 @@ #include #include -#include +#include #include #ifdef min diff --git a/scst/README b/scst/README index 0f8c2be73..5125687f2 100644 --- a/scst/README +++ b/scst/README @@ -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 diff --git a/scst/include/scsi_tgt.h b/scst/include/scst.h similarity index 99% rename from scst/include/scsi_tgt.h rename to scst/include/scst.h index e6577b4a5..1ea6a8bc5 100644 --- a/scst/include/scsi_tgt.h +++ b/scst/include/scst.h @@ -1,5 +1,5 @@ /* - * include/scsi_tgt.h + * include/scst.h * * Copyright (C) 2004-2007 Vladislav Bolkhovitin * and Leonid Stoljar diff --git a/scst/src/Makefile b/scst/src/Makefile index cbebf264c..2ef3dca1c 100644 --- a/scst/src/Makefile +++ b/scst/src/Makefile @@ -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) diff --git a/scst/src/dev_handlers/scst_cdrom.c b/scst/src/dev_handlers/scst_cdrom.c index 39b99cba1..a9d01f76e 100644 --- a/scst/src/dev_handlers/scst_cdrom.c +++ b/scst/src/dev_handlers/scst_cdrom.c @@ -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" diff --git a/scst/src/dev_handlers/scst_changer.c b/scst/src/dev_handlers/scst_changer.c index 0e7816743..705d430b8 100644 --- a/scst/src/dev_handlers/scst_changer.c +++ b/scst/src/dev_handlers/scst_changer.c @@ -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" diff --git a/scst/src/dev_handlers/scst_disk.c b/scst/src/dev_handlers/scst_disk.c index e9ad15c29..cc17b05ec 100644 --- a/scst/src/dev_handlers/scst_disk.c +++ b/scst/src/dev_handlers/scst_disk.c @@ -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" diff --git a/scst/src/dev_handlers/scst_modisk.c b/scst/src/dev_handlers/scst_modisk.c index 8f16b1dfd..558167a20 100644 --- a/scst/src/dev_handlers/scst_modisk.c +++ b/scst/src/dev_handlers/scst_modisk.c @@ -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" diff --git a/scst/src/dev_handlers/scst_processor.c b/scst/src/dev_handlers/scst_processor.c index 764c6c056..5ee605acf 100644 --- a/scst/src/dev_handlers/scst_processor.c +++ b/scst/src/dev_handlers/scst_processor.c @@ -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" diff --git a/scst/src/dev_handlers/scst_raid.c b/scst/src/dev_handlers/scst_raid.c index 82a8c2ed6..db3f84e7d 100644 --- a/scst/src/dev_handlers/scst_raid.c +++ b/scst/src/dev_handlers/scst_raid.c @@ -21,7 +21,7 @@ #include -#include "scsi_tgt.h" +#include "scst.h" #include "scst_dev_handler.h" #define RAID_NAME "dev_raid" diff --git a/scst/src/dev_handlers/scst_tape.c b/scst/src/dev_handlers/scst_tape.c index 1c39e6a2d..d7086cc2c 100644 --- a/scst/src/dev_handlers/scst_tape.c +++ b/scst/src/dev_handlers/scst_tape.c @@ -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" diff --git a/scst/src/dev_handlers/scst_user.c b/scst/src/dev_handlers/scst_user.c index ab377f8b1..d16ca4d45 100644 --- a/scst/src/dev_handlers/scst_user.c +++ b/scst/src/dev_handlers/scst_user.c @@ -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" diff --git a/scst/src/dev_handlers/scst_vdisk.c b/scst/src/dev_handlers/scst_vdisk.c index 7b6260882..1ac2ac70f 100644 --- a/scst/src/dev_handlers/scst_vdisk.c +++ b/scst/src/dev_handlers/scst_vdisk.c @@ -41,7 +41,7 @@ #define LOG_PREFIX "dev_vdisk" -#include "scsi_tgt.h" +#include "scst.h" #if defined(DEBUG) || defined(TRACING) diff --git a/scst/src/scst_debug.c b/scst/src/scst_debug.c index 63c543ce0..59cc03f9e 100644 --- a/scst/src/scst_debug.c +++ b/scst/src/scst_debug.c @@ -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) diff --git a/scst/src/scst_lib.c b/scst/src/scst_lib.c index 889f537df..bd9176879 100644 --- a/scst/src/scst_lib.c +++ b/scst/src/scst_lib.c @@ -31,7 +31,7 @@ #include #endif -#include "scsi_tgt.h" +#include "scst.h" #include "scst_priv.h" #include "scst_mem.h" diff --git a/scst/src/scst_main.c b/scst/src/scst_main.c index 40bd15bd7..862bc083b 100644 --- a/scst/src/scst_main.c +++ b/scst/src/scst_main.c @@ -28,7 +28,7 @@ #include #include -#include "scsi_tgt.h" +#include "scst.h" #include "scst_priv.h" #include "scst_mem.h" diff --git a/scst/src/scst_mem.c b/scst/src/scst_mem.c index cfd969f1c..38d50509a 100644 --- a/scst/src/scst_mem.c +++ b/scst/src/scst_mem.c @@ -31,7 +31,7 @@ #include #endif -#include "scsi_tgt.h" +#include "scst.h" #include "scst_priv.h" #include "scst_mem.h" diff --git a/scst/src/scst_module.c b/scst/src/scst_module.c index dea93d54f..f36457826 100644 --- a/scst/src/scst_module.c +++ b/scst/src/scst_module.c @@ -20,7 +20,7 @@ #include #include -#include +#include static int __init init_this_scst_driver(void) { diff --git a/scst/src/scst_proc.c b/scst/src/scst_proc.c index 86d89f0ea..b92fc56c6 100644 --- a/scst/src/scst_proc.c +++ b/scst/src/scst_proc.c @@ -30,7 +30,7 @@ #include #include -#include "scsi_tgt.h" +#include "scst.h" #include "scst_priv.h" #include "scst_mem.h" diff --git a/scst/src/scst_targ.c b/scst/src/scst_targ.c index 24aa2f361..fbdc547c6 100644 --- a/scst/src/scst_targ.c +++ b/scst/src/scst_targ.c @@ -28,7 +28,7 @@ #include #include -#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) { diff --git a/srpt/src/ib_srpt.h b/srpt/src/ib_srpt.h index 59eb090e5..c1fae7e06 100644 --- a/srpt/src/ib_srpt.h +++ b/srpt/src/ib_srpt.h @@ -45,7 +45,7 @@ #include -#include +#include #include "ib_dm_mad.h"