scsi_tgt.ko renamed to scst.ko

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@164 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2007-08-16 09:04:05 +00:00
parent 5d4789c8c0
commit 21f6a17d83
4 changed files with 21 additions and 12 deletions
+2 -2
View File
@@ -70,7 +70,7 @@ other ones support debug messages logging and build process.
Then you can load any module by typing 'modprobe module_name'. The names
are:
- scsi_tgt - SCST itself
- scst - SCST itself
- scst_disk - device handler for disks (type 0)
- scst_tape - device handler for tapes (type 1)
- scst_processor - device handler for processors (type 3)
@@ -222,7 +222,7 @@ For changing VMSPLIT option (CONFIG_VMSPLIT to be precise) you should in
Module parameters
-----------------
Module scsi_tgt supports the following parameters:
Module scst supports the following parameters:
- scst_threads - allows to set count of SCST's threads. By default it
is CPU count.
+15 -10
View File
@@ -31,16 +31,16 @@ DEV_HANDLERS_DIR = dev_handlers
ifneq ($(KERNELRELEASE),)
SCST_INC_DIR := $(SUBDIRS)/../include
obj-m := scsi_tgt.o
scsi_tgt-objs := scst.o scst_targ.o scst_lib.o scst_mem.o scst_proc.o
obj-m := scst.o
scst-objs := scst_main.o scst_targ.o scst_lib.o scst_mem.o scst_proc.o
scsi_tgt-y += scst.o
scsi_tgt-y += scst_targ.o
scsi_tgt-y += scst_lib.o
scsi_tgt-y += scst_proc.o
scsi_tgt-y += scst_mem.o
scsi_tgt-y += scst_debug.o
obj-$(CONFIG_SCSI_TARGET) += scsi_tgt.o dev_handlers/
scst-y += scst_main.o
scst-y += scst_targ.o
scst-y += scst_lib.o
scst-y += scst_proc.o
scst-y += scst_mem.o
scst-y += scst_debug.o
obj-$(CONFIG_SCSI_TARGET) += scst.o dev_handlers/
obj-$(BUILD_DEV) += $(DEV_HANDLERS_DIR)/
@@ -65,6 +65,7 @@ MODS_VERS := $(shell ls Modules.symvers 2>/dev/null)
MOD_VERS := $(shell ls Module.symvers 2>/dev/null)
install: all
-rm -f $(INSTALL_DIR)/scsi_tgt.ko
$(MAKE) -C $(KDIR) SUBDIRS=$(shell pwd) BUILD_DEV=m \
modules_install
install -d $(INSTALL_DIR_H)
@@ -90,13 +91,17 @@ endif
uninstall:
cd $(DEV_HANDLERS_DIR) && $(MAKE) $@
rm -f $(INSTALL_DIR)/scsi_tgt.ko
rm -f $(INSTALL_DIR)/scst.ko
-rmdir $(INSTALL_DIR) 2>/dev/null
-/sbin/depmod -a $(KVER)
rm -rf $(INSTALL_DIR_H)
endif
ifeq ($(KVER),)
INSTALL_DIR := /lib/modules/$(shell uname -r)/extra
else
INSTALL_DIR := /lib/modules/$(KVER)/extra
endif
INSTALL_DIR_H := /usr/local/include/scst
EXTRA_CFLAGS += -I$(SCST_INC_DIR) -Wextra -Wno-unused-parameter
+4
View File
@@ -60,7 +60,11 @@ uninstall:
rm -f $(INSTALL_DIR)/scst_*.ko
endif
ifeq ($(KVER),)
INSTALL_DIR := /lib/modules/$(shell uname -r)/extra
else
INSTALL_DIR := /lib/modules/$(KVER)/extra
endif
EXTRA_CFLAGS += -I$(SUBDIRS) -I$(SCST_INC_DIR) -Wextra -Wno-unused-parameter